optimization theory
Duality Theory
You should know: linear programming, convex optimization
Overview
Duality theory associates to every optimization problem (the primal) a related problem (the dual) whose optimal value provides a bound on the primal. In linear programming, strong duality guarantees equality of primal and dual optimal values. In convex programming, strong duality holds under constraint qualifications such as Slater's condition. Duality is not merely a theoretical tool — it yields certificates of optimality, sensitivity analysis, and efficient decomposition algorithms.
Intuition
The dual problem asks: 'What is the best lower bound (for minimisation) I can guarantee using only linear combinations of the constraints?' Duality is a manifestation of minimax: swap the min and max over a Lagrangian, and you get the dual. When strong duality holds, the two problems have the same value, and the optimal dual variables (shadow prices) tell you how much the objective improves per unit relaxation of each constraint.
Formal Definition
Given the primal convex program, the Lagrangian dual is formed by relaxing constraints into the objective via dual variables (multipliers).
Notation
| Notation | Meaning |
|---|---|
| Lagrangian; λᵢ ≥ 0 are inequality multipliers, ν are equality multipliers | |
| Dual function — infimum of Lagrangian over x | |
| Primal and dual optimal values | |
| Duality gap (≥ 0 always) |
Properties
Weak duality
Strong duality for LP
Complementary slackness
Dual function is concave
Worked Examples
- 1
Form Lagrangian: L(x,λ,μ) = cᵀx - λᵀ(Ax-b) - μᵀx for λ,μ ≥ 0.
- 2
Dual function: g(λ,μ) = infₓ L = bᵀλ if c - Aᵀλ - μ = 0, else -∞.
- 3
Eliminate μ = c - Aᵀλ ≥ 0 (μ ≥ 0 forces Aᵀλ ≤ c). Dual: max bᵀλ, Aᵀλ ≤ c, λ ≥ 0.
✓ Answer
The dual LP is: max bᵀλ subject to Aᵀλ ≤ c, λ ≥ 0 — a standard form LP.
Practice Problems
Prove weak duality: for any feasible primal x and feasible dual (λ,ν), g(λ,ν) ≤ f₀(x).
Common Mistakes
Assuming strong duality always holds for convex programs
Strong duality requires a constraint qualification such as Slater's condition. Without it, a positive duality gap is possible even for convex programs.
Quiz
Historical Background
LP duality was discovered simultaneously by Dantzig and von Neumann in 1947, with von Neumann recognising its connection to minimax theorems in game theory. Fenchel duality (1949) generalised LP duality to convex functions. Rockafellar's 1970 monograph unified these threads, establishing Lagrangian duality as the central framework.
- 1947
Von Neumann and Dantzig discover LP duality from game-theoretic perspective
John von Neumann, George Dantzig
- 1949
Fenchel duality for convex functions
Werner Fenchel
- 1970
Rockafellar unifies duality in Convex Analysis
R. Tyrrell Rockafellar
Summary
- The Lagrangian dual relaxes constraints into the objective via multipliers λᵢ ≥ 0, ν.
- Weak duality: d* ≤ p* always. Strong duality: d* = p* under constraint qualifications.
- The dual function g is always concave, making the dual problem a concave maximisation.
- Complementary slackness λᵢ*fᵢ(x*)=0 characterises primal-dual optimal pairs.
References
- BookBoyd, S. and Vandenberghe, L. — Convex Optimization (2004), Chapter 5. Free at https://web.stanford.edu/~boyd/cvxbook/
Mathematics