In physics, engineering, operations research, and machine learning (Support Vector Machines, Maximum Entropy models, portfolio optimization), optimization problems rarely occur without constraints. Resource bounds, energy limits, and regulatory boundaries restrict the space of allowable solutions.
The Method of Lagrange Multipliers and its generalization to inequality constraints—the Karush-Kuhn-Tucker (KKT) Conditions—provide the analytical foundation for solving non-linear constrained optimization problems.
+-----------------------------------------------------------------------------------------------------------------------+
| OPTIMIZATION PROBLEM TAXONOMY |
+-----------------------------------------------------------------------------------------------------------------------+
| Problem Class | Objective & Constraints | First-Order Optimality | Common Applications |
+------------------------+----------------------------------------+----------------------------+------------------------+
| Unconstrained | min f(x) | grad f(x) = 0 | Gradient Descent, OLS |
| Equality Constrained | min f(x) s.t. g(x) = 0 | grad L(x, lambda) = 0 | Classical Mechanics |
| General Non-Linear | min f(x) s.t. g=0, h <= 0 | KKT Necessary Conditions | SVMs, Optimal Control |
| Convex Optimization | Convex f, h + Affine g | KKT Necessary & Sufficient | Markowitz Portfolio Opt|
+-----------------------------------------------------------------------------------------------------------------------+
Consider minimizing f(x, y) subject to equality constraint g(x, y) = c.
Level Curves of f(x, y) [f = 10, 20, 30]
/ / /
/ / /
Constraint Curve g(x, y) = c
+--------*--------+
|
Tangency Point (x*, y*)
grad f = -lambda * grad g
At the optimal point (x^*, y^*), the level curve of the objective function f must be tangent to the constraint contour g = c. Their gradient vectors must be collinear:
where \lambda \in R is the Lagrange Multiplier.
For a general non-linear optimization problem minimizing f(x) subject to g_i(x) = 0 (i = 1, \dots, m) and h_j(x) \le 0 (j = 1, \dots, p), the Lagrangian Function is:
Any local minimum x^* must satisfy: