Explore: Planning the Belt’s Year

Chapter 5, Dynamic Lot Sizing

This explorer plans the mower deck belt’s twelve months of Chapter 5 by every method the chapter compares, and costs each plan. The requirements run from 40 belts in month 1 to 420 in month 5, fall to none in month 9, and climb again to 220 in month 12. Holding a belt for a month costs \(h = \$1.00\), and an order costs \(k = \$300\); move \(k\) and watch the plans change.

Recall that the window cost \(w(t, u)\) is the cost of ordering in month \(t\) for months \(t\) through \(u\): the ordering cost plus a month of holding for every belt for every month it waits. The Wagner-Whitin recursion builds the least cost to cover months 1 through \(t\),

\[ V(t) = \min_{1 \le s \le t}\left\{V(s-1) + w(s, t)\right\}, \qquad V(0) = 0, \]

and the three heuristics extend one window at a time until a rule says stop. Every cost on this page is the relevant cost; the purchase cost is the same under every plan. 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. For a schedule of your own, use the general explorer.

The Plans

The recursion, one month at a time. Each \(V(t)\) is the least cost of covering months 1 through \(t\), and \(s\) is the month whose order covers month \(t\) in that least-cost plan. Reading the \(s\) row back from month 12 gives the optimal order months.

The plot shows the requirements as gray bars and the stock carried out of each month under the optimal plan, the solid blue line, and the plan you chose, the dashed red one. Every belt-month above zero costs $1; notice where the chosen plan carries stock the optimal one does not.

Things to Try

  1. At \(k = \$300\) the optimum orders in months 1, 4, 5, 6, 10 and 12 for $2,480. Silver-Meal costs $2,660, least unit cost $3,040, and part-period balancing $2,600, the chapter’s comparison.
  2. Draw Silver-Meal. Its order of 840 belts in month 5 covers months 5 through 9 and carries 420, 160 and 40 belts out of months 5, 6 and 7. Each added month had a small requirement, so the cost per month kept falling and the rule never stopped.
  3. Notice that every heuristic orders five times and the optimum six. They lose by ordering too seldom, not too often.
  4. Move \(k\) to $100 and then to $1,000. At both, Silver-Meal lands on the optimum, at $1,000 and $5,380. Its shortfall at $300 belongs to this schedule at that cost, not to the rule.
  5. At \(k = \$100\), lot-for-lot is only 10% above the optimum; at $1,000 it is more than twice it. Ordering every month is reasonable only when an order is cheap.

Check What You Found

Check what you found

1. At \(k = \$300\) the optimal plan for the belt orders six times for $2,480, and Silver-Meal orders five times for $2,660. Where does Silver-Meal lose the $180?

2. Move \(k\) from $300 to $1,000. Silver-Meal now places the same orders as the optimum, at the same cost. What does that show?