Simplex Method (LINEAR PROGRAMMING)
Simplex Method (LINEAR PROGRAMMING)
Lecture 11
REVISED SIMPLEX METHOD
by
Dr. KUSUM DEEP
Professor
Department of Mathematics
Indian Institute of Technology Roorkee
Roorkee – 247667, Uttaranchal, INDIA
Emails: [email protected], [email protected]
OUTLINE OF THIS TALK
2 0 x4 3 –2 0 1 0 0 –1 10
–M x6 0 1 0 0 –1 1 –2 1
–1 x3 –2 0 1 0 0 0 1 1
3 0 X4 3 0 0 1 –2 2 –5 12
–1 x2 0 1 0 0 –1 1 –2 1
–1 x3 –2 0 1 0 0 0 1 1
1 0 0 1 1
= �0 1 0� �2� = �2�
0 0 1 1 1
The initial Table is completed as:
Entering Pivot
B-1 b variable Column
x4 1 0 0 11 1
x6 0 1 0 3 x3 2
x7 0 0 1 1 1
From Table 1
Entering Pivot
B-1 b variable Column
x4 1 0 0 11 1
x6 0 1 0 3 x3 2
x7 0 0 1 1 1
Minimum ratio test is = min(11/1, 3/2, 1/1) = 1
So, leaving variable is x7 and Pivot is : 1
R1 is replaced by R1 – R3 and
R2 is replaced by R2 – 2R3
Table 2:
B-1 b
x4 1 0 -1 10
x6 0 1 -2 1
x3 0 0 1 1
Simplex multipliers =(π1 π2 π3) = cBB-1
1 0 −1
= (0 −𝑀𝑀 −1) �0 1 −2�
0 0 1
= (0 −𝑀𝑀 2𝑀𝑀 − 1)
𝑐𝑐�1 = 1, 𝑐𝑐�2 = 𝑀𝑀 − 1 and 𝑐𝑐�5 = −𝑀𝑀
Note: Need not calculate 𝑐𝑐�7
as x7 is artificial variable.
𝑐𝑐�2 is most positive,
so entering variable is x2.
���2 = B-1 𝑃𝑃2
The pivot column is: 𝑃𝑃
1 0 −1 −2 −2
= �0 1 −2� � 1 � = � 1 �
0 0 1 0 0
Table 2 is completed as:
Entering Pivot
B-1 b variable Column
x4 1 0 -1 10 -2
x6 0 1 -2 1 x2 1
x3 0 0 1 1 0
1 2 −5
=(0 −1 −1) �0 1 −2�=(0 −1 1)
0 0 1
𝑐𝑐�1 = 1, 𝑐𝑐�3 = −1, i.e. 𝑐𝑐�1 is most positive
so entering variable is x1
�
The pivot column is: 𝑃𝑃1 = B 𝑃𝑃1
-1
1 2 −5 1 3
= �0 1 −2� �−4� = � 0 �
0 0 1 −2 −2
Table 3 is completed as:
Entering Pivot
B-1 b variable Column
x4 1 2 -5 12 3
x6 0 1 -2 1 x1 0
x3 0 0 1 1 -2
Table 4
B-1 b
x1 1/3 2/3 -5/3 4
x2 0 1 -2 1
x3 2/3 4/3 -7/3 9
Simplex multipliers =(π1 π2 π3) = cBB-1
1/3 2/3 −5/3
=(3 −1 −1) � 0 1 −2 �
2/3 4/3 −7/3
=(1/3 −1/3 2/3)
1
𝑐𝑐�4 = 0 - (1/3 −1/3 −2/3) �0� = -1/3
0
0
𝑐𝑐�5 = 0 - (1/3 −1/3 −2/3) �−1� =-1/3
0
Table 4 is optimal.
Solution is:x1=4, x2=1, x3=9 & x4=0, x5=0.
Optimum value is:2
Iter CB Basis B-1 RHS Simplex multipliers
= CB B-1
1 0 x4 1 0 0 11 1 0 0
–M x6 0 1 0 3 (0 –M –M) �0 1 0�
–M x7 0 0 1 1 0 0 1
= (0 –M –M)
2 0 x4 1 0 –1 10 1 0 −1
–M x6 0 1 –2 1 (0 –M –1) �0 1 −2�
0 0 1
–1 x3 0 0 1 1 = (0 –M 2M–1)
3 0 x4 1 2 –5 12 1 2 −5
(0 –1 –1) �0 1 −2�
–1 x2 0 1 –2 1
0 0 1
–1 x3 0 0 1 1 = (0 –1 1)
4 3 x1 1/3 2/3 –5/3 4 1/3 2/3 −5/3
–1 x2 0 1 –2 1 (3 –1 –1) � 0 1 −2 �
–1 x3 2/3 4/3 –7/3 9 2/3 4/3 −7/3
= (1/3 –1/3 2/3)
Advantages of the
Revised Simplex Method
• It needs lesser computations.
Minimize x1 + 2x2 + x3
s. t. 2x1 + x2 + x3 < 2
3x1 + 4x2 + 2x3 > 16
x1 , x2 , x3 > 0.
THANK YOU
2/15/2016 23