



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Brady Hunsaker
September 11, 2006
() IE 2082: Simplex Algorithms 2 September 11, 2006 1 / 12
We have ignored the first step in the general method: Find an initial solution. For the simplex algorithm we need a bfs to get started with pivots. There are two main approaches: Solve an auxiliary LP to find a bfs “Relax” the problem so finding a bfs is easy
This is called the two-phase method. Phase 1 finds a bfs and phase 2 finds the optimal bfs. We’ve already seen how phase 2 works. Phase 1 is based on an auxiliary LP in which an additional variable x 0 is subtracted from each constraint and the objective is min x 0.
min x 0 s.t.
∑n j=1 aij^ xj^ −^ x^0 ≤^ bi^ i^ = 1,... ,^ m xj ≥ 0 j = 0,... , n
Why doesn’t this LP have its own feasibility problem? How does this LP provide a bfs for the original LP? What if there is no bfs for the original LP?
() IE 2082: Simplex Algorithms 2 September 11, 2006 3 / 12
When performing the ratio test, what if no basic variables satisfy ¯akl > 0? An equivalent condition is that maxl∈B ¯ab ¯kll ≤ 0. In this case we can increase xk as much as we like, constantly adjusting the basic variables as necessary without ever becoming infeasible. This means that there is no upper bound on the objective value of feasible solutions. We say that the instance is unbounded. Issue: is it possible that an LP is unbounded but that this condition will not be detected?
Basic solutions correspond to points where m or more constraints meet. Basic feasible solutions correspond to extreme points of the feasible region. The objective function may be thought of as a direction. Which feasible point is the furthest in that direction?
() IE 2082: Simplex Algorithms 2 September 11, 2006 7 / 12
Which parts of a dictionary do we actually use? The reduced costs ¯cj. The current basic values b¯i. The matrix values ¯aik only for the column of the entering variable k. By using matrix notation, we can see how to avoid computing the entire dictionary: we’ll only compute what we need.
We begin with a basis B. We abuse notation and use B for the set of basic variables as well as the submatrix of columns of A that correspond to the basic variables. (The text uses slightly different B’s to differentiate.) Then the corresponding dictionary can be written:
ζ = cBT B−^1 b + (cNT − cBT B−^1 N)xN xB = B−^1 b − B−^1 NxN
() IE 2082: Simplex Algorithms 2 September 11, 2006 9 / 12
The reduced costs are ¯cNT = cNT − cBT B−^1 N. We may not want to compute all of them. What is the expression for a single reduced cost ¯cj?
¯cj = cj − cBT B−^1 Aj , where Aj is the column of A corresponding to variable j. The one expensive computation is B−^1. In fact, we never compute B−^1. Instead we compute cBT B−^1 by solving the equation pT^ B = cBT for p. This is much easier and the values p can be re-used for each reduced cost. If ¯cN ≤ 0, then the current basis is optimal. Otherwise we have found an entering variable k.