In This Presentation We Illustrate The Ideas Developed in The Previous Presentation With Two More Problems
In This Presentation We Illustrate The Ideas Developed in The Previous Presentation With Two More Problems
1
2 x1 2 x2 x3 2
2
3
4 x1 2 x2 x3 3
2
1
x1 2 x2 x3 1
2
x1 , x2 , x3 0
x1
x2
x3
x4
x5
x6
Sol
-6
-1
-2
x4
1/2
x5
-4
-2
-3/2
x6
1/2
x1
x2
x3
x4
x5
x6
x5
x3
-2
x1
-1
Sol
0
0
0
1
0
0
1
0
1/ 2
0
Basic Matrix is B 1 3 / 2
0 1/ 2
4
1
1 1
1
B 2 0
1 0
2
4
Its inverse is
1 1
1
B A2 2 0
1 0
2
4
4
4
B b
1 1
2 0
1 0
2
4
2
3
7
0
1
0 2 6 4 c2 8 1 7
0
1
cB B b 0 2 6 0 6
1
x1
x2
x3
x4
x5
x6
Sol
x5
x3
-2
x1
-1
x1 3 x2 2 x3 20
x1 5 x2
10
x1 , x2 , x3 0
We shall apply the big M method. Thus the
modified problem is:
Modified LPP:
Maximize z 2 x1 4 x2 3 x3 M R1 M R2
Subject to
x1 3 x2 2 x3 R1
x1 5 x2
20
s2 R2 10
x1 , x2 , x3 , s2 , R1 , R2 0
s2 is a surplus variable. R1, R2 are artificial
variables.
x1
s2
x1
x2
x3
R1
s2
R2
Sol
1 0
B
1 1
And its inverse is B
1 0
1 1
1
0
1
B A1
1 1 1
1
0 ,
1
0
3
B A2
1 1 5
1
0
2
B A3
1 1 0
3
2 ,
2
2 ,
1
0
1
B A4
1 1 0
1
1 ,
1
0
B A5
1 1
0
1 ,
0
1
1
0
0
B A6
1 1 1
0
1
1 0
B b
1 1
1
20
10
20
10
3
z2 c2 cB B A2 c2 2 0 4 2
2
1
z3 c3 cB B A3 c3
1
2
2 0 2 3
z4 c4 cB B A4 c4 2 0 ( M )
1
M 2
z5 c5 cB B A5 c5
1
0
2 0 1 0 0
0
z6 c6 cB B A6 c6 2 0 ( M )
1
1
M
Finally the new z-value is
20
1
cB B b 2 0 40
10
Basic
x1
x2
x3
R1
s2
R2
Sol
M+2 0
40
x1
20
s2
-2
-1
10