Escolar Documentos
Profissional Documentos
Cultura Documentos
Therefore,allthezrowcoefficientsofnonbasicvariablearegreaterthan0.Therefore,Table3isthe
optimalsolution
OptimalsolutionisX
2
=12;X
1
=4;andMaximumprofit=Rs68/
Solution(b):Wecanclearlyseethattheequalityholdsgoodforthefirsttwoconstraints.Hence,these
areactive.OnlythevariableboundconstraintsX
1
0andX
2
0areinactive.
Solution(c)
The coefficient corresponding to X
3
is 39/24. Hence, the unit worth of resource of constraint (1)
is 39/24=13/8. This means if the constraint is changed to X
1
+3X
2
41, the objective function
value increases by 13/8. The coefficient corresponding to X
4
is 1/8. Hence, the unit worth of
resource of constraint (2) is 1/8. This means if the constraint is changed to 3X
1
+X
2
25, the
objective function value increases by 1/8.
Q.2: Solve the following problem using two-phase Simplex method and big M method:
Maximize Z=15A+20B
Subject to
A+2B 10
2A3B6
A+B 6
A0 and B0
Solution:- BY TWO PHASE METHOD
Maximize Z=15A+20B
Subject to
A+2B C+R
1
=10
2A-3B+D=6
A+B E+R
2
=6
A0, B0, C0, D0, E0, R
1
0, R
2
0
where C and E are surplus variable, D is slack variable and R
1
& R
2
are artificial variable
PhaseI
Minimizer=R
1
+R
2
Such that
A+2B C+R
1
=10
2A-3B+D=6
A+B E+R
2
=6
3
Becauseminimumr=0,phase1producesbasicfeasiblesolutionA=2,B=4&D=14.Atthis
pointtheartificialvariablehavecompletedtheirmissionandwecaneliminatetheircolumns
altogetherfromthetableaboveandmoveontophaseII.
PhaseII
Afterdeletingtheartificialelements,wewritetheoriginalproblemas
Maximize Z=15A+20B
Subject to
A+C-2E=2
B-C+E=4
4
-5CA+D +7E=14
A, B, C, D, E 0
The tables associated with phase II are now constructed.
Basic A B C D E Solution Ratio
Z -15 -20 0 0 0 0
D 0 0 -5 1 7 14
B 0 1 -1 0 1 4
A 1 0 1 0 -2 2
To make Z-row consistent, multiply A-row by 15 and B-row by 20 and add in Z-rwo.
Basic A B C D E(Entering) Solution Ratio
Z 0 0 35 0 -11 110
D(Leaving) 0 0 -5 1 7 14 2
B 0 1 -1 0 1 4 4
A 1 0 1 0 -2 2 -1
Pivotelement=7
NowsolutionbyBigMmethod
Maximize Z=15A+20B-MR
1
-M R
2
Subject to
A+2B C+R
1
=10
2A-3B+D=6
A+B E+R
2
=6
A, B, C, D, E, R
1
, R
2
0
LetusconstructthefollowingtablewithR
1
,R
2
andDasBasicvariable
5
Basic A B C R
1
D E R
2
Solution Ratio
Z -15 -20 0 M 0 0 M 0
R
1
1 2 -1 1 0 0 0 10
R
2
1 1 0 0 0 -1 1 6
D 2 -3 0 0 1 0 0 6
MakeZrowconsistent,multiplyR
1
andR
2
rowsbyMandaddtheminZrows.
Basic A B(Entering) C R
1
D E R
2
Solution Ratio
Z -15-2M -20-3M M 0 0 M 0 -16M
R
1
(Leaving) 1 2 -1 1 0 0 0 10 10/2
R
2
1 1 0 0 0 -1 1 6 6/1
D 2 -3 0 0 1 0 0 6 -6/3
ThenexttableisconstructedwithR
1
leavingandBasenteringvariable.
Basic A(Entering) B C R
1
D E R
2
Solution Ratio
Z -5-M/2 0 -10-M/2 10+3M/2 0 M 0 -M+100
B 1/2 1 -1/2 0 0 0 5 10
R
2
(Leaving) 1/2 0 1/2 -1/2 0 -1 1 1 2
D 7/2 0 -3/2 3/2 1 0 0 21 42/7
NowweobservefromabovetablethatthevariableAqualifiesforenteringvariableandR
2
as
leavingvariable.Nowletusconstructthenexttable
Basic A B C R
1
D E(Entering) R
2
Solution Ratio
Z 0 0 -5 5+M/2 0 -20 5+M/2 110
B 0 1 -1 1 0 1 -1 4 4
A 1 0 1 -1 0 -2 2 2 -1
D(Leaving) 0 0 -5 5 1 7 -7 14 2
NowweobservefromabovetablethatthevariableEqualifiesforenteringvariableandDas
leavingvariable.Nowletusconstructthenexttable
Basic A B C R
1
D E R
2
Solution Ratio
Z 0 0 -85/7 85/7+M/2 10/7 0 -5+M/2 130
B 0 1 -2/7 2/7 -1/7 0 0 2 -7
A 1 0 -3/7 3/7 2/7 0 0 6 -42/3
E 0 0 -5/7 5/7 1/7 1 -1 2 -14/5
Nowformtheabovetableitisobservedthatnoneofthevariablefromthebasiccolumnqualifiesfor
theleavingvariable.Hencetheabovetableisoptimum.
TheoptimumsolutionisA=6;B=2;E=2
ThemaximumvalueofZ=130
Q.3: Supposing in an LP problem, two optimal solutions x and y exist, prove that 1
is also an optimum solution, if 0p1.
6
Q.4: Show how the M-method will conclude that the following problem has no feasible solution:
Maximize Z =2A+5B
Subject to 3A+2B6
2A+B 2
A, B0
Solution:-
Maximize
Z=2A+5B-MR
1
Subject to
3A+2B-C+R
1
=6
2A+B +D=2
A, B, C, D, R
1
0
where C is surplus variable, D is slack variable, R
1
is artificial variable and M is the Big Penalty
Letusconstructthetable
Basic A B C D R1 SOLUTION RATIO
Z 2 5 0 0 M 0
R
1
3 2 1 0 1 6
D 2 1 0 1 0 2
MakeZrowconsistentbysubtractingMtimesR
1
rowinZrow.
Table 2
Basic A B S
1
S
2
Solution Ratio
z 2 1 0 1 10
S
1
0 1 1 1/2 25 25
A 1 0 0 1/2 5 infinity
At this stage, we choose B as the entering variable, but there is no ratio to compute, since there is
no positive entry in the column of B. As we start increasing B indefintely, the value of z also
increases indefinitely. Thus, the problem is unbounded.