Simplex Method: Prepared By: Eng. Sarah Azzam
Simplex Method: Prepared By: Eng. Sarah Azzam
Problem 1
Z=6x1-2x2
2x1-x2 2 x1 4 x1, x2 0
Z=6x1-2x2
We have m constraints where m=2 We have m+n variables where m+n=4 n=2 Therefore we will have m=2 basic variables First Trial choose x1=x2=0
s1=2 , s2=4
Z=6x1-2x2
0 s1 1 0 0 0
0 s2 0 1 0 0 b 2 4 0
x1 2 1 0 6
6 x1 2 1 0 6
-2 x2 -1 0 0 -2
0 s1 1 0 0 0
0 s2 0 1 0 0 b 2 4 0
Pivo t Row
6 x1 1 0 6 0
-2 x2 -1/2 1/2 -3 1
0 s1 1/2 -1/2 3 -3
0 s2 0 1 0 0 b 1 3 6
= b k
6 x1 1 0 6 0
-2 x2 -1/2 1/2 -3 1
0 s1 1/2 -1/2 3 -3
0 s2 0 1 0 0 b 1 3 6
Pivot Row
6 x1 1 0 6 0
-2 x2 0 1 -2 0
0 s1 0 -1 2 -2
No more positive values solution reached s1,s2 are non-basic s1=s2=0 x1,x2 are basic, x1=4 , x2=6 , Zmax=12