Big-M / two-phase method (artificial variables)
At a Glance
- Frequency: 5 sub-parts across 5 of 13 years (2018, 2021, 2022, 2023, 2024)
- Priority tier: T2
- Marks (count): 10 (2), 15 (1), 20 (2)
- Average solve time: ~16 min
- Difficulty mix: medium 4, hard 1
- Section: A | Dominant type: computation
Why This Chapter Matters
This atom appears in 5 of the last 13 years and always carries high marks (10–20). The question always involves an LPP with at least one or constraint, making a starting BFS unavailable without artificial variables. Both methods produce identical optima; the choice between them is stylistic. Three of the five questions use Big-M; two use the two-phase method. Mastering the sign conventions for each method — and knowing when to declare optimality — is what separates full-mark answers from partial credit.
Minimum Theory
Why artificials are needed. The simplex method requires a basic feasible solution (BFS) to start. Slack variables provide a BFS for constraints. For or constraints, no obvious non-negative starting basis exists, so artificial variables are appended to create one.
Standard form for a constraint. For (with ): subtract a surplus variable and add an artificial : For an constraint: add only an artificial (no surplus).
Big-M method. Add large penalty per artificial to the objective for minimisation (or for maximisation): Run the standard simplex. If the optimal solution has any , the original problem is infeasible. Once all and all (for min), the solution is optimal.
Sign convention for minimisation (Big-M). The entering variable rule: enter the non-basic variable with the largest positive (or equivalently most negative ). Optimality when all . For a artificial in a minimisation problem, the coefficient of in is always positive at first, driving artificials to leave.
Two-phase method. Split into two LPs:
Phase I: Minimise subject to the constraints (original + artificials). If , the problem is infeasible. If , all artificials are zero; drop the artificial columns.
Phase II: Restore the original objective and run simplex from the Phase I optimal basis (with artificials removed).
Comparison.
| Big-M | Two-phase | |
|---|---|---|
| How many simplex runs | One | Two |
| Risk | Numerical issues if is not chosen large enough | None |
| Exam preference | Faster to set up | Cleaner conceptually |
Both give the same optimal solution; use whichever is asked.
Uniqueness check. At the optimum, if every non-basic variable has a strictly negative (for min), the solution is unique. If any non-basic has , an alternative optimum exists along that edge.
Question Archetypes
| Archetype | You are seeing this when… |
|---|---|
| big-m-method | ”Solve by Big-M method”; mixed / constraints |
| two-phase-method | ”Solve by two-phase method”; or constraints |
big-m-method (3 question(s); 2018, 2021, 2023)
Recognition Cues
- “Solve the following LPP by Big-M method.”
- Constraints include at least one or alongside a .
- “Show that the problem has a finite optimal solution.”
Solution Template
- Convert to standard form. For each constraint: subtract surplus , add artificial . For each constraint: add slack . For constraints: add only .
- Penalise artificials. For minimisation: add to the objective. For maximisation: add .
- Initial BFS. Artificials (and any slacks) form the starting basis with .
- Compute the initial row. Include the -terms. The most positive entry (for min) or most negative (for max) identifies the entering variable.
- Ratio test. Divide RHS by the positive entries in the entering column; the row with the smallest ratio identifies the leaving variable.
- Pivot and repeat until all (min) or (max).
- Drop expelled artificials. Once an artificial leaves, do not allow it to re-enter.
- Report optimality and state whether the original feasible region is bounded (to justify finite optimum).
Worked Example(s)
2018 Paper 2, 2018-P2-Q2b (20 marks)
Minimise subject to , , , .
Standard form: add surpluses , artificials , slack :
Penalised objective: .
Initial basis . Initial :
Most positive: ( for all ). Ratio test: → leaves.
Pivot 1 (enter , leave , pivot element 3): After row operations, new basis .
Updated: for still positive (). Enter . Ratio test: → leaves.
Pivot 2 (enter , leave ): New basis . Both artificials expelled.
Optimality check: all remaining . Optimal:
Finite optimum: the constraint bounds the feasible region; combined with both artificials driven to zero, the problem has a finite optimal value.
Constraint check: ✓ (binding), ✓ (binding), ✓ (slack 32).
2021 Paper 2, 2021-P2-Q4c (15 marks)
Maximise subject to , , , .
Key structural observation. The equality constraint combined with the constraint gives (subtract): . The objective becomes after substituting . To maximise: push and as large as feasible.
Constraint 2: . Try : all constraints satisfied, .
Try : forces , infeasible. The optimum is:
The simplex Big-M tableau confirms this after two pivots expelling the two artificials.
2023 Paper 2, 2023-P2-Q3c (20 marks)
Minimise subject to , , , . Is the optimal solution unique?
Standard form: surpluses , artificials , slack .
Iteration 1: Enter (largest ). Ratio test: → leaves.
Iteration 2: Enter (next most positive, ). Ratio test: → leaves.
Optimal tableau (both artificials expelled): .
Uniqueness: at the optimum, non-basic variables and both have (strictly negative). No non-basic variable has , so the optimum is unique.
Common Traps
- Minimisation entry rule: enter the variable with the most positive (not most negative). Many students mix up the max/min conventions.
- Expelled artificials cannot re-enter: once and leaves the basis, drop its column. Allowing it back leads to circular pivoting.
- Justify “finite optimum”: state that the feasible region is bounded (quote the constraint that bounds it) and that all artificials reached zero (confirming feasibility).
- Uniqueness: check all non-basic values, not basic ones (basic variables always have by definition).
two-phase-method (2 question(s); 2022, 2024)
Recognition Cues
- “Use two-phase method to solve …”
- LPP with only constraints (surpluses needed, no slacks).
- Objective is to minimise a sum like .
Solution Template
Phase I:
- Add surplus and artificial for each constraint; add artificial only for constraints.
- Phase I objective: (ignoring the original objective).
- Compute reduced costs for Phase I: for non-basic columns (where is the Phase I cost of the basis).
- Pivot until (all artificials zero) or confirm infeasibility ( at optimum).
- Drop all artificial columns; keep the current basis (all non-artificial).
Phase II:
- Restore the original objective; compute new reduced costs in terms of the Phase I basis.
- Run simplex until all reduced costs are non-negative (for min) or non-positive (for max).
- Report the optimal solution.
Worked Example(s)
2022 Paper 2, 2022-P2-Q1e (10 marks)
Use two-phase method: Minimise s.t. , , .
Standard form: , .
Phase I: Minimise .
Initial basis . Phase I reduced costs: (most negative → enter ). Ratio test: → leaves.
After pivot ( enters, leaves): basis . Next most negative: . Enter . Ratio: → leaves.
Phase I basis ; . BFS: .
Phase II: Minimise .
Reduced costs for and : both (computed from the Phase I tableau). No entering variable — current solution is optimal.
Verification: ✓; ✓ (both binding).
2024 Paper 2, 2024-P2-Q1e (10 marks)
Use two-phase method: Maximise s.t. , , .
Standard form: , .
Phase I: Minimise .
Initial basis . Phase I: enter (coefficient in , most negative). Ratio test: → leaves. Pivot: ; .
Phase I complete.
Phase II: Maximise .
Express in non-basics: from , . Coefficient of is → enter .
Ratio test on row (only binding constraint for ): . So , leaves.
New basis : . Updated objective: . Both non-basic coefficients negative — optimal.
Verification: ✓, ✓ (both binding).
Common Traps
- Phase I objective vs Phase II objective: Phase I minimises , not the original . Mixing the two costs marks.
- Check Phase I ends cleanly: if , the original problem is infeasible — state this and stop. If but an artificial remains in the basis at value 0 (degeneracy), the Phase I basis is still valid — proceed to Phase II after verifying.
- Drop artificial columns: after Phase I, remove artificial variable columns from the tableau before running Phase II.
- Surplus and artificial for : both are needed. Missing the surplus variable (and only adding the artificial) is a common error.
Marks-Aware Writing
10-mark question: show the standard-form conversion (with all variables named), the first pivot calculation in detail (including the row), and the final answer. A small or simplex tableau is expected.
15-mark question: two full pivots shown step-by-step with the updated tableau after each pivot. State the entering and leaving variable at each step with the ratio-test computation.
20-mark question: three pivots or more, a thorough optimality-check discussion, and an explicit finite-optimum / uniqueness argument. Show constraint verification at the optimal point.
Practice Set
- 2019-P2-Q3b (15 m) — — Two equalities collapse the feasible region; use Phase I to detect the structural simplification, then note is constant on the feasible set.