Glossary ยท approach
Wagner-Whitin Algorithm
The classical dynamic-programming algorithm that solves the single-product, uncapacitated, deterministic lot-sizing problem to optimality.
Wagner WhitinDynamic Lot-Sizing
The Wagner-Whitin algorithm was published by Harvey Wagner and Thomson Whitin in 1958 in *Management Science* and is the foundational paper of the lot-sizing literature. It solves the single-product, uncapacitated, time-varying deterministic-demand variant to optimality in O(Tยฒ) (later improvements reach O(T log T)) using dynamic programming. The core idea: the state variable is 'in which period was the last production', and DP evaluates all options backward. The paper also introduces the planning-horizon theorem, allowing the horizon to be truncated safely. Single-product application is straightforward; for capacitated and multi-product variants it is also used as a warm-start heuristic. Modern APS software incorporates Wagner-Whitin as a core module.
รrnek
A food producer plans ice-cream demand over a 26-week horizon with Wagner-Whitin; each weekly suggestion automatically becomes a production order.