The L-Shaped Method for Two-Stage Stochastic Programs
The L-shaped method specializes Benders decomposition to two-stage stochastic linear programs with finitely many scenarios. The master problem decides the first-stage variable along with a scalar surrogate for the expected recourse; subproblems decouple across scenarios and generate optimality cuts (from optimal duals) and feasibility cuts (from extreme rays of unbounded duals). Lower and upper bounds tighten until they meet.
Tutorial
The Two-Stage SLP and the L-Shaped Master
A two-stage stochastic linear program with recourse chooses a first-stage decision before random data are observed, then a scenario-specific recourse afterward:
where the recourse function is
With finitely many scenarios occurring with probabilities the expected recourse is
The L-shaped method is Benders decomposition specialized to this two-stage structure. It replaces in the objective by a scalar variable and refines via cuts. The master problem is
augmented with optimality and feasibility cuts.
Two consequences of the structure are essential:
-
Decoupled subproblems. For a fixed candidate each is its own LP — the only coupling across scenarios is through
-
Bounds. The optimal master objective is a lower bound on the true optimum. After solving every subproblem at the quantity is an upper bound. The algorithm terminates when these bounds meet.