Lagrange Multipliers and the Lagrangian

Introduces the Lagrangian function for constrained optimization problems arising in air routing. Covers writing the Lagrangian for single- and multi-constraint problems, sign restrictions on multipliers for inequality constraints, and numerical evaluation of the Lagrangian at given points.

Step 1 of 157%

Tutorial

Introduction: The Lagrangian

In a routing problem with hard side constraints (e.g., crew-time, fuel-budget, fleet-availability), it is often easier to absorb a complicating constraint into the objective using a price called a Lagrange multiplier than to enforce it directly. This is the foundation of Lagrangian relaxation.

Consider the constrained minimization problem

minimizef(x)subject tog(x)=b.\begin{align*}\text{minimize} \quad & f(\mathbf{x}) \\ \text{subject to} \quad & g(\mathbf{x}) = b.\end{align*}

The Lagrangian is the function

L(x,λ)=f(x)+λ(g(x)b),L(\mathbf{x},\lambda) = f(\mathbf{x}) + \lambda\bigl(g(\mathbf{x}) - b\bigr),

where λR\lambda \in \mathbb{R} is the Lagrange multiplier for the constraint.

The quantity g(x)bg(\mathbf{x}) - b is the constraint residual -- it is zero at any feasible point and nonzero when the constraint is violated. The multiplier λ\lambda is the per-unit price charged for that residual.

For instance, with f(x)=4xf(x) = 4x and the constraint x=3x = 3:

L(x,λ)=4x+λ(x3).L(x,\lambda) = 4x + \lambda(x - 3).

At the feasible point x=3x = 3 we have L(3,λ)=12+0=12=f(3),L(3,\lambda) = 12 + 0 = 12 = f(3), matching the original objective. At an infeasible point x=5x = 5 with λ=2\lambda = 2 we have L(5,2)=20+22=24.L(5,2) = 20 + 2 \cdot 2 = 24.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle