Lagrange multipliers, the KKT conditions and Lagrangian duality #
We consider the convex program
minimize f₀ x subject to g i x ≤ 0 for i : ι (finitely many) and A x = b,
with convex f₀, g i : H → ℝ on a Hilbert space H, a bounded linear map A : H → K into a
finite-dimensional space K, and b : K; its Lagrangian is
lagrangian f₀ g A b μ ν y = f₀ y + ∑ μ i g i y + ⟪A y - b, ν⟫. This file proves the existence of
Lagrange multipliers under Slater's condition, the KKT conditions, and weak duality.
Main statements #
ConvexAnalysis.exists_lagrangeMultipliers_of_le: under Slater's condition (a pointzof a convex setCwithg i z < 0for alli), every lower boundpoff₀on{y ∈ C | g y ≤ 0}is a lower bound off₀ + ∑ μ i g ionCfor someμ ≥ 0; no minimizer, no topology and no continuity are needed.ConvexAnalysis.exists_lagrangeMultipliersadds complementary slackness at a minimizer, andConvexAnalysis.exists_dual_eq_primalis the resulting zero duality gap with dual attainment, with no lower bound needed.ConvexAnalysis.exists_neg_mem_subdifferential_valueFunction: sensitivity,-μis a subgradient at0of the value function of the perturbed problemsg i y ≤ u i.ConvexAnalysis.exists_kkt_of_isMinOn_of_convex: KKT conditions are necessary under Slater's condition with an abstract convex constraint setC(compare BC, Proposition 27.21): there areμ ≥ 0, subgradientsu₀ ∈ ∂f₀ x,u i ∈ ∂(g i) xandw ∈ N_C xwithu₀ + ∑ μ i • u i + w = 0andμ i g i x = 0.ConvexAnalysis.isMinOn_of_kkt: KKT conditions are sufficient, for any functions.ConvexAnalysis.ConvexOn.add_sum_mul:f₀ + ∑ μ i g iis convex forμ ≥ 0;ConvexAnalysis.mem_subdifferential_add_sum_mul_iff: its subgradients are the sumsu₀ + ∑ μ i • u iof subgradients, with no continuity off₀.ConvexAnalysis.lagrangian_le: weak duality.
Strong Lagrangian duality for A y = b, g i y ≤ 0 with dual attainment without a primal minimizer
(ConvexAnalysis.exists_le_lagrangian_of_le, ConvexAnalysis.exists_iInf_lagrangian_eq), the
saddle point of the Lagrangian at a minimizer
(ConvexAnalysis.exists_isMinOn_lagrangian_of_isMinOn, ConvexAnalysis.isSaddlePointOn_lagrangian)
and the necessary KKT conditions with A† ν (ConvexAnalysis.exists_kkt_of_isMinOn,
ConvexAnalysis.isMinOn_iff_exists_kkt, ConvexAnalysis.exists_kkt_of_isMinOn_of_hasGradientAt,
ConvexAnalysis.exists_kkt_euclidean) need no continuity of f₀. They are in
PolyhedralDuality.lean, as cases of duality under the refined Slater condition.
Implementation notes #
The multipliers come from separating 0 from the open convex set
{(t, s) ∈ ℝ × ℝ^ι | ∃ y ∈ C, f₀ y - p < t, g y < s} in finite dimension; Slater's condition
makes the multiplier of f₀ positive. The KKT conditions follow from the optimality condition
for the Lagrangian on the constraint set and the sum rule for its continuous summands.
Completeness of H is needed for the KKT conditions: on the finitely supported sequences with the
ℓ² norm and a = (1 / n) ∉ H, minimizing -⟪a, y⟫ subject to ⟪a, y⟫ ≤ 1 has the minimizer
e₁ and the Slater point 0, but ∂f₀ = ∅. Continuity of every g i is needed for the stated
form, which asks for subgradients also of inactive constraints. For equality constraints, some
condition on A such as a finite-dimensional K is needed (A = diag (1 / n) on ℓ²).
References #
- H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2nd ed., Springer, 2017, Chapters 19 and 27.
- S. Boyd, L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004, Chapter 5.
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, Section 28 (Corollary 28.2.1, Theorem 28.3, Corollary 28.3.1) and Theorem 29.1.
Tags #
KKT conditions, Karush–Kuhn–Tucker conditions, Lagrange multipliers, Slater's condition, Lagrangian duality, weak duality, sensitivity, convex program
Lagrange multipliers under Slater's condition R, Corollary 28.2.1, BV, Chapter 5:
if p is a lower bound of the convex f₀ on {y ∈ C | ∀ i, g i y ≤ 0} for convex g i and a
convex set C that contains a point z with g i z < 0 for all i, then there are μ ≥ 0 with
p ≤ f₀ y + ∑ μ i g i y for all y ∈ C. No minimizer is needed, and E is any real vector space
(Rockafellar: ℝⁿ and p the infimum).
Lagrange multipliers at a minimizer: under Slater's condition, a minimizer x of f₀ on
{y ∈ C | ∀ i, g i y ≤ 0} has multipliers μ ≥ 0 with f₀ x ≤ f₀ y + ∑ μ i g i y for all
y ∈ C and complementary slackness μ i g i x = 0.
Zero duality gap with dual attainment for inequality constraints under Slater's condition
BV, Chapter 5: there are μ ≥ 0 with ⨅ y ∈ C, f₀ y + ∑ μ i g i y = ⨅ feasible f₀ in
EReal, where the feasible set is {y ∈ C | ∀ i, g i y ≤ 0}. No primal minimizer and no lower
bound are needed: if f₀ is unbounded below on the feasible set, both sides are ⊥ (with
μ = 0). By weak duality, μ solves the dual problem.
Sensitivity: multipliers as subgradients of the value function BV, Chapter 5,
R, Theorem 29.1 (see also the remarks in R, Section 28): under
Slater's condition, if f₀ is bounded below on the feasible set {y ∈ C | ∀ i, g i y ≤ 0}, there
is μ ≥ 0 such that -μ is a subgradient at 0 of the value function
v u = inf {f₀ y | y ∈ C, ∀ i, g i y ≤ u i} of the perturbed problems, that is,
v 0 - ∑ μ i u i ≤ v u for every u. At u = (g i y)_i this is v 0 ≤ f₀ y + ∑ μ i g i y for
y ∈ C, so μ is a Lagrange multiplier vector.
For μ ≥ 0, the Lagrangian f₀ + ∑ μ i g i of convex inequality constraints is convex.
The Lagrangian L(y, μ, ν) = f₀ y + ∑ μ i g i y + ⟪A y - b, ν⟫ of the convex program.
Equations
Instances For
Weak Lagrangian duality: for μ ≥ 0, the Lagrangian is at most f₀ on the feasible
set.
With complementary slackness at a feasible point, the Lagrangian equals f₀ there.
Stationarity u₀ + ∑ μ i • u i + A† ν = 0 with μ ≥ 0 and subgradients u₀ ∈ ∂f₀ x,
u i ∈ ∂(g i) x makes x a minimizer of the Lagrangian over all of H, for any functions.
KKT conditions are sufficient BV, Chapter 5, R, Theorem 28.3, for any functions:
if A x = b and there are μ ≥ 0, ν and subgradients u₀ ∈ ∂f₀ x, u i ∈ ∂(g i) x with
u₀ + ∑ μ i • u i + A† ν = 0 and μ i g i x = 0, then f₀ x ≤ f₀ y for every feasible y.
(IsMinOn does not say that x is feasible; with g i x ≤ 0 it is a minimizer.)
Subgradients of the Lagrangian of the inequality constraints: for convex f₀, convex
continuous g i and μ ≥ 0, the subgradients of f₀ + ∑ μ i g i at x are the vectors
u₀ + ∑ μ i • u i with u₀ ∈ ∂f₀ x and u i ∈ ∂(g i) x. No continuity of f₀ is needed (sum
rule with the continuous summands μ i g i); continuity of g i gives subgradients also where
μ i = 0.
KKT conditions with an abstract convex constraint set C, necessary under Slater's
condition (a point of C with g i < 0; no interior point of C is needed): there are μ ≥ 0,
subgradients u₀ ∈ ∂f₀ x, u i ∈ ∂(g i) x and a normal vector w ∈ N_C x with
u₀ + ∑ μ i • u i + w = 0 and μ i g i x = 0. Compare BC, Proposition 27.21, for lower
semicontinuous f₀, g i with values in ]-∞, +∞] and no set C.