5 Simplex - Introduction
5 Simplex - Introduction
Programming
Problems:
The Simplex Method
Wyndor Glass Co. Problem
•Constraint boundary
•corner-point solutions
Steps:
• Initialization
• Optimality test
• Iteration 1
• Iteration 2
• ……..
6 Key Solution Concepts of Simplex
1. Focuses solely on CPF solutions. For any problem with at least one
optimal solution, finding one requires only finding a best CPF
solution
2. The simplex method is an iterative algorithm (a systematic solution
procedure that keeps repeating a fixed series of steps, called an
iteration, until a desired result has been obtained) with the following
structure
6 Key Solution Concepts of Simplex
3. Whenever possible, the initialization of the simplex method chooses
the origin (all decision variables equal to zero) to be the initial CPF
solution. When there are too many decision variables to find an
initial CPF solution graphically, this choice eliminates the need to
use algebraic procedures to find and solve for an initial CPF solution.
4. Given a CPF solution, it is much quicker computationally to gather
information about its adjacent CPF solutions than about other CPF
solutions. Therefore, each time the simplex method performs an
iteration to move from the current CPF solution to a better one, it
always chooses a CPF solution that is adjacent to the current one. No
other CPF solutions are considered. Consequently, the entire path
followed to eventually reach an optimal solution is along the edges of
the feasible region.
6 Key Solution Concepts of Simplex
5. After the current CPF solution is identified, the simplex method examines each
of the edges of the feasible region that emanate from this CPF solution. Each of
these edges leads to an adjacent CPF solution at the other end, but the simplex
method does not even take the time to solve for the adjacent CPF solution.
Instead, it simply identifies the rate of improvement in Z that would be
obtained by moving along the edge. Among the edges with a positive rate of
improvement in Z, it then chooses to move along the one with the largest rate of
improvement in Z. The iteration is completed by first solving for the adjacent
CPF solution at the other end of this one edge and then relabeling this
adjacent.
6. Solution concept 5 describes how the simplex method examines each of the
edges of the feasible region that emanate from the current CPF solution. This
examination of an edge leads to quickly identifying the rate of improvement in
Z that would be obtained by moving along the edge toward the adjacent CPF
solution at the other end. A positive rate of improvement in Z implies that the
adjacent CPF solution is better than the current CPF solution, whereas a
negative rate of improvement in Z implies that the adjacent CPF solution is
worse. Therefore, the optimality test consists simply of checking whether any of
the edges give a positive rate of improvement in Z. If none do, then the current
CPF solution is optimal.
Setting Up the Simplex Method
▪ Simplex follows algebraic procedures (simplex- an algorithm)
▪ The algebraic procedure is based on solving systems of equations
▪ Equations? – converting those functional inequality constraints into
equivalent equality constraints
▪ Oneadditional trick to follow: Adding slack variables during these
conversations
▪ Thisleads to: original form of LP model to equivalent augmented form of
the model
Setting Up the Simplex Method
(0, 6) (0, 6, 4, 0, 6)
Basic Feasible
(4, 0) (4, 0, 0, 12, 6)
(BF) solutions
(2, 6) (2, 6, 2, 0, 0)
(4, 3) (4, 3, 0, 6, 0)
(0, 6) (0, 6, 4, 0, 6)
(2, 6) (2, 6, 2, 0, 0)
(4, 3) (4, 3, 0, 6, 0)
(0, 6) (0, 6, 4, 0, 6)
(2, 6) (2, 6, 2, 0, 0)
(4, 3) (4, 3, 0, 6, 0)
Summary
• At any iteration of the simplex method, step 2 uses the
minimum ratio test to determine
• which basic variable drops to zero first as the entering
basic variable is increased.
• Decreasing this basic variable to zero will convert it to
a nonbasic variable for the next BF solution.
• Therefore, this variable is called the leaving basic
variable for the current iteration (because it is leaving
the basis)
The Algebra of the Simplex
Method
Solving for the New BF Solution (Step 3 of an Iteration)
last touch of an iteration
0 0 0
0 0 0
0 0 0
0 0 0
Entering Leaving
Basic Var Basic Var
0 0 0
0 0 0
0 0 0
0 0 0
Entering Leaving
Basic Var Basic Var
End of Iteration 1
End of Iteration 1
Entering Leaving
Basic Var Basic Var
The Algebra of the Simplex
Method
Optimality Test for the New BF Solution( Last Step of an
Iteration)
End of Iteration 2
Minimum ratio
=4/1=4
=--
=6/3=2
THE SIMPLEX METHOD IN TABULAR FORM
Iteration 0, 1, 2 in one frame