Explore: Lot Sizing for Your Own Schedule

Chapter 5, Dynamic Lot Sizing

This page plans a requirements schedule you enter by every method of Chapter 5: the optimal plan by the Wagner-Whitin recursion, the three heuristics, lot-for-lot, the periodic order quantity, and the adjusted economic order quantity. It costs each plan and draws the stock each one carries. It starts from the belt’s year; Reset returns to it. The page runs in your browser and records nothing. Its methods are a restatement in JavaScript of the book’s code, and they are tested against that code on the belt and on thirty other schedules.

What This Page Assumes

  • The requirements. Known for every period of a finite horizon, entered one number per period, separated by commas, spaces or new lines. Zeros are allowed. At most 120 periods.
  • The costs. A fixed cost \(k\) per order and a holding cost \(h\) per unit carried into the next period, both the same in every period. The unit price is constant too, so it is left out: every cost shown is the relevant cost.
  • The system. No shortages, orders available in the period they are placed, and stock starting and ending at zero.
NoteFor anything else, use the software

Costs or prices that change from period to period, a rolling horizon, and the plans of a bill of material are in the code the chapter teaches, in the chapter’s Using the Software section, and the chapter’s workbook builds the same recursion cell by cell.

Your Schedule

The plot shows the requirements as gray bars and the stock carried out of each period under the optimal plan, the solid blue line, and the plan you chose, the dashed red one.

Things to Try

  1. Start from the belt and set month 9 from 0 to 200. The optimum moves its fifth order to month 9 and costs $2,600, and Silver-Meal’s window from month 5 now stops at month 8, because month 9’s requirement makes the cost per month rise.
  2. Enter a flat schedule, twelve periods of 100, with \(k = \$300\) and \(h = \$1\). Every method that orders in windows costs $2,400, whether it orders every two periods or every three; only lot-for-lot, at $3,600, does worse. With the requirement constant, the economic order quantity’s picture is the right one.
  3. Enter a lumpy schedule, 0, 0, 500, 0, 0, 0, 20, 0, 0, 600. The optimum and part-period balancing order in periods 3 and 10 for $680. Least unit cost orders in period 7 for periods 7 through 10 and carries the 600 units three periods, for $2,400: dividing by more units flatters the long window, as the chapter warns.