Dynamic lot-size model
{{Short description|Mathematical model in economics}}
{{Use dmy dates|date=December 2021}}
The dynamic lot-size model in inventory theory, is a generalization of the economic order quantity model that takes into account that demand for the product varies over time. The model was introduced by Harvey M. Wagner and Thomson M. Whitin in 1958.Harvey M. Wagner and Thomson M. Whitin, "Dynamic version of the economic lot size model," Management Science, Vol. 5, pp. 89–96, 1958Wagelmans, Albert, Stan Van Hoesel, and Antoon Kolen. "[http://repub.eur.nl/res/pub/2310/eur_wagelmans_22.pdf Economic lot sizing: an O (n log n) algorithm that runs in linear time in the Wagner-Whitin case]." Operations Research 40.1-Supplement - 1 (1992): S145-S156.
Problem setup
We have available a forecast of product demand
{{math|dt}} over a relevant time horizon t=1,2,...,N (for example we might know how many widgets will be needed each week for the next 52 weeks). There is a setup cost {{math|st}} incurred for each order and there is an inventory holding cost {{math|it}} per item per period ({{math|st}} and {{math|it}} can also vary with time if desired). The problem is how many units {{math|xt}} to order now to minimize the sum of setup cost and inventory cost. Let us denote inventory:
The functional equation representing minimal cost policy is:
Where H() is the Heaviside step function. Wagner and Whitin proved the following four theorems:
- There exists an optimal program such that I{{math|xt}}=0; ∀t
- There exists an optimal program such that ∀t: either {{math|xt}}=0 or for some k (t≤k≤N)
- There exists an optimal program such that if {{math|dt*}} is satisfied by some {{math|xt**}}, t**
dt}}, t=t**+1,...,t*-1, is also satisfied by {{math|xt**}} - Given that I = 0 for period t, it is optimal to consider periods 1 through t - 1 by themselves
Planning Horizon Theorem
The precedent theorems are used in the proof of the Planning Horizon Theorem. Let
denote the minimal cost program for periods 1 to t. If at period t* the minimum in F(t) occurs for j = t** ≤ t*, then in periods t > t* it is sufficient to consider only t** ≤ j ≤ t. In particular, if t* = t**, then it is sufficient to consider programs such that {{math|xt*}} > 0.
The algorithm
Wagner and Whitin gave an algorithm for finding the optimal solution by dynamic programming. Start with t*=1:
- Consider the policies of ordering at period t**, t** = 1, 2, ... , t*, and filling demands {{math|dt}} , t = t**, t** + 1, ... , t*, by this order
- Add H({{math|xt**}}){{math|st**}}+{{math|it**}}{{math|It**}} to the costs of acting optimally for periods 1 to t**-1 determined in the previous iteration of the algorithm
- From these t* alternatives, select the minimum cost policy for periods 1 through t*
- Proceed to period t*+1 (or stop if t*=N)
Because this method was perceived by some as too complex, a number of authors also developed approximate heuristics (e.g., the Silver-Meal heuristicEA Silver, HC Meal, A heuristic for selecting lot size quantities for the case of a deterministic time-varying demand rate and discrete opportunities for replenishment, Production and inventory management, 1973) for the problem.
See also
- Infinite fill rate for the part being produced: Economic order quantity
- Constant fill rate for the part being produced: Economic production quantity
- Demand is random: classical Newsvendor model
- Several products produced on the same machine: Economic lot scheduling problem
- Reorder point
- Base stock model
References
{{reflist}}
Further reading
- Lee, Chung-Yee, Sila Çetinkaya, and Albert PM Wagelmans. "[http://repub.eur.nl/res/pub/7707/1999-0954.pdf A dynamic lot-sizing model with demand time windows]." Management Science 47.10 (2001): 1384–1395.
- Federgruen, Awi, and Michal Tzur. "A simple forward algorithm to solve general dynamic lot sizing models with n periods in 0 (n log n) or 0 (n) time." Management Science 37.8 (1991): 909–925.
- Jans, Raf, and Zeger Degraeve. "Meta-heuristics for dynamic lot sizing: a review and comparison of solution approaches." European Journal of Operational Research 177.3 (2007): 1855–1875.
- H.M. Wagner and T. Whitin, "Dynamic version of the economic lot size model," Management Science, Vol. 5, pp. 89–96, 1958
- H.M. Wagner: "Comments on Dynamic version of the economic lot size model", Management Science, Vol. 50 No. 12 Suppl., December 2004
External links
- [http://openresearch.wordpress.com/2009/09/03/solving-the-lot-sizing-problem-in-resolver-one-wagner-whitin-algorithm/ Solving the Lot Sizing Problem using the Wagner-Whitin Algorithm]
- [http://eureka-operationresearch.blogspot.com/2011/09/dynamic-lot-size-model.html Dynamic lot size model]
- [https://gist.github.com/tommyod/7d3ee88b7c08fadab6de1ea1e615a925 Python implementation] of the Wagner-Whitin algorithm.