D1 5.4 - Two-stage Simplex and big-M methods
Lower-bound and equality constraints may need temporary artificial variables before a feasible basis is available. You will use two-stage Simplex and big-M for maximisation and minimisation, remove artificial variables correctly and interpret parameterised final tableaux (D1 5.4).
A feasible basis is a starting point, not the optimum
For , , , a first stage finds with every artificial variable zero. Has it already optimised ?
It has found a genuine feasible plan, but feasibility and optimisation answer different questions. This same plan will turn out to be neither the maximum nor the minimum of that expression.
You already know
Subtract surplus from a row and add an artificial variable if an initial basic column is needed; an equality may need an artificial variable without surplus. Make right-hand sides non-negative first. Original feasibility requires all artificials to vanish. Ordinary Simplex uses a canonical feasible basis and exact row operations.
For the opening constraints, write
Here is surplus, slack, and artificial. The computational starting basis is , with . It is not an original feasible plan.
First-stage objective
In the two-stage convention used here, maximise . Since each artificial variable is non-negative, . If its maximum is , every artificial variable is zero and an original feasible basis can be obtained. If its maximum is negative, the original constraints are infeasible.
For example, , , , gives . Since and , . Thus the best is , attained at . No later optimisation can fix the incompatible original bounds.
An equality uses the same principle: may start as . It has no surplus term, and reaching restores the exact equality.
[DIAGRAM: asset_name: Two-stage Simplex separates feasibility from optimisation; asset_slug: 9fm0-d1-179-two-stage-flow; caption: A zero first-stage optimum permits the original objective to be restored; description: A left-to-right flow begins with adding artificial basic variables and then maximising W equal to minus the sum of artificial variables. A branch with maximum W below zero leads to original problem infeasible. A branch with maximum W zero leads to removing artificials and restoring the original objective, then to stage two optimising that objective. All arrows are full-opacity grey and the stage-two route is sage.]

Key idea
Stage I asks whether the constraints can be satisfied without artificial help. Stage II optimises the original objective from a genuine feasible basis. A zero value of does not certify an original optimum.
Read the auxiliary objective as a feasibility certificate.
Find feasibility first, then restore the original objective
Use ordinary maximisation pivots on the auxiliary objective, then rebuild a canonical row for the original objective.
Two-stage Simplex
- Form non-negative slack, surplus and artificial variables with an initial feasible augmented basis.
- Set . Eliminate basic artificial variables from its row before pivoting.
- Maximise by Simplex. A negative optimum means the original problem is infeasible; an optimum zero permits Stage II.
- Remove artificials from the basis and delete their columns and the row. Restore the original objective, converting minimisation to maximisation if needed.
- Eliminate every current basic variable from that objective row, then continue Simplex and interpret the original result.
Not in the formula booklet: learn it.
An artificial variable can remain basic at value zero when Stage I ends. Pivot it out using a non-zero non-artificial non-basic coefficient in its zero-Value row. This keeps right-hand sides feasible. If that row has no such coefficient, it is redundant after artificials are set to zero and can be removed. For example, permits a pivot on to make basic; a row consisting only of is removed. Do not delete a non-redundant constraint merely because its artificial value is zero.
Worked example 1: a maximisation after feasibility
Question. Use two-stage Simplex to maximise , subject to , , .
Plan. First maximise , then remove and restore a canonical row for .
The augmented constraints are those above. From , subtract the first constraint to eliminate basic :
| b.v. | Value | |||||
|---|---|---|---|---|---|---|
Choose from the tied entering columns. Ratios select row ; leaves. Use , :
| b.v. | Value | |||||
|---|---|---|---|---|---|---|
Stage I has optimum , with non-basic . Delete its column and the row. Restore ; add to eliminate basic :
| b.v. | Value | ||||
|---|---|---|---|---|---|
Enter surplus : only row has a positive entry, giving ratio . Use , , and relabel row :
| b.v. | Value | ||||
|---|---|---|---|---|---|
Why this step? Restoring the raw objective is insufficient: the current basic must have zero coefficient in its row. A surplus variable can enter just like any other non-basic variable.
Answer. Set : , maximum .
Check. The first constraint has surplus , the second is tight, and . The Stage I point had objective , so finding feasibility did not finish maximisation.
Worked example 2 changes only the required direction of optimisation of , from maximum to minimum. Stage I is unchanged; Stage II must use a different objective.
Worked example 2: the same feasible start, a minimum instead
Question. Use two-stage Simplex to minimise under the same constraints.
Plan. Repeat the auxiliary feasibility stage, then maximise .
The first-stage initial tableau is
| b.v. | Value | |||||
|---|---|---|---|---|---|---|
Enter , using ratios , and apply , :
| b.v. | Value | |||||
|---|---|---|---|---|---|---|
Remove the non-basic artificial column and . The original converted row is . Apply :
| b.v. | Value | ||||
|---|---|---|---|---|---|
Enter . Ratios select row . Use , :
| b.v. | Value | ||||
|---|---|---|---|---|---|
Why this step? The auxiliary objective does not depend on whether the original question asks for a maximum or minimum. The restored objective does, so its signs must be changed before Stage II.
Answer. , maximum , hence minimum .
Check. Both original constraints hold with equality. Since , the original cost satisfies .
An optimum in a feasible Stage II tableau follows the ordinary Simplex tests, including the checks for unbounded directions or alternative optimal solutions. The extra work was obtaining a genuine basis and the correct restored row.
Watch out
Wrong: stop as soon as , or replace the auxiliary row by an unreduced original row containing basic-variable coefficients. Right: clean up the artificial basis, restore the original objective and eliminate every current basic variable before continuing.
Change only the original cost's coefficient in the next check.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account