Skip to main content
KetQat

Appearance

Definition · intermediate

Convex optimization problem, Lagrangian and dual problem

Minimising a convex function subject to convex inequality constraints and affine equality constraints; the Lagrangian adds the constraints with multipliers, its infimum over the variables is the dual function, and maximising that over nonnegative multipliers is the dual problem.

Established definitionMachine-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.

A set C⊆RnC \subseteq \R^{n} is convex if θx+(1−θ)y∈C\theta x + (1 - \theta) y \in C for all x,y∈Cx, y \in C and θ∈[0,1]\theta \in [0, 1]. A function f:D→Rf : D \to \R on a convex set DD is convex if f(θx+(1−θ)y)≤θf(x)+(1−θ)f(y)f(\theta x + (1 - \theta) y) \le \theta f(x) + (1 - \theta) f(y) for all x,y∈Dx, y \in D, θ∈[0,1]\theta \in [0, 1], and concave if −f-f is convex.

A convex optimization problem in standard form is

p∗=inf⁡{ f0(x)  :  x∈D, fi(x)≤0 (i=1,…,m), Ax=b },p^{*} = \inf \big\{\, f_0(x) \;:\; x \in D,\ f_i(x) \le 0 \ (i = 1, \dots, m),\ A x = b \,\big\},

where D⊆RnD \subseteq \R^{n} is convex, f0,…,fm:D→Rf_0, \dots, f_m : D \to \R are convex, and A∈Rp×nA \in \R^{p \times n}, b∈Rpb \in \R^{p}. A point satisfying the constraints is feasible; p∗=+∞p^{*} = +\infty if there is none, and p∗p^{*} may be −∞-\infty. A local minimum of a convex problem is a global minimum. Maximising a concave function is the same problem with f0f_0 replaced by −f0-f_0. Linear programs (f0,…,fmf_0, \dots, f_m affine) and semidefinite programs are convex problems.

The Lagrangian is

L(x,λ,ν)=f0(x)+∑i=1mλifi(x)+νT(Ax−b),λ∈Rm, ν∈Rp,L(x, \lambda, \nu) = f_0(x) + \sum_{i=1}^{m} \lambda_i f_i(x) + \nu^{T} (A x - b), \qquad \lambda \in \R^{m},\ \nu \in \R^{p},

the dual function is g(λ,ν)=inf⁡x∈DL(x,λ,ν)g(\lambda, \nu) = \inf_{x \in D} L(x, \lambda, \nu) (concave, as an infimum of affine functions of (λ,ν)(\lambda, \nu), possibly −∞-\infty), and the dual problem is

d∗=sup⁡{ g(λ,ν)  :  λ≥0, ν∈Rp }.d^{*} = \sup \big\{\, g(\lambda, \nu) \;:\; \lambda \ge 0,\ \nu \in \R^{p} \,\big\} .

Weak duality, d∗≤p∗d^{*} \le p^{*}, always holds: for feasible xx and λ≥0\lambda \ge 0, g(λ,ν)≤L(x,λ,ν)≤f0(x)g(\lambda, \nu) \le L(x, \lambda, \nu) \le f_0(x) because λifi(x)≤0\lambda_i f_i(x) \le 0 and Ax−b=0Ax - b = 0. The difference p∗−d∗≥0p^{*} - d^{*} \ge 0 is the duality gap; strong duality means it is zero. The problem satisfies Slater's condition if some x~\tilde x in the relative interior of DD is strictly feasible: fi(x~)<0f_i(\tilde x) < 0 for all ii and Ax~=bA\tilde x = b. The definitions are those of chapters 2–5 of Boyd and Vandenberghe.

Builds on
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)

    Definitions of convex sets and functions, standard-form convex problem, Lagrangian, dual function (concave as an infimum of affine functions), dual problem, weak duality argument, duality gap and Slater's condition (strict feasibility at a point of relint D) compared with Boyd and Vandenberghe, Convex Optimization (author-hosted PDF), sections 2.1, 3.1, 4.2, 5.1-5.2.3 (Eqs. 5.25-5.26). Weak-duality chain re-derived. Crossref metadata match.

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 9bd0265e066a3f60. Source file knowledge/records/definition/convex-optimization-problem.md in the content repository (readable there once it is public).