3-Graphical Motivation For The Simplex Method
3-Graphical Motivation For The Simplex Method
simplex method
Recap from last lecture
• max 𝑧𝑧 = 5𝑥𝑥1 + 4𝑥𝑥2
Subject to:
6𝑥𝑥1 + 4𝑥𝑥2 ≤ 24
𝑥𝑥1 + 2𝑥𝑥2 ≤ 6
−𝑥𝑥1 + 𝑥𝑥2 ≤ 1
𝑥𝑥2 ≤ 2
𝑥𝑥1 , 𝑥𝑥2 ≥ 0
• Step 1. Draw the constraints and
define the feasible region.
• Step 2a. Draw the gradient
• Step 2b. Move the isoprofit line
parallel to itself in the direction
indicated by the gradient.
• Step 3c. Stop when the isoprofit line
crosses the feasible region at
boundary points only.
• Step 3d. Find the optimal solution.
Remarks
• A feasible region is :
• Unbounded if the feasible region is infinite
• Bounded if the feasible region is finite
• Infeasible if the feasible region is empty
• We then determine the leaving or the blocking variable. This is based on a “minimum ration test.” The
blocking variable is the basic variable having the minimum ratio between the right hand side (RHS) and the
corresponding cell in the entering variable column. See the Ratio column in the above tableau. This implies
that S2 leaves the basis.
• With the new basic and nonbasic variables we need to develop a new simplex tableau (which corresponds to
the new corner point the simplex moved to; in our case the new corner point is A).
• The new tableau is filled by utilizing the element at the intersection of the entering variable column and the
leaving variable row as pivot element in Gauss-Jordan raw operations
• If ark is the pivot element (in our example, ark = a33 = 4), then rows ai, are rewritten in the new tableau as
′ ar / ark ⇒ a=
a=
r
′ arj / ark , ∀ j
rj