Professional Documents
Culture Documents
za+ b=2
x+ c=10
3 x+2 z +d=20
2 x + y e+ f =14
Slack variables: c,d
Artificial variables: b,f
Surplus variables: a,e
Starting basic variables: b,c,d,f
Starting non-basic variables: x,y,z,a,e
Starting Simplex table:
Basic P x y z a b c d e f RHS
-1 6 -2 -7 0 M 0 0 0 M 0
b 0 0 0 1 -1 1 0 0 0 0 2
c 0 1 0 0 0 0 1 0 0 0 10
d 0 3 0 2 0 0 0 1 0 0 20
f 0 2 1 0 0 0 0 0 -1 1 14
Basic P x y z a b c d e f RHS
-1 6-2M -2-M -7-M M 0 0 0 M 0 -16M
b 0 0 0 1 -1 1 0 0 0 0 2
c 0 1 0 0 0 0 1 0 0 0 10
d 0 3 0 2 0 0 0 1 0 0 20
f 0 2 1 0 0 0 0 0 -1 1 14
Factory| 1 2 3 4 Supply:
Market
A (4) (3) (5) (7) 400
B (3) (6) (5) (3) 300
C (8) (6) (3) (4) 400
Demand: 200 100 300 200
( )
4 3 5 7
c ij = 3 6 5 3 ; S i={ 400,300,400 } ; D j ={200,100,300,200 }
8 6 3 4
3 4
Min Z= cij x ij
i=1 j=1
subject
4
x ij S i , for i=1,2,3 ;
j=1
x ij 0 for all i , j ;
Solving the above LP in excel sheet QTM-2 Quiz 1, we get the
following value for x:
( )
100 100 0 0
x= 100 0 0 200
0 0 300 0
3 4
The cost of trasportation Z= c ij x ij=2500
i =1 j=1
(b)How does the solution change if the demand for Market 2 goes from
100 to 150?
Changing the market 2 demand to 150, the new value of x:
( )
100 150 0 0
x= 100 0 0 200
0 0 300 0
Line 3: 6 l 3+ 7 r 240
LP problem:
Max P=2l 1 +3 r 1 +5 l 2+10 r 2 +6 l 3 +7 r 2150
subject to:
l i , r i 30, i=1,2,3 ;
l 1+l 2 +l 3 300 ;
r 1 +r 2 +r 3 400;
r il i 40,i=1,2,3 ;
Solving the LP in excel, using Solver. Solver uses the Simplex LP method. We
also choose to generate a sensitivity report.
Maximum earnings: 4730
l 1=30 ; l 2=240 ; l 3=30 ; r 1=50 ; r 2=280 ; r 3 =70
From the sensitivity report, the constraint (l 1+ l2 +l 3 ) 300 has a shadow price
of 12.