Professional Documents
Culture Documents
Point C:
(-4)(0.5X1 + X2 = 81)
1.2X1 + 4X2 = 240
X2 = 81 0.5X1
1.2X1 + 4(81 0.5X1) = 240
1.2X1 + 324 - 2X1 = 240
= -84
-0.8
-0.8
X1 = 105
Z = 200X1 + 500X2
= 200(105) + 500(28.5)
= 21,000 + 14,250
Z = 35,250
-0.8X1 = -84
-0.8
-0.8
X1 = 105
X2 = 81 0.5X1
= 81 0.5(105)
= 81 52.5
X2 = 28.5
X2
150
100
Techniques to Determine
Which Extreme Point
Gives the Optimal Solution
1. Use the objective function to single out the
extreme point that is the optimum.
2. Find the coordinates of the extreme points and
compute the profit associated with each
0.5X1 + X2 = 81
X2 = 40
50
A
50
100
150 D 200
X1
Point A
150
Subject to:
X1 = 0
X2 = 40
X2
X2 < 40
Z = 200X1 + 500X2
= 200(0) + 500(40)
= 20,000
0.5X1 + X2 < 81
100
X1 ,
X2 > 0
0.5X1 + X2 = 81
X2 = 40
50
A
50
100
150 D 200
X1
Point B
X2
150
100
X2 < 40
0.5X1 + X2 < 81
X1 ,
1.2X1 = 80
1.2
50
A
Subject to:
X2 > 0
0.5X1 + X2 = 81
1.2
X2 = 40
X1 = 66.6
Z = 200X1 + 500X
C2
= 200(66.6) + 500(40)
= 33,333.33
50
100
150 D 200
X1
Point D
X2
150
X2 < 40
0.5X1 = 81
0.5
0.5X1 + X2 < 81
0.5
X1 = 162
100
50
A
Subject to:
0.5X1 + X2 = 81
X2 = 0
X1 ,
Z = 200X1 + 500X2
= 200(162) + 500(0)
= 32,400
B
50
100
X2 > 0
0.5X1 + X2 = 81
X2 = 40
150 D 200
X1
Sample Problem # 2
The Reed Pump Co. manufactures pumping apparatus for the
petroleum industry. It is trying to determine an optimal production
and distribution plan for its new submersible pump. They have one
main plant and two regional warehouses. Warehouse 1 has demand
for at least 80 pumps this month, and warehouse 2 has demand for
at least 100 units. The following are the combined costs of producing
and shipping to the two warehouses:
Cost of Producing & Shipping
From Plant
Warehouse 1
Warehouse 2
P240
P280
X2
X1 = 80
500
80
X2 >
100
X1 + X2 >
300
400
300
200
X2 = 100
100
100
200
300
400
X1 + X2 = 300
500
X1
5
X1 = 400
if X1 = 0
4X2 = 2,000
4
4
X2 = 500
80
X2 >
100
X1 + X2 >
300
X2
X1 = 80
500
80
X2 >
100
X1 + X2 >
300
400
300
200
X2 = 100
100
100
200
300
400
X1 + X2 = 300
500
X1
X2
X1 = 80
500
400
300
200
80
X2 >
100
X1 + X2 >
300
A
C
100
X1 >
X2 = 100
D
100
200
300
400
X1 + X2 = 300
500
X1
240X1 = 100,000
X1 >
80
240
240
X1 = 416.67
X2 >
100
X1 + X2 >
300
if X1 = 0
280X2 = 100,000
280
280
X2 = 357.14
X2
X1 = 80
500
400
300
200
80
X2 >
100
X1 + X2 >
300
A
C
100
X1 >
X2 = 100
D
100
200
300
400
X1 + X2 = 300
500
X1
240X1 = 50,000
X1 >
80
240
240
X1 = 208.33
X2 >
100
X1 + X2 >
300
if X1 = 0
280X2 = 50,000
280
280
X2 = 178.57
X2
X1 = 80
500
400
300
200
80
X2 >
100
X1 + X2 >
300
A
C
100
X1 >
X2 = 100
D
100
200
300
400
X1 + X2 = 300
500
X1
X2
X1 = 80
Point D
500
X1 + X2 = 300
X2 = 100
X1 + 100 = 300
X1= 300 - 100
X1= 200
300
100
Subject to:
400
200
X2 >
100
X1 + X2 >
300
Z = 240X1 + 280X2
= 240(200) + 280(100) C
= 48,000 + 28,000
X2 = 100
Z = 76,000
X1 >
100
200
300
400
X1 + X2 = 300
500
X1
X2
Point XA1 = 80
500
X1 + X2 = 300
X1 = 80
80 + X2 = 300
X2= 300 - 80
X2= 220
300
100
Subject to:
400
200
X2 >
100
X1 + X2 >
300
Z = 240X1 + 280X2
= 240(80) + 280(220) C
= 19,200 + 61,600
X2 = 100
Z = 80,800
X1 >
100
200
300
400
X1 + X2 = 300
500
X1
X2
Point XB1 = 80
500
300
100
Subject to:
400
200
80
X2 >
100
X1 + X2 >
300
4
X2 = 400
Z = 240X1 + 280X2
X2 = 100
= 240(80) + 280(400)
= 19,200 + 112,000
100
X1 >
200
Z = 131,200
300
400
X1 + X2 = 300
500
X1
X2
Point XC1 = 80
500
400
300
200
100
Subject to:
80
X2 >
100
X1 + X2 >
300
5
X1 = 320
Z = 240X1 + 280X2
X2 = 100
= 240(320) + 280(100)
= 76,800 + 28,000
100
X1 >
200
Z = 104,800
300
400
X1 + X2 = 300
500
X1
X2
X2 < 40
150
100
X2 > 0
0.5X1 + X2 = 81
X2 = 40
50
A
50
100
150 D 200
X1
5X1 X2 = 10
X2
Max. Z = X1 + X2
Subject to:
5X1 - X2 > 10
3X1 - 2X2 < 9
X1 , X2 > 0
5
4
3
2
1
0
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
3X1 2X2 = 9
1 2 3 4 5
X1
X2
Min. Z = X1 + X2
Subject to:
X1 - X2 > 1
-X1 + X2 > 1
X1 , X2 > 0
3
2
1
-3 -2 -1
-2
-3
1 2 3
X1
Solving
Linear Programming Problems
Using the Simplex Method
Sample Problem
In Standard Form
Let : X1 = number of
power amplifiers
X2 = number of
preamplifiers
Max. Z = 200X1 + 500X2
Subject to:
X2 < 40
1.2X1 + 4X2 < 240
0.5X1 + X2 < 81
X1 ,
X2 > 0
Sample Problem
In Standard Form
Let : X1 = number of
power amplifiers
X2 = number of
preamplifiers
Max. Z = 200X1 + 500X2
Subject to:
X2 < 40
0.5X1 + X2 < 81
X1 ,
X2 > 0
Sample Problem
In Standard Form
Let : X1 = number of
power amplifiers
X2 = number of
preamplifiers
Max. Z = 200X1 + 500X2
Subject to:
X2 < 40
0.5X1 + X2 < 81
X1 ,
X2 > 0
Cj
C1
CB
Basic
X1
Variables
0
0
.
.
.
0
S1
S2
.
.
.
Sm
Zj
Cj - Zj
C2 . . . Cn
X2 . . . Xn
Slack Variables
0 ... 0
S2 . . . Sm Solution
Values
0 ... 0
1 ... 0
.
.
.
.
.
.
0 ... 1
b1
b2
.
.
.
bm
Sample Problem
In Standard Form
Let : X1 = number of
power amplifiers
X2 = number of
preamplifiers
Max. Z = 200X1 + 500X2
Subject to:
X2 < 40
0.5X1 + X2 < 81
X1 ,
X2 > 0
Tableau 1
Cj
200
500
CB
Basic
Variables
X1
X2
S1
S2
S3
Solution
Values
S1
40
S2
1.2
240
S3
0.5
81
Zj
Cj - Zj
200
500