Duality of linear programs
Statement
For the primal program , define the dual program . Then (weak duality) for every primal-feasible and dual-feasible , and (strong duality) if the primal has an optimal solution , the dual has an optimal solution with .
Why is it true?
Duality says the primal maximization and the dual minimization are two views of the same number: the dual variables act as prices on the resources, and weak duality says no feasible production plan can ever earn more than the value of the resources it uses at any valid pricing, while strong duality says that at the optimum, the best production plan and the cheapest valid pricing agree exactly.
Proof sketch
(Weak duality.) Let be any primal-feasible point (, ) and any dual-feasible point (, ). Since and , multiplying the inequality by the nonnegative vector preserves it: . Since and , the same argument gives . Chaining the two inequalities, for every feasible pair, which is weak duality.
(Strong duality.) Run the simplex method on the primal until it terminates at an optimal basic feasible solution with optimal basis matrix , so that and the reduced costs of every non-basic variable are non-negative — this termination condition is equivalent to defining , which one can check satisfies and , i.e. is dual-feasible.
Substituting, the primal optimal value is . Combined with weak duality ( always), equality here forces to be dual-optimal as well, so , proving strong duality.
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- George B. Dantzig (1963). Linear Programming and Extensions
- Dimitris Bertsimas, John N. Tsitsiklis (1997). Introduction to Linear Optimization