lec16
Lecture 16. Karush-Kuhn-Tucker Conditions
### 16.1. Problem formulation and active constraints
We consider the constrained optimization problem
Its feasible set is
We would like to establish necessary and sufficient (in some sense) conditions for optimality. The first observation is that constraints have different effects for different points.
Let
It is called inactive at
The active index set is
Only active inequality constraints can affect the first-order geometry of the feasible set at
16.2. KKT conditions and geometric meaning of the multiplier sign
Suppose
If
For every inactive constraint
and
The second condition is called complementary slackness. We also have the genuinely new condition for inequalities, which is the sign condition
But why we have the sign condition? Consider the following example:
Let
The Lagrange condition is
if the problem is restricted to
Here
So we have two solutions
At
so
At
so
Thus the nonnegative multiplier condition rules out
Now we can present KKT conditions, which is necessary for regular points. According to the discussion above, here regular means regular for equality and active inequality constraints.
A feasible point
are linearly independent. This condition is also called the linear independence constraint qualification (LICQ).
A point is called critical if it is not regular.
Consider
Assume that
such that:
- Stationarity:
- Primal feasibility:
- Dual feasibility:
- Complementary slackness:
The multipliers
Define the Lagrangian
where
Then the KKT conditions can be written as
with
Equivalently,
and
16.3. KKT sufficiency for convex optimization
Similar to the Lagrange conditions for equality-constrained problems, for general nonlinear optimization problems, the KKT conditions are necessary under a constraint qualification, but they are not sufficient. But for convex optimization problems, they are also sufficient.
Consider
Assume that
Let
Thus it is enough to prove
By stationarity,
Since each
For inactive constraints, complementary slackness gives
Since
Together with
Therefore
16.4. Examples
Consider
This is a convex problem, so KKT conditions are sufficient.
In addition, there is no critical points, so all optimal solutions must satisfy KKT conditions.
The Lagrangian is
where
From the first three equations,
If
Therefore
Consider
This is a convex problem, so KKT conditions are sufficient.
In addition, there is no critical points, so all optimal solutions must satisfy KKT conditions.
The KKT conditions are
We examine the active sets.
- If both constraints are inactive, then
and , which is infeasible. - If
is inactive and is active, then and . Solving gives and , but this violates . - If
is active and is inactive, then and . The stationarity equations imply and , so , which is infeasible. - If both constraints are active, then
Thus
or . At , stationarity givesso and . At , stationarity giveswhich violates dual feasibility.
Therefore the optimal solution is
Consider
Write the nonnegativity constraint as
where
The corresponding dual problem is
If
The KKT multipliers are
Thus the KKT conditions for linear programming are exactly primal feasibility, dual feasibility, and complementary slackness.
We should notice that it is possible that a convex problem has optimal solutions but KKT condition is unsolved, because KKT is only necessary for regular points, but critical optimal points may exist.
Consider the following problem:
But
16.5. Proof of the necessary conditions
Let
Therefore, locally, the feasible set is determined by
and
Because
Set
It remains to prove
Consider the manifold defined by all equality constraints and all active constraints except
Its tangent space at
By regularity,
Replacing
Multiplying stationarity by
Since
By the regularity of
such that
Then
and
Thus, for all sufficiently small
The curve
Therefore