Linear programming, simplex and duality
Why this is asked: Part C sets these as multi-statement questions about a single programme: whether it is feasible, whether the optimum is attained, whether it is unbounded, and what the dual says. The arithmetic is light; the marks turn on reading the constraints exactly.
In one sentence
A linear programme optimises a linear objective over a polyhedron, so if an optimum exists it is attained at a vertex — and the dual programme tells you whether one exists at all.
Why the exam asks it
Because Part C can set four independent statements about a single programme — is it feasible, is it bounded, is the optimum attained, what does the dual say — and score them all-or-nothing. The arithmetic is deliberately light. The marks turn on reading the constraints exactly, and on not confusing "the region is unbounded" with "the objective is unbounded".
The idea
Write the programme in standard form: maximise subject to and . The feasible set is an intersection of half-spaces — a convex polyhedron.
Exactly three things can happen, and every exam question is really asking which:
- Infeasible. The constraints contradict each other and the feasible set is empty.
- Unbounded. Feasible, but the objective grows without limit along some direction in the set.
- Optimal. A finite maximum, attained.
Why vertices are enough
A linear objective has no interior stationary point — its gradient is constant and never zero unless . So it improves steadily in one direction until the region stops it, and the region stops it at a face. Hence the fundamental theorem: if a standard-form programme has an optimal solution, one optimal solution is an extreme point of the feasible set.
That is what makes the problem finite. There are finitely many vertices, so checking them all is an algorithm — a bad one, but an algorithm. The simplex method is the same walk done well: start at a vertex, move along an edge that improves the objective, stop when no edge improves it.
The dual, and what it is for
Every maximisation has a partner minimisation:
Weak duality. For any feasible and any feasible ,
Both inequalities are immediate: with gives the first, with gives the second. Every dual feasible point is a certificate bounding the primal.
Strong duality. If either programme has a finite optimum, so does the other, and the two optimal values are equal. This is the theorem doing the work in most exam statements.
Complementary slackness. At an optimal pair, a constraint with slack forces its dual variable to zero, and a variable that is positive forces its dual constraint to be tight.
Where intuition breaks
An unbounded region does not mean an unbounded objective. This is the single most common error. Maximise subject to , : the feasible set runs to infinity in the direction, and the maximum is . Unboundedness of the objective needs a direction that is both feasible and improving.
A constraint can be an equality in disguise. If , and , then — a non-negative sum bounded above by zero has only one solution. Two variables vanish and the programme collapses to one. Papers set this deliberately, and a candidate who starts drawing a region has already lost the question.
Unbounded primal infeasible dual, but not the converse. Weak duality gives the forward direction: if the primal runs to no could bound it, so no dual feasible exists. The converse fails — both programmes can be infeasible at once, and a statement asserting "the dual is infeasible, therefore the primal is unbounded" is false.
The optimum need not be unique. If is orthogonal to an edge, every point of that edge is optimal. "The optimal solution is unique" is a separate claim from "an optimal solution exists", and Part C will ask for both.
The exam's angle
Work in this order, because it is the order that makes questions collapse:
- Read every constraint for a forced value before anything else. Non-negative variables with a bound, or two constraints that pin a variable between equal bounds.
- Decide feasibility. A single contradiction ends the question.
- Decide boundedness by looking for an improving feasible direction, not by looking at the picture of the region.
- Then find the optimum, at a vertex.
For "what is the optimal value" with small integers, evaluating the objective at each vertex is usually faster than a simplex tableau, and much harder to slip on.
The night before
- Three outcomes only: infeasible, unbounded, optimal.
- Optimum, if it exists, sits at a vertex.
- Weak duality always; strong duality when either side is finite.
- Unbounded region unbounded objective.
- Non-negative variables summing to are all zero.
- Primal unbounded dual infeasible; the converse is false.
Take it further
- Previous-year questions set on this — every option and the answer, free:December 2024 · Part CDecember 2024 · Part CJune 2024 · Part C
Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.
Create a free account to keep your place and have this feed your study plan.
Open this in the full syllabus view · Unit 4