Skip to article frontmatterSkip to article content

2.5Optimality conditions for constrained convex problems

We now turn our attention to convex constrained optimization problems of the form

minimizef0(x)subject toxΩ\begin{array}{ll} \minimize& f_0({x})\\ \st & x \in \Omega \end{array}

where f0f_0 is a convex function and Ω\Omega a convex set (by definition of a convex optimization problem). We also assume that f0f_0 is differentiable (i.e., f0C1f_0 \in C^1).

One of the key feature of convex optimization problems is that any local optimum is also a global optimum (see this theorem).

First-order characterization of optimal points for convex problems

Proof
  • {\Leftarrow} Let xΩ{x}^\star\in \Omega such that the condition is satisfied. Then by convexity of f0f_0, one has for yΩ{y} \in \Omega, f0(y)f0(x)+f0(x)(yx)f0(x)f_0({y}) \geq f_0({x}^\star) + \nabla f_0({x}^\star)^\top ({y}-{x}^\star) \geq f_0({x}^\star). Thus x{x}^\star is optimal.

  • {\Rightarrow} Suppose xΩ{x}^\star \in \Omega is optimal but the conditions does not hold. There is some yΩ{y} \in \Omega for which f0(x)(yx)<0\nabla f_0({x}^\star)^\top ({y} - {x}^\star) < 0. Consider z(t)=ty+(1t)x{z}(t) = t {y} + (1-t){x}^\star for t[0,1]t \in [0, 1]. Since Ω\Omega is convex, z(t)Ω{z}(t) \in \Omega. Moreover, observe that f0(z(t))=f0(z(t))(yx)f'_0({z}(t)) = \nabla f_0({z}(t))^\top ({y}-{x}^\star) and thus for t=0t=0 one has f0(z(t))t=0=f0(x)(yx)<0f'_0({z}(t))\vert_{t=0} = \nabla f_0({x}^\star)^\top ({y}-{x}^\star) < 0. For small positive tt, we thus have f0(z(t))f0(x)f_0({z}(t)) \leq f_0({x}^\star) which shows that x{x}^\star is not optimal. Hence we have a contradiction.

Geometric interpretation

If f0(x)0\nabla f_0({x}^\star) \neq 0, the vector f0(x)-\nabla f_0({x}^\star) defines a supporting hyperplane to Ω\Omega at x{x}.

In the context of Theorem 1, letting a=f0(x)a = -\nabla f_0(x^\star) the condition (2) rewrites as ayax{a}^\top {y} \leq {a}^\top {x}^\star for all yΩy \in \Omega. Therefore, {yay=ax}\lbrace {y} \mid {a}^\top {y} = {a}^\top {x}^\star \rbrace is a supporting hyperplane to Ω\Omega at point xx^\star.

Optimality condition illustration

A geometric illustration of the optimality condition for convex problems.

References
  1. Boyd, S. P., & Vandenberghe, L. (2004). Convex optimization. Cambridge University Press.