Solve the following problem using the big M and twophase met
Solve the following problem using the big M and two-phase method:
Max Z=4x1+5x2
x1+2x2>=10
2x1+3x2<=60
x1,x2>=0
Solution
Given that Max Z=4X1+5X2
subject to constraints
X1+2X2>=10
2X1+3X2<=60 and
X1,X2>=0
X1
min
ratio=Xb/X2
Entering =S1,Departing=A1, Key element=2
R1(new)=[R1(old)]/(2)=[R1(old)]*(1/2)
R2(new)=R2(old)-3R1(new)
Min
ratio=Xb/S1
Entering=S1 Departing=S1, Key element=3/2
R2(new)=[R2(old)]/(3/2)=[R2(old)](2/3)
R1(new)=[R1(old)]+[(1/2)R2(new)]
B
Min
Ratio=Xb/X1
Entering=X1 Departing=X1, Key element=2/3
R1(new)=[R1(old)]/(2/3)=[R1(old)](3/2)
R2(new)=[R2(old)]-[(1/3)R1(new)]
Min
Ratio
Since all Cj-Zj<=0
Optimum solution is arrived with value of variables as X1=30
X2=0
Maximize Z=120
Two Phase method
----------------------------
Max Z=4X1+5X2
subject to constraints
X1+2X2>=10
2X1+3X2<=60 and
X1,X2>=0
Phase1
S2
Min
Ratio=Xb/X2
Entering=X2 Departing=A1, Key element=2
R1(new)=[R1(old)]/(2)=[R1(old)](1/2)
R2(new)=[R2(old)]-[(3)R1(new)]
Min
Ratio
Since all CjZj0,
Optimum Solution is arrived with value of variables as :X1=0
X2=5
Maximise Z=0
Phase-2
Min
ratio
Entering=X1 Departing=X1, Key element=2/3
R1(new)=[R1(old)]/(2/3)=[R1(old)](3/2)
R2(new)=[R2(old)]-[(1/3)R1(new)]
| Cj | 4 | 5 | 0 | 0 | -M | |||
| B | Cb | Xb | X1 | X2 | S1 | S2 | A1 | min ratio=Xb/X2 |
| A1 | -M | 10 | 1 | (2) | -1 | 0 | 1 | 10/2=5---> |
| S1 | 0 | 60 | 2 | 3 | 0 | 1 | 0 | 60/2=30 |
| Z=0 | Zj | -M | -2M | M | 0 | -M | ||
| Cj-Zj | M+4 | 2M+5 | -M | 0 | 0 |


