Lect 8 Simplex Method - 1
Lect 8 Simplex Method - 1
Lect 8 Simplex Method - 1
Introduction:
The geometric method of solving linear programming problems presented before.
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?
We use an algebraic method called the simplex method, which was developed by
George B. DANTZIG (1914-2005) in 1947 while on assignment with the U.S.
Department of the air force.
Linear Programming Simplex method -I
Motivation of Simplex method
Solution of a LPP, if exists, lies at one of the vertices of the
feasible region.
All the basic solutions can be investigated one-by-one to
pick up the optimal solution.
For 10 equations with 15 variables there exists
15
C10 3003 basic feasible solutions!
Too large number to investigate one-by-one.
This can be overcome by simplex method
General procedure of simplex method
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 x 6 4
x1 , x 2 , x3 , x 4 , x5 , x6 0
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
1 1 22
Z 0 x1 0 x 2 0 x3 1x 4 x5 x 6 Z
3 3 3
1 1 1
x3 0 x1 0 x 2 1x3 x 4 x5 x 6 1
4 8 8
1 1 5 14
x1 1x1 0 x 2 0 x3 x 4 x5 x6
6 36 36 9
1 7 1 8
x2 0 x1 1x 2 0 x3 x 4 x5 x6
6 36 36 9
Simplex Algorithm …contd.
The basic solution of above canonical form is
14 8 22
x1 , x 2 , 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
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 x 6 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.