Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Optimization / Algorithms and structure

Duality

Every optimization problem has a shadow problem whose answer bounds it, and often equals it.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Lower bounds for free
  2. ?Check yourself

By the end you can

  • Form the Lagrangian dual of a problem
  • State weak and strong duality
  • Write the dual of a linear program

Helps to know: Lagrange Multipliers and KKT, Linear Programming

§1Lower bounds for free

For min⁡f(x)\min f(x) subject to g(x)≤0g(x) \le 0, the dual function q(μ)=min⁡x[f(x)+μTg(x)]q(\mu) = \min_x \big[f(x) + \mu^{\mathsf T} g(x)\big] is a lower bound on the optimum for every μ≥0\mu \ge 0. Maximising it gives the best such bound.

max⁡  cTx   s.t. Ax≤b,  x≥0⟺min⁡  bTy   s.t. ATy≥c,  y≥0\max\; c^{\mathsf T}x \;\text{ s.t. } Ax \le b,\; x \ge 0 \qquad\Longleftrightarrow\qquad \min\; b^{\mathsf T}y \;\text{ s.t. } A^{\mathsf T}y \ge c,\; y \ge 0

Check yourself

  1. Q1
    Weak duality says the dual optimal value is…