Definition:
The Karush-Kuhn-Tucker (KKT) conditions are necessary (and sometimes sufficient) conditions for a solution to be optimal in a nonlinear optimization problem with constraints.

The general problem:
Minimize subject to:

  • Equality constraints: ,
  • Inequality constraints: .

KKT Conditions:
Let be a candidate solution, and let and be the Lagrange multipliers for the equality and inequality constraints, respectively. The KKT conditions are:

  1. Stationarity:

  2. Primal Feasibility:

  3. Dual Feasibility:

  4. Complementary Slackness:

    (If , then ; if , then .)

Intuition:
The KKT conditions generalize the Lagrange Multipliers Method to handle inequality constraints.

  • Stationarity ensures that is a critical point of the Lagrangian function.
  • Primal feasibility ensures that satisfies the original constraints.
  • Dual feasibility ensures non-negativity of the multipliers for inequality constraints.
  • Complementary slackness couples the satisfaction of inequality constraints with their associated multipliers.

Applications:

  • Convex optimization: For convex problems, the KKT conditions are both necessary and sufficient for optimality.
  • Non-convex optimization: KKT conditions are necessary, but not always sufficient.

Lagrangian Function:
The KKT conditions derive from the Lagrangian function:

Special Case (Unconstrained Problems):
If there are no constraints, the KKT conditions reduce to .