Lagrangian duality is a framework in mathematical optimization that associates a constrained problem, called the primal problem, with a dual problem whose variables weight the original constraints. For a minimization problem, dual feasible points provide lower bounds on the primal optimal value. Under suitable conditions, the best bound equals that value. The framework connects optimization bounds, optimality conditions, and algorithms, including methods for nonconvex problems. (mit.edu)
Primal problem and dual construction
Consider the primal problem
where , , and is the common domain of the functions. The objective function is ; the constraints determine the feasible set. Its Lagrangian is
The Lagrange multipliers satisfy , while equality multipliers are unrestricted. These signs correspond specifically to inequalities written as . (mit.edu)
The dual function and dual optimal value are
The inner minimization retains the domain , but removes the constraints incorporated into . The dual function can equal , so its effective domain consists of multiplier choices giving finite values. It is concave even when the primal problem is nonconvex: it is a pointwise infimum of functions affine in the multipliers. Thus maximizing it is a convex optimization problem, although evaluating it may remain difficult. (mit.edu)
Weak duality and bounds
For any primal feasible and multipliers with ,
The second inequality follows because equality terms vanish and inequality terms are nonpositive. Taking the supremum over multipliers and infimum over feasible points establishes weak duality:
This requires neither convexity nor differentiability. (mit.edu)
When the optimal values are finite, is the duality gap. More practically, a primal feasible point and dual feasible multipliers give
Their objective difference therefore certifies an upper bound on suboptimality. Equality of their objective values proves that both are optimal, without requiring a separate computation of the unknown optimum. (mit.edu)
Strong duality and constraint qualifications
Strong duality means . It does not hold automatically, even for every convex problem. For convex optimization, the objective and inequality functions are convex functions, equality functions are affine, and the domain is a convex set. Additional assumptions called constraint qualifications can guarantee equality of the optimal values. (stanford.edu)
A central sufficient condition is Slater’s condition: there exists a point in the relative interior of the common domain satisfying the equalities and all inequalities strictly. With a finite primal optimum, this also guarantees attainment of the dual optimum. Refined versions do not require affine inequalities to hold strictly. Strong duality itself concerns optimal values and should be distinguished from whether either optimum is attained. (stanford.edu)
Optimality conditions and saddle points
For differentiable functions on an open domain, the Karush–Kuhn–Tucker conditions comprise primal feasibility, dual feasibility, complementary slackness,
and stationarity,
Stationarity sets the gradient of the Lagrangian with respect to the primal variable to zero. Complementary slackness means a strictly satisfied inequality has zero multiplier. (stanford.edu)
For convex problems, these conditions are sufficient for global optimality; under Slater’s condition they also characterize optimal solutions through the existence of suitable multipliers. More generally, primal and dual optima with zero gap form a saddle point:
for admissible . (stanford.edu)
Example
For subject to , write the constraint as . Direct calculation gives
The infimum over occurs at . Maximizing over gives and , matching and . This illustrates the quadratic dual construction and an exact optimality certificate. (stanford.edu)
Sensitivity and computation
Dual multipliers support sensitivity analysis. If inequalities are perturbed to , and strong duality holds at , optimal multipliers imply
When the optimal-value function is differentiable at zero, its derivative is . The multiplier thus measures marginal sensitivity to relaxing the corresponding bound. (stanford.edu)
In dual decomposition, multipliers separate a problem with a separable objective and coupling constraints into smaller optimization subproblems. A coordinating algorithm updates the multipliers using constraint residuals. This supports distributed computing, but minimizing the Lagrangian at optimal multipliers does not necessarily recover a feasible primal point; primal recovery may require additional procedures. (see.stanford.edu)