44.04.02 · optimization-control / 04-constrained-nonlinear

Penalty and Augmented-Lagrangian Methods

shipped3 tiersLean: none

Anchor (Master): Nocedal & Wright 2006 Numerical Optimization 2e (Springer) Ch. 17 (§17.1 quadratic penalty, §17.2 nonsmooth exact penalty and Maratos, §17.3 augmented Lagrangian, §17.4 practical augmented-Lagrangian / LANCELOT); Bertsekas 1982/1996 Constrained Optimization and Lagrange Multiplier Methods (Athena Scientific) Ch. 1-3 (the method of multipliers, the dual/proximal interpretation, convergence under second-order sufficiency)

Intuition Beginner

Suppose you must find the lowest point of a landscape, but you are only allowed to stand on a single marked path. One honest approach ignores the rule and instead charges a fine for stepping off the path: the farther off you stray, the bigger the fine. Add the fine to the height you are trying to minimize, and now you can roam the whole landscape freely. If the fine is steep enough, the cheapest place to stand is almost on the path, because straying costs too much. This is the penalty idea: replace a hard rule with a soft cost and solve an easier problem with no rules at all.

The catch is the size of the fine. A gentle fine lets you cheat — the best free point still sits a little off the path. To push it onto the path you must crank the fine higher and higher. But a giant fine makes the landscape a steep, narrow canyon: easy to fall into, miserable to find the bottom of precisely. The very thing that forces obedience also makes the problem numerically nasty, so you are caught between a fine too small to obey and a fine too large to solve.

The augmented-Lagrangian method escapes the trap with a smarter fine. Alongside the growing penalty it keeps a running estimate of the price of each rule — how hard the rule pushes back at the true answer, the same multiplier from constrained pricing. After each solve it updates that price estimate using how much you violated the rule. With the price doing the work of pulling you onto the path, the fine itself never has to grow without bound, so the problem stays well-behaved while the answer still lands exactly on the path.

Visual Beginner

Picture a valley (the cost) cut by a single straight path (the constraint). The free bottom of the valley lies off the path. The quadratic penalty adds a parabolic "fine" that grows with distance from the path; raising the fine pinches the combined surface tighter around the path, dragging its minimum toward — but never exactly onto — the path until the fine is enormous.

  cost valley bottom  *  (off the path)
        \         /
         \   *   /          path (constraint c(x)=0)
          \_____/      ======|=========================
                             |
   small fine:  combined min lands HERE  o   (still off path, sloppy)
   big fine:    combined min lands here   o  (closer, but canyon is steep)
   HUGE fine:   on the path . but the surface is a narrow ill-conditioned gorge

   augmented Lagrangian:
     keep a PRICE estimate  lambda  for the path
     after each solve:  lambda  <-  lambda  -  (fine)*(violation)
     the price pulls the minimum ONTO the path with the fine kept MODERATE

method what is added to the cost fine size answer lands on path?
quadratic penalty fine = (μ/2)(violation)² must grow to infinity only in the limit
exact ℓ1 penalty fine = μ·(violation), absolute value finite, above the true price yes, but the fine has a kink
augmented Lagrangian price·violation + (μ/2)(violation)² stays bounded yes, the price does the pulling

The takeaway: a penalty turns a constrained problem into a sequence of free ones, but a pure quadratic penalty must blow up to enforce the rule and so becomes ill-conditioned; carrying a price estimate keeps the fine moderate and still lands the answer on the path.

Worked example Beginner

Minimize the cost subject to the single rule . The free bottom is at , which breaks the rule, so the answer must be pushed to .

Step 1. Build the penalized cost. Charge a quadratic fine for missing : with fine strength , the combined cost is .

Step 2. Find the free minimum. Set the slope to zero: , so , giving .

Step 3. Watch the fine grow. With , — far from the path. With , . With , . The minimizer creeps toward but reaches it only as .

Step 4. Try the augmented version. Carry a price and minimize , whose minimizer is . Start , : . Update the price by the violation, . Re-solve with still : . Update again, , then , then , . The price climbs toward and toward with the fine fixed at .

What this tells us. The pure penalty needs an ever-larger fine to reach ; the augmented version lands on with the fine held at because the price converges to the true value and does the pulling. The price update, not a giant penalty, enforces the rule.

Check your understanding Beginner

Formal definition Intermediate+

Consider the equality-constrained nonlinear program over ,

with twice continuously differentiable; write and let be the constraint Jacobian. Inequality constraints are folded in below. The KKT conditions of 44.02.02 read and , with the multipliers. The penalty parameter is a scalar that scales the violation cost; the sign convention used throughout writes the Lagrangian as .

Definition (quadratic penalty function). The quadratic penalty function is

The quadratic-penalty method minimizes approximately for an increasing sequence , warm-starting each subproblem at the previous minimizer. The function is smooth, so any unconstrained solver applies.

Definition (nonsmooth exact penalty). For the program with equalities () and inequalities (), the penalty function is

a nonsmooth function (kinks where a constraint becomes active) that is exact: for above a finite threshold its local minimizers coincide with those of the constrained problem, with no parameter blow-up. The new symbols (penalty parameter), (negative part), and (augmented Lagrangian, below) are introduced here with these definitions.

Definition (augmented Lagrangian / Hestenes-Powell function). The augmented Lagrangian for the equality-constrained problem is

the Lagrangian shifted by a quadratic penalty. The method of multipliers alternates an approximate primal minimization with the first-order multiplier update

optionally increasing only if feasibility is not improving. For inequalities the shifted (Rockafellar) form replaces each inequality term by , recovering a smooth augmented function whose multiplier update is the projection .

Counterexamples to common slips

  • The quadratic penalty is not exact for finite . Its minimizer satisfies , so forces only as . Stopping at a moderate leaves a residual infeasibility of order .
  • The augmented Lagrangian is exact at finite only because of the multiplier, not the penalty. With , the point is a stationary point of for every ; the penalty merely makes that stationary point a strict local minimizer once exceeds a threshold set by the reduced Hessian, not infinity.
  • The penalty's exactness does not make it easy to minimize. Its nonsmoothness produces the Maratos effect: arbitrarily close to a solution, the full step that a Newton/SQP method wants to take can increase , so a naive line search rejects good steps and destroys fast convergence unless a second-order correction is added.

Key theorem with proof Intermediate+

The signature result pairs the convergence of the quadratic-penalty method to a KKT point with the diagnosis of why it is ill-conditioned, then states what the augmented-Lagrangian multiplier update buys: a bounded penalty parameter. The two are one story — the penalty Hessian's growing condition number and the recovery of the multiplier from are the same fact read two ways.

Theorem (quadratic-penalty convergence and conditioning). Let be a stationary point of with , , . If and the constraint gradients are linearly independent (LICQ), then is a KKT point of the constrained problem, the quantities converge to the KKT multipliers , and the Hessian has condition number growing without bound, .

Proof. Stationarity of reads with (sign absorbed) and . Under LICQ at , has full row rank, so is nonsingular; from and continuity, , a finite limit. Since stays bounded while , necessarily , so is feasible; passing to the limit in the stationarity identity gives . With feasibility and stationarity, is a KKT point and its multiplier.

For conditioning, differentiate again:

Near the term stays bounded (since ), but grows linearly in on the -dimensional range of . Let be an orthonormal basis of and a basis of its orthogonal complement (the row space of ). On the Hessian acts like , with eigenvalues ; on it acts like the bounded reduced Hessian , with eigenvalues . The ratio of the largest to smallest eigenvalue is therefore , so at rate .

Bridge. This theorem builds toward the augmented-Lagrangian method, whose whole purpose is to stop from exploding, and it appears again in every interior-point and penalty-barrier analysis where a parameter driving feasibility scales one curvature direction. This is exactly the obstruction the method of multipliers removes: the quadratic penalty recovers the multiplier only as the limit , paying for it with an condition number, whereas the augmented Lagrangian carries the multiplier explicitly and updates it by , so never has to grow. The foundational reason the conditioning blows up is that the penalty supplies feasibility through a single large curvature on while leaving the reduced Hessian on untouched — the same null-space / range-space split of the KKT system from 44.02.02. Putting these together, the augmented-Lagrangian update is dual to this primal penalty: shifting by pre-cancels the gradient that the penalty would otherwise have to generate by brute force, so a bounded above the reduced-Hessian threshold suffices — the bridge from an ill-conditioned limit to a well-conditioned fixed-parameter iteration.

Exercises Intermediate+

Advanced results Master

Quadratic penalty, its limit multiplier, and the conditioning obstruction

The quadratic-penalty method minimizes over . Its stationary points satisfy , so the scaled residual is the embedded multiplier estimate, converging to under LICQ while [Nocedal & Wright §17.1]. The cost is structural: to leading order, a sum of a bounded reduced Hessian on and an curvature on , so . The split is exactly the null-space / range-space decomposition of the KKT system of 44.02.02: the penalty enforces feasibility by inflating curvature only in the directions the constraint Jacobian sees, and the price is a Hessian whose spectrum spans to . A direct Newton solve on at large loses digits proportional to , which is why the pure penalty method is a pedagogical baseline rather than a production algorithm.

The augmented Lagrangian and the bounded-penalty guarantee

The Hestenes-Powell augmented Lagrangian removes the obstruction by carrying the multiplier explicitly. Completing the square exhibits it as a penalty with a shifted target, , so when the shift aligns the penalty's preferred residual with the feasible point and becomes a strict local minimizer for every above a finite threshold fixed by the reduced Hessian and the smallest singular value of [Bertsekas Ch. 2]. The Hessian at the solution is , positive definite for — a bounded , so the subproblems stay well-conditioned. The first-order multiplier update is gradient ascent on the augmented dual with , and its contraction factor governs the linear rate; increasing (up to a practical ceiling) accelerates the dual without the primal ever needing .

Inequalities, the proximal-point reading, and the dual functional

Inequalities enter through Rockafellar's shifted penalty, whose augmented term is once-continuously-differentiable and whose multiplier update is the projection , keeping automatically. The deepest structural identity is the proximal-point interpretation: the method of multipliers on the primal is exactly the proximal-point algorithm applied to the (concave) dual functional of 44.02.01. Each multiplier update solves , the proximal step on with parameter , so the penalty parameter is the inverse of the proximal regularization weight [Bertsekas Ch. 3]. Convergence of the dual iteration is then the standard proximal-point convergence on a concave function: monotone in dual value, globally convergent for convex programs, and locally linearly convergent at a rate set by the curvature of near — which under the second-order sufficient conditions is precisely on the relevant subspace, the dual Hessian whose conditioning the proximal term tames.

LANCELOT and the splitting variant ADMM

The production form is the bound-constrained augmented-Lagrangian framework of LANCELOT: introduce slacks to turn general constraints into equalities plus simple bounds, minimize the augmented Lagrangian subject only to the bounds by a gradient-projection / trust-region inner solver, then perform the multiplier update and, only if the feasibility residual fails to shrink by a prescribed factor, increase [Nocedal & Wright §17.4]. Inner solves are inexact — terminated when the projected-gradient norm falls below a tolerance — and the outer loop's global convergence holds under MFCQ with the multiplier sequence bounded. The same augmented function admits an operator-splitting variant when the problem is separable, subject to : minimizing jointly over is replaced by alternating minimizations over and then , followed by the multiplier update — the alternating direction method of multipliers, which trades the exact joint primal solve for two cheaper subproblems while keeping the bounded-penalty multiplier logic intact.

Synthesis. The penalty principle is exactly the conversion of a constrained program into a sequence of unconstrained ones, and the central insight of this unit is that the naive quadratic penalty pays for feasibility with an condition number — a single inflated curvature on in the null-space / range-space split of the KKT system from 44.02.02 — so the parameter that forces obedience is the same parameter that wrecks the conditioning. The foundational reason the augmented Lagrangian escapes this is that it carries the multiplier explicitly and updates it by , which is dual to the primal penalty: the multiplier shift pre-cancels the gradient the penalty would otherwise generate by brute force, so a bounded above the reduced-Hessian threshold makes a strict minimizer and keeps every subproblem well-scaled. Putting these together, the multiplier iteration generalises the dual function of 44.02.01 into a convergent algorithm: it is the proximal-point method on that dual, with the proximal weight, and its contraction factor is governed by the second-order sufficient conditions of 44.02.02. This is exactly the engine that appears again in LANCELOT's bound-constrained outer loop, in SQP globalization where the augmented Lagrangian and the exact penalty serve as merit functions (with the Maratos effect as the nonsmooth obstruction a second-order correction repairs), and in the operator-splitting ADMM of 44.06.04, where the same augmented function and multiplier update are minimized blockwise rather than jointly.

Full proof set Master

Proposition 1 (quadratic-penalty convergence to a KKT point). Let approximately minimize with and , and let with LICQ at . Then is feasible and KKT, with .

Proof. From , , write . LICQ gives full row rank, so is nonsingular for large ; left-multiplying by and inverting, . The right side converges (continuity, ) to , finite. Since is bounded and , , so (feasibility). Taking in gives (stationarity). Feasibility plus stationarity with these multipliers is the KKT system of 44.02.02.

Proposition 2 (penalty-Hessian conditioning). Near with LICQ, .

Proof. . As , the middle term is bounded; abbreviate (bounded, symmetric). Let have singular values (LICQ) and let be an orthonormal basis of . For : since , bounded with bounded inverse on the relevant cone. For with : , and . By the min-max characterization the largest eigenvalue of is and the smallest is , so .

Proposition 3 ( exactness). Let be a KKT point with multipliers satisfying the second-order sufficient conditions. For every , is a strict local minimizer of .

Proof. Write . Stationarity gives , so (Taylor, with absorbing the gradient via the Lagrangian). Then

Since , the first two terms are . Decompose with , . If then , the constraint terms are , and by second-order sufficiency on , so the total is . If then for small , and dominates the curvature remainder. In both cases for small.

Proposition 4 (strict minimizer of at finite ). Let be a KKT point with full row rank and reduced-Hessian positive definiteness . There is such that for all , is a strict local minimizer of .

Proof. (KKT stationarity, ). The Hessian is (the term vanishes since ). Claim: for large. Suppose not for a sequence : there are with , i.e. . The first term is bounded, so ; passing to a subsequence , , , so . But then contradicts . Hence for , and with the point is a strict local minimizer.

Proposition 5 (method-of-multipliers local linear convergence, bounded ). Under the hypotheses of Proposition 4 with exact inner minimization, the multiplier iteration converges to linearly with factor for every fixed .

Proof. For near and , is well-defined and by the implicit function theorem applied to , whose Jacobian is nonsingular. Implicit differentiation gives (differentiating in , to leading order at ), so and . The update map has Jacobian . With , the matrix-inversion lemma gives on the range of (where is invertible on the relevant subspace), so , whose spectral radius is as and is for . Hence is a local contraction and linearly with factor .

Connections Master

  • The KKT optimality theory of 44.02.02 is the direct parent: the quadratic penalty recovers the KKT multiplier only in the limit , the augmented Lagrangian carries that multiplier explicitly and its update is exactly KKT stationarity at the current iterate, and the second-order sufficient conditions of that unit are the precise hypotheses under which is a strict minimizer of at finite and the multiplier iteration is locally linearly convergent. The null-space / range-space split of the KKT system there is what localizes the ill-conditioning of the penalty Hessian to .

  • The Lagrangian-duality theory of 44.02.01 supplies the dual reading: the method of multipliers is the proximal-point algorithm on the concave dual function , with the penalty parameter the inverse of the proximal regularization weight, so each multiplier update maximizes . The bounded-penalty guarantee and the global convergence for convex programs are exactly the proximal-point convergence theory applied to that dual, and the optimal multipliers are the sensitivities established in that unit.

  • The alternating direction method of multipliers 44.06.04 is the operator-splitting variant: for a separable objective with coupling , ADMM replaces the joint primal minimization of the augmented Lagrangian by alternating minimizations over and , then performs the same multiplier update . The augmented function, the bounded penalty parameter, and the dual-ascent interpretation developed here are precisely what ADMM inherits; ADMM trades exactness of the joint solve for two cheaper subproblems, gaining decomposability at the cost of a slower (but still robust) convergence rate.

  • Sequential quadratic programming 44.04.03 is the principal consumer of the penalty machinery as a merit function: SQP computes a step from a QP subproblem and must decide whether to accept it, using either the nonsmooth exact penalty or the augmented Lagrangian as the merit function whose decrease certifies progress. The Maratos effect identified here — a good step rejected because it increases the merit function near the solution — is the obstruction SQP globalization must defeat with a second-order correction, watchdog, or augmented-Lagrangian merit, to preserve the fast local rate that the QP step would otherwise deliver.

Historical & philosophical context Master

The penalty idea is old, going back to Courant's 1943 suggestion of replacing constraints by quadratic violation terms, but the modern theory of penalty and augmented-Lagrangian methods crystallized in the late 1960s. The decisive step was taken independently by Magnus Hestenes and Michael J. D. Powell in 1969. Hestenes, working in the calculus-of-variations tradition at UCLA, introduced the multiplier-and-penalty function and the multiplier update in Multiplier and Gradient Methods [Hestenes 1969] (Journal of Optimization Theory and Applications 4, 303-320); Powell, at Harwell, gave the same construction with a numerical emphasis in A Method for Nonlinear Constraints in Minimization Problems [Powell 1969] (in Optimization, ed. Fletcher). The shared insight — augment the Lagrangian with a quadratic penalty and update the multipliers from the constraint residual so the penalty parameter need not diverge — gave the method its alternative name, the method of multipliers.

The theory was unified and extended through the 1970s, principally by R. Tyrrell Rockafellar, who recognized the multiplier iteration as the proximal-point algorithm applied to the dual and handled inequality constraints by the shifted-penalty form, and by Dimitri Bertsekas, whose 1982 monograph Constrained Optimization and Lagrange Multiplier Methods [Bertsekas 1982] became the standard reference for the convergence theory under second-order sufficiency and the dual rate analysis. The nonsmooth exact penalty and the diagnosis of the Maratos effect (N. Maratos's 1978 thesis) belong to the same period and shaped the merit-function design of sequential quadratic programming. The production realization is the LANCELOT package of Andrew Conn, Nicholas Gould, and Philippe Toint, which built the bound-constrained augmented-Lagrangian framework into large-scale software, and the operator-splitting descendant ADMM, traced to Glowinski-Marrocco and Gabay-Mercier in the mid-1970s, re-emerged as a workhorse of large-scale and distributed convex optimization.

Bibliography Master

@book{nocedalwright2006penalty,
  author    = {Nocedal, Jorge and Wright, Stephen J.},
  title     = {Numerical Optimization},
  edition   = {2},
  series    = {Springer Series in Operations Research and Financial Engineering},
  publisher = {Springer},
  year      = {2006}
}

@book{bertsekas1982constrained,
  author    = {Bertsekas, Dimitri P.},
  title     = {Constrained Optimization and Lagrange Multiplier Methods},
  publisher = {Academic Press},
  address   = {New York},
  year      = {1982},
  note      = {Reprinted by Athena Scientific, 1996}
}

@article{hestenes1969multiplier,
  author  = {Hestenes, Magnus R.},
  title   = {Multiplier and Gradient Methods},
  journal = {Journal of Optimization Theory and Applications},
  volume  = {4},
  number  = {5},
  pages   = {303--320},
  year    = {1969}
}

@incollection{powell1969method,
  author    = {Powell, Michael J. D.},
  title     = {A Method for Nonlinear Constraints in Minimization Problems},
  booktitle = {Optimization},
  editor    = {Fletcher, Roger},
  pages     = {283--298},
  publisher = {Academic Press},
  address   = {London},
  year      = {1969}
}

@article{rockafellar1973multiplier,
  author  = {Rockafellar, R. Tyrrell},
  title   = {A Dual Approach to Solving Nonlinear Programming Problems by Unconstrained Optimization},
  journal = {Mathematical Programming},
  volume  = {5},
  number  = {1},
  pages   = {354--373},
  year    = {1973}
}

@article{rockafellar1976augmented,
  author  = {Rockafellar, R. Tyrrell},
  title   = {Augmented Lagrangians and Applications of the Proximal Point Algorithm in Convex Programming},
  journal = {Mathematics of Operations Research},
  volume  = {1},
  number  = {2},
  pages   = {97--116},
  year    = {1976}
}

@article{conn1991lancelot,
  author  = {Conn, Andrew R. and Gould, Nicholas I. M. and Toint, Philippe L.},
  title   = {A Globally Convergent Augmented Lagrangian Algorithm for Optimization with General Constraints and Simple Bounds},
  journal = {SIAM Journal on Numerical Analysis},
  volume  = {28},
  number  = {2},
  pages   = {545--572},
  year    = {1991}
}

@article{gabay1976dual,
  author  = {Gabay, Daniel and Mercier, Bertrand},
  title   = {A Dual Algorithm for the Solution of Nonlinear Variational Problems via Finite Element Approximation},
  journal = {Computers \& Mathematics with Applications},
  volume  = {2},
  number  = {1},
  pages   = {17--40},
  year    = {1976}
}