LPP 3
LPP 3
(Tabular Form)
A method better than Algebraic
Maximize,
Constraints:
Non-negativity restrictions:
Simplex solution
Maximize,
Constraints:
Non-negativity restrictions:
Simplex solution
Maximize,
Constraints:
Non-negativity restrictions:
✔ Total number of variables, n=4 and number of equations are, m=2.
✔ Therefore, number of basic variables is (n-m)=2, number of basic variables is
m=2.
✔ Non-basic variables:
✔ Basic variables;
First Iteration
( Initial basic feasible solution)
Cj 6 5 0 0
C.B.V B.V. x1 x2 s1 s2 RHS θ
.
0 S1 1 1 1 0 5 5
0 S2 3 2 0 1 12 4
Zj 0 0 0 0 0
Cj-Zj 6 5 0 0
Simplex Method- Tabular Form
First Iteration
Cj 6 5 0 0
C.B.V. B.V. x1 x2 s1 s2 RHS θ
0 S1 1 1 1 0 5 5
0 S2 3 2 0 1 12 4
Zj 0 0 0 0 0
Cj-Zj 6 5 0 0
Second Iteration
0 S1 0 1/3 1 -1/3 1 3
6 x1 1 2/3 0 1/3 4 6
Zj 6 4 0 2 24
Cj-Zj 0 1 0 -2
First Iteration
Cj 6 5 0 0
C.B.V. B.V. x1 x2 s1 s2 RHS θ
0 S1 1 1 1 0 5 5
0 S2 3 2 0 1 12 4
Zj 0 0 0 0 0
Cj-Zj 6 5 0 0
Second Iteration
0 S1 0 1/3 1 -1/3 1 3
6 x1 1 2/3 0 1/3 4 6
Zj 6 4 0 2 24
Cj-Zj 0 1 0 -2
Third Iteration
5 x2 0 1 3 -1 3
6 x1 1 0 -2 1 2
Zj 6 5 3 1 27
Cj-Zj 0 0 -3 -1
Simplex Method
Important stages in the simplex method
• Initialization
– Algorithm starts with a basic feasible solution
• Iteration
– Algorithm goes through some intermediate iterations.
• Termination
– The algorithm terminates when there is no entering variable and it
provides optimal solution.
Issues with Simplex Method
Maximize,
Constraints:
Non-negativity restrictions:
Big M- Method
Maximize,
Constraints:
Non-negativity restrictions:
Simplex Method- Tabular Form
First Iteration
( Initial basic feasible solution)
Cj 3 -1 0 -M 0 0
C.B.V B.V. x1 x2 s1 A1 s2 s3 RHS θ
.
-M A1 2 1 -1 1 0 0 2 1
0 S2 1 3 0 0 1 0 3 3
0 S3 0 1 0 0 0 1 4 -
Zj -2M -M M -M 0 0 -
-M A1 2 1 -1 1 0 0 2 1
0 S2 1 3 0 0 1 0 3 3
0 S3 0 1 0 0 0 1 4 -
Zj -2M -M M -M 0 0 -
Cj-Zj 3+2M -1+M -M 0 0 0
Second Iteration
Cj 3 -1 0 -M 0 0
C.B.V. B.V. x1 x2 s1 A1 s2 s3 RHS θ
3 x1 1 3 0 0 1 0 3
0 S1 0 5 1 -1 1 0 4
0 S3 0 1 0 0 0 1 4
Zj 3 9 0 0 3 0 9
Cj-Zj 0 -10 0 -M -3 0
Simplex Method- Tabular Form
Final Solution
Big M-Method