Subgradient Ascent for Non-Smooth Duals
Maximize the piecewise-linear, concave Lagrangian dual function using subgradient ascent. Identify subgradients from primal slack vectors, take projected ascent steps to keep the multipliers nonnegative, and choose step sizes using Polyak's rule.
Tutorial
The Dual Function Is Non-Smooth — Use Subgradients
In Lagrangian relaxation we form the dual function
where are the multipliers attached to relaxed inequality constraints .
For each fixed , is affine in . Taking the pointwise minimum over of a family of affine functions produces a function that is concave and piecewise linear — it has kinks at every where the minimizing switches. Ordinary gradient ascent fails at these kinks.
Instead we use a subgradient: a vector is a subgradient of the concave function at if
Geometrically, defines a flat hyperplane that touches at and lies on or above everywhere else.
Key fact. If is any minimizer of , then
is a subgradient of at . The components of are exactly the constraint slacks evaluated at : means relaxed constraint is violated, while means it has slack.
Illustrative computation. Relax the single constraint with multiplier . If at the Lagrangian minimizer is , then
The positive sign says constraint 1 is currently violated, so raising should tighten the dual bound.