Karuch-Kuhn-Tucker Conditions
The Karuch-Kuhn-Tucker (KKT) conditions are first order necessary conditions for finding the solution of an optimization problem in the form Furthermore, they are also sufficient conditions for convex problems, i.e. those where , are convex and is affine (linear) [Boyd2004].
A solution satisfying these conditions gives us not only but also the Lagrange multipliers and present in the Lagrangian
The conditions are as follows:
-
stationarity (The linear combination of the constraints' gradients has to be equal to the objective function's gradient.)
-
primal feasibility (Constraints of the stated optimization problem have to be satisfied.)
-
dual feasibility (For a given , the columns of define a polyhedral cone in which must lie.)
-
complementary slackness (If lies inside the feasible set w.r.t to the condition , then and therefore .)
Physical interpretation
The KKT conditions can be intuitively derived though an analogy where is a potential field, for example of gravity of magnetism. Let us first address only the inequality constrained case where the inequality constraints can be regarded as physical barriers. If we then recall the Lagrangian the multipliers and can be viewed as contact forces acting against the influence of the potential field.
From this analogy we can immediately recover the dual feasibility and complementary slackness conditions (4-5) as contact forces can only be positive and do not act at a distance. The stationarity condition (1) (without the term related to the equality constraint) can then be interpreted as the contact forces and the pull of potential field being in equilibrium, which must occur at a local minima. Lastly, we are considering only solutions within the bounds of the inequality constraints, as if we were initially placed within them, satisfying the primal feasibility condition (2).
To incorporate equality constraints into this analogy we can simply reformulate them as likening them to being sandwiched between two surfaces. As we are always in contact there is no need for a complementary slackness condition and due to its bi-directional nature, elements of can be both positive and negative. Therefore we must only include a primal feasibilty condition (2) and add an additional term to the stationarity condition (1).