Skip to main content
KetQat

Appearance

Theorem · intermediate

Strong duality under Slater's condition

If a convex optimization problem has a strictly feasible point, then its optimal value equals that of its Lagrange dual, and when the common value is finite the dual optimum is attained by some multipliers; with differentiable functions the optimal points are then characterised by the KKT conditions.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Under Slater's condition, d∗=p∗d^{*} = p^{*}, and if p∗>−∞p^{*} > -\infty there exist λ∗≥0\lambda^{*} \ge 0 and ν∗\nu^{*} with g(λ∗,ν∗)=p∗g(\lambda^{*}, \nu^{*}) = p^{*}.

If moreover the primal optimum is attained at x∗x^{*}, then λi∗fi(x∗)=0\lambda_i^{*} f_i(x^{*}) = 0 for every ii (complementary slackness) and x∗x^{*} minimises L(⋅,λ∗,ν∗)L(\cdot, \lambda^{*}, \nu^{*}) over DD; for differentiable fif_i and open DD this gives the KKT conditions

∇f0(x∗)+∑iλi∗∇fi(x∗)+ATν∗=0,fi(x∗)≤0, Ax∗=b, λ∗≥0, λi∗fi(x∗)=0,\nabla f_0(x^{*}) + \sum_i \lambda_i^{*} \nabla f_i(x^{*}) + A^{T} \nu^{*} = 0, \quad f_i(x^{*}) \le 0,\ A x^{*} = b,\ \lambda^{*} \ge 0,\ \lambda_i^{*} f_i(x^{*}) = 0 ,

which for a convex problem are also sufficient for optimality of x∗x^{*} and (λ∗,ν∗)(\lambda^{*}, \nu^{*}). Without a constraint qualification such as Slater's condition the duality gap of a convex problem can be positive. The statement is in section 5.2.3 and the proof in section 5.3.2 of Boyd and Vandenberghe; the KKT conditions are in section 5.5.

Holds when

  • A convex optimization problem in standard form with convex domain DD, convex f0,…,fmf_0, \dots, f_m and affine equality constraints Ax=bAx = b.
  • Slater's condition: some x~\tilde x in the relative interior of DD has fi(x~)<0f_i(\tilde x) < 0 for all ii and Ax~=bA\tilde x = b.

Proof

Proof of strong duality under Slater's condition (inequality constraints)Machine-checked

This record proves the theorem in full for problems without equality constraints (p=0p = 0), and proves complementary slackness. The general case adds the affine constraints to the separation argument and needs the relative-interior hypothesis and a rank condition on AA to exclude a degenerate hyperplane; see section 5.3.2 of Boyd and Vandenberghe.

Setup. If p∗=−∞p^{*} = -\infty, weak duality gives d∗=−∞d^{*} = -\infty as well. Assume p∗p^{*} finite; it is not +∞+\infty because x~\tilde x is feasible. Define

A={(u,t)∈Rm×R  :  ∃x∈D, fi(x)≤ui (i≤m), f0(x)≤t},B={(0,s)  :  s<p∗}.\mathcal{A} = \big\{ (u, t) \in \R^{m} \times \R \;:\; \exists x \in D,\ f_i(x) \le u_i \ (i \le m),\ f_0(x) \le t \big\}, \qquad \mathcal{B} = \big\{ (0, s) \;:\; s < p^{*} \big\} .

A\mathcal{A} is convex: if x,x′x, x' witness (u,t),(u′,t′)(u, t), (u', t'), then by convexity of the fif_i the point θx+(1−θ)x′\theta x + (1 - \theta) x' witnesses θ(u,t)+(1−θ)(u′,t′)\theta(u, t) + (1 - \theta)(u', t'). B\mathcal{B} is convex. They are disjoint: (0,s)∈A(0, s) \in \mathcal{A} would give a feasible xx with f0(x)≤s<p∗f_0(x) \le s < p^{*}.

Separation. By the separating hyperplane theorem for disjoint convex sets in Rm+1\R^{m+1} there are (λ~,μ)≠(0,0)(\tilde\lambda, \mu) \ne (0, 0) and α∈R\alpha \in \R with

λ~Tu+μt≥α  on A,λ~Tu+μt≤α  on B.\tilde\lambda^{T} u + \mu t \ge \alpha \ \text{ on } \mathcal{A}, \qquad \tilde\lambda^{T} u + \mu t \le \alpha \ \text{ on } \mathcal{B} .

Since A\mathcal{A} is closed under increasing any coordinate, the first inequality forces λ~≥0\tilde\lambda \ge 0 and μ≥0\mu \ge 0 (a negative coefficient would make the left side unbounded below on A\mathcal{A}). The second says μs≤α\mu s \le \alpha for all s<p∗s < p^{*}, hence μp∗≤α\mu p^{*} \le \alpha. Taking (u,t)=(f1(x),…,fm(x),f0(x))(u, t) = (f_1(x), \dots, f_m(x), f_0(x)) for any x∈Dx \in D,

∑iλ~ifi(x)+μf0(x)  ≥  α  ≥  μp∗for all x∈D.(∗)\sum_{i} \tilde\lambda_i f_i(x) + \mu f_0(x) \;\ge\; \alpha \;\ge\; \mu p^{*} \qquad \text{for all } x \in D . \qquad (*)

The hyperplane is not vertical. Suppose μ=0\mu = 0. Then (∗)(*) gives ∑iλ~ifi(x)≥0\sum_i \tilde\lambda_i f_i(x) \ge 0 for all x∈Dx \in D, with λ~≥0\tilde\lambda \ge 0 and λ~≠0\tilde\lambda \ne 0. At the Slater point every fi(x~)<0f_i(\tilde x) < 0, so ∑iλ~ifi(x~)<0\sum_i \tilde\lambda_i f_i(\tilde x) < 0, a contradiction. Hence μ>0\mu > 0.

Conclusion. Dividing (∗)(*) by μ\mu and putting λ∗=λ~/μ≥0\lambda^{*} = \tilde\lambda / \mu \ge 0, L(x,λ∗)≥p∗L(x, \lambda^{*}) \ge p^{*} for all x∈Dx \in D, so g(λ∗)≥p∗g(\lambda^{*}) \ge p^{*}. Weak duality gives g(λ∗)≤d∗≤p∗g(\lambda^{*}) \le d^{*} \le p^{*}, so d∗=p∗=g(λ∗)d^{*} = p^{*} = g(\lambda^{*}).

Complementary slackness. If x∗x^{*} is feasible with f0(x∗)=p∗f_0(x^{*}) = p^{*}, then

p∗=g(λ∗)≤L(x∗,λ∗)=f0(x∗)+∑iλi∗fi(x∗)≤f0(x∗)=p∗,p^{*} = g(\lambda^{*}) \le L(x^{*}, \lambda^{*}) = f_0(x^{*}) + \sum_i \lambda_i^{*} f_i(x^{*}) \le f_0(x^{*}) = p^{*} ,

so both inequalities are equalities: x∗x^{*} minimises L(⋅,λ∗)L(\cdot, \lambda^{*}), and the sum of the nonpositive terms λi∗fi(x∗)\lambda_i^{*} f_i(x^{*}) is zero, so each is zero. For differentiable functions on an open DD, minimality of the convex function L(⋅,λ∗)L(\cdot, \lambda^{*}) at x∗x^{*} is equivalent to the vanishing of its gradient, which is the first KKT condition; conversely any point satisfying the KKT conditions minimises L(⋅,λ∗)L(\cdot, \lambda^{*}), and the same chain of (in)equalities shows it is primal optimal and λ∗\lambda^{*} dual optimal.

Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Stephen Boyd, Lieven Vandenberghe (2004). Convex Optimization. Cambridge University Press. doi:10.1017/CBO9780511804441

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Compared with Boyd and Vandenberghe, Convex Optimization (author-hosted PDF): Slater's condition and theorem with dual attainment when d* > -inf (sec. 5.2.3, Eqs. 5.24-5.26), proof (sec. 5.3.2), complementary slackness and Lagrangian minimisation at x* (sec. 5.5.2), KKT conditions and their sufficiency for convex problems (sec. 5.5.3). Section numbers cited in the record verified.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 834f9d1aa4ae5457. Source file knowledge/records/theorem/slater-strong-duality.md in the content repository (readable there once it is public).