Skip to content

KKT Conditions and Optimization Techniques

Slide: This lecture begins with an introduction to the Karush-Kuhn-Tucker (KKT) conditions, which are fundamental in constrained optimization. We will explore their geometric interpretation, derive the necessary conditions for optimality, and discuss their applications in solving optimization problems.

Lagrangian Multiplier

Optimization with Equality Constraints

Consider an optimization problem with equality constraints:

minxf(x)subject tohj(x)=0

how to characterize the necessary conditions for the optimal solution x ?

Geometric Insight

Consider a quadratic objective function with one linear equality constraint:

minx,yx2+y2subject tox+2y=5

f(x) must lie within the linear subspace spanned by {hj(x)}; otherwise, the function value could be further decreased by moving along a feasible direction. This means there exist multipliers {νj} such that:

f(x)+jνjhj(x)=0

Lagrangian Function and Optimality Conditions

We introduce the Lagrangian function as a tool to characterize optimality:

L(x,ν)=f(x)+jνjhj(x)

The necessary conditions for optimality can be expressed as stationarity of the Lagrangian:

L(x,ν)=0{xL=f(x)+jνjhj(x)=0νL=[,hj(x),]=0

Lagrangian Relaxation

A Min-Max Interpretation

The Lagrangian function also leads to a powerful dual interpretation:

maxνL(x,ν)={f(x),hj(x)=0,otherwise

The original constrained problem is equivalent to the following min-max problem:

minxf(x),s.t.hj(x)=0minxmaxνL(x,ν)

The Dual Problem and Weak Duality

Solution for minxmaxνL(x,ν) may be non-continuous, but solution for maxνminxL(x,ν) is easy if L(x,ν) is tractable. We can form the dual problem by swapping the order of the min and the max:

maxνd(ν)=maxνminxL(x,ν)minxmaxνL(x,ν)

Under some conditions, equality holds, which means strong duality holds.

Uzawa's Method (Dual Ascent)

d(ν)=h[x(ν)]wherex(ν)=argminxL(x,ν)

This leads to Uzawa's Method:

  1. Minimization (x-step):xk+1=argminxL(x,νk)
  2. Ascent (ν-step):νk+1=νk+αkh(xk+1)where αk>0 is the step size.

KKT Conditions

General Constrained Optimization

Consider a general optimization problem with equality and inequality constraints:

minxf(x)s.t. gi(x)0hj(x)=0

the question does not change: how to characterize the necessary conditions for the optimal solution x ?

Geometric Insight

Challenge:

  1. Directionality: On the boundary, gi points towards the exterior of the feasible region. To prevent f from pushing the point into an infeasible area, f must have a component opposite to gi μi0.
  2. Activity Identification: The optimum may lie in the interior of the region with gi<0 or on the boundary with gi=0 μigi=0.

Summary

  1. Stationarity: 0x[f(x)+iμigi(x)+jνjhj(x)]
  2. Complementary Slackness: μigi(x)=0
  3. Primal Feasibility: gi(x)0,hj(x)=0
  4. Dual Feasibility: μi0