Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The Lagrangian

Let us consider the general constrained optimization problem

minimizef0(x)subject tofi(x)0,i=1,,mhi(x)=0,i=1,,p\begin{split} \minimize&\quad f_0(x)\\ \text{subject to}&\quad f_i(x) \leq 0, \quad i = 1, \ldots, m\\ &\quad h_i(x) = 0, \quad i = 1, \ldots, p \end{split}

Comments

The Lagrange dual function

By minimizing the Lagrangian over all xx in the domain D\mathcal{D}, we get a very useful function, called the (Lagrange) dual function.

Comments

Another very important property is that gg gives a lower bound on the optimal value of the initial problem (1).

Proof 1

Suppose that x~\tilde{x} is feasible and that λ0\lambda \geq 0. Hence fi(x~)0f_i(\tilde{x}) \leq 0 for i=1,,mi=1, \ldots, m and hi(x)=0h_i(x)= 0 for i=1,,pi=1, \ldots, p. It results that i=1mλifi(x~)+i=1pνihi(x~)0\sum_{i=1}^m \lambda_i f_i(\tilde{x}) + \sum_{i=1}^p\nu_i h_i(\tilde{x}) \leq 0. Therefore

L(x~,λ,ν)=f0(x~)+i=1mλifi(x~)+i=1pνihi(x~)f0(x~)L(\tilde{x}, \lambda, \nu) = f_0(\tilde{x})+\sum_{i=1}^m \lambda_i f_i(\tilde{x}) + \sum_{i=1}^p\nu_i h_i(\tilde{x}) \leq f_0(\tilde{x})

Hence,

f0(x~)L(x~,λ,ν)infxDL(x,λ,ν)=g(λ,ν)f_0(\tilde{x}) \geq L(\tilde{x}, \lambda, \nu) \geq \inf_{x\in \mathcal{D}} L({x}, \lambda, \nu) = g(\lambda, \nu)

The inequality holds for all feasible x~\tilde{x} and in particular for x~=x\tilde{x} = x^\star, one gets g(λ,ν)pg(\lambda, \nu) \leq p^\star.

The Lagrange dual problem

We can exploit the lower bound property of the dual function to obtain the best lower bound possible on the original problem (1) (which we call the primal problem).

Comments

Weak and strong duality

Let d=supλ0g(λ,ν)d^\star = \sup_{\lambda \geq 0} g(\lambda, \nu) be the optimal value of the dual Lagrange problem. By the lower bound property of gg, we have the fundamental property of weak duality.

Comments

Comments

For convex problems, a useful constraint qualification is known as Slater’s criterion.

Keep in mind that Slater’s criterion only applies to convex problems; in addition it is a sufficient condition for strong duality. Strong duality can exist even if Slater’s criterion is not satisfied.

A few examples to put this notion into practice.

Saddle-point interpretation

Consider, for simplicity, the optimization problem without equality constraints

minimizef0(x)subject tofi(x)0,i=1,,m\begin{split} \minimize&\quad f_0(x)\\ \text{subject to}&\quad f_i(x) \leq 0, \quad i = 1, \ldots, m \end{split}

with Lagrangian L(x,λ)=f0(x)+i=1mλifi(x)L(x, \lambda) = f_0(x) + \sum_{i=1}^m \lambda_i f_i(x). Observe that

supλ0L(x,λ)=supλ0(f0(x)+i=1mλifi(x))={f0(x) if x is feasible otherwise\sup_{\lambda\geq 0}L(x, \lambda)= \sup_{\lambda\geq 0} \left(f_0(x) + \sum_{i=1}^m \lambda_i f_i(x)\right) = \begin{cases} f_0(x) & \text{ if } x \text{ is feasible}\\ \infty & \text{ otherwise} \end{cases}

To see this, observe that if xx is feasible, then fi(x)0f_i(x) \leq 0 for all i=1,,mi=1, \ldots, m. Hence the optimal choice of λ=0\lambda=0. If xx is not feasible, then for some ii, fi(x)>0f_i(x) > 0. Hence L(x,λ)L(x, \lambda) is unbounded above as a function of λ\lambda and supλ0L(x,λ)=\sup_{\lambda\geq 0}L(x, \lambda) = \infty.

When strong duality holds p=dp^\star = d^\star and thus

infxsupλ0L(x,λ)=supλ0infxL(x,λ)\inf_{x} \sup_{\lambda\geq 0}L(x, \lambda) = \sup_{\lambda\geq 0}\inf_{x}L(x, \lambda)

i.e., the order of maximization/ minimization can be interchanged without changing the result.

This equality also characterizes the saddle point property of the Lagrangian L:D×R+mL:\mathcal{D} \times \mathbb{R}^m_+; if xx^\star and λ\lambda^\star are primal and dual optimal (and strong duality holds) one has

L(x,λ)L(x,λ)L(x,λ) for any x and λ0L(x^\star, \lambda) \leq L(x^\star, \lambda^\star) \leq L(x, \lambda^\star) \text{ for any } x \text{ and } \lambda \geq 0

i.e., (x,λ)(x^\star, \lambda^\star) define a saddle point of the Lagrangian.

Conversely, if (x,λ)(x, \lambda) is a saddle-point of the Lagrangian, then x x is primal optimal, λ\lambda is dual optimal with zero duality gap.