Simplex Method Is The Most Popular Method Used For The Solution of Linear Programming Problems (LPP)
Simplex Method Is The Most Popular Method Used For The Solution of Linear Programming Problems (LPP)
The graphical method is useful only for problems involving two decision
variables and relatively few problem constraints.
Simplex method is the most popular method used for the solution of
Linear Programming Problems (LPP).
What happens when we need more decision variables and more problem constraints?
Step-1
Write the Step 4
Step 2 Step-5
standard Are there
Are there Select the
maximization any Step-3 any positive
pivot
problem in Select elements in
negative element
canonical form, the the pivot
indicators and
introduce slack column
in the pivot perform
variables to form above the
bottom/top column dashed line? the pivot
the initial system, row?
operation
and write the
initial tableau.
STOP
STOP The linear programming problem has
The optimal solution has been found. no optimal solution
Maximize Z 4 x1 x 2 2 x3
Subject to 2 x1 x 2 2 x3 6
x1 4 x 2 2 x3 0
5 x1 2 x 2 2 x3 4
x1 , x 2 , x3 0
Simplex Algorithm…contd.
LPP is transformed to its standard form
Maximize Z 4 x1 x 2 2 x3
Subject to 2 x1 x 2 2 x3 x 4 6
x1 4 x 2 2 x3 x5 0
5 x1 2 x 2 2 x3 x6 4
x1 , x 2 , x3 , x 4 , x5 , x6 0
b4 6 b5 0 b6 4 As, b5
3, 0, 0.8
c41 2 c51 1 c61 5 c51
is minimum, r is 5. Thus, x5 is to be exited.c51 ( = 1) is
considered as pivotal element and x5 is replaced by x1 in the
basis.
Thus a new canonical form is obtained through pivotal operation.
Simplex Algorithm …contd.
After the pivotal operation, the canonical form obtained as
follows
Z 0 x1 15 x 2 6 x3 0 x 4 4 x5 0 x6 Z 0
x4 0 x1 9 x 2 2 x3 1x 4 2 x5 0 x6 6
x1 1x1 4 x 2 2 x3 0 x 4 1x5 0 x6 0
x6 0 x1 18 x 2 12 x3 0 x 4 5 x5 1x6 4
Exiting variable
x4 is the exiting variable.c43 ( = 4) is considered as pivotal
element and x4 is replaced by x3 in the basis.
Thus another canonical form is obtained.
Simplex Algorithm …contd.
After the pivotal operation, the canonical form obtained as
follows
Z 1 1
0 x1 0 x 2 0 x3 1x 4 x5 x6 Z
22
3 3 3
x3 1 1
0 x1 0 x 2 1x3 x 4 x5 x6 1
1
4 8 8
x1 1
1x1 0 x 2 0 x3 x 4
1
x5
5
x6
14
6 36 36 9
x2 1
0 x1 1x 2 0 x3 x 4
7
x5
1
x6
8
6 36 36 9
Simplex Algorithm …contd.
The basic solution of above canonical form is
14 8 22
x1 , x2 , x3 1, x 4 0, x5 0, x6 0, and Z
9 9 3
Note that all the cost coefficients are nonnegative. Thus
the optimum solution is achieved.
Optimum solution is
22 14 8
Z , x1 , x 2 , x3 1
3 9 9
Construction of Simplex Table:
General notes
Calculations shown till now can be presented in a tabular
form, known as simplex table.
After preparing the canonical form of the given LPP, first
simplex table is constructed.
After completing each simplex table (iteration), few steps
(somewhat mechanical and easy to remember) are
followed.
Logically, these steps are exactly similar to the procedure
described earlier.
Construction of Simplex Table:
Basic steps
Check for optimum solution:
4 x1 x 2 2 x3 0 x 4 0 x5 0 x6 Z 0
2 x1 x 2 2 x3 1x 4 0 x5 0 x6 6
x1 4 x 2 2 x3 0 x 4 1x5 0 x6 0
5 x1 2 x 2 2 x3 0 x 4 0 x5 1x6 4
Least negative Cost Coefficient
In first row
Least Ratio
Elementary operations
1. X4-2X5
2. X6-5X5
3. Z+4X4
Final results
Simplex Table
All the elements in the first row (i.e., Z row), at iteration
4, are nonnegative. Thus, optimum solution is achieved.
Optimum solution is
22 14 8
Z , x1 , x 2 , x3 1
3 9 9
Construction of Simplex Table:
A note
It can be noted that at any iteration the following two
points must be satisfied:
1.All the basic variables (other than Z) have a coefficient
of zero in the Z row.
2.Coefficients of basic variables in other rows constitute a
unit matrix.