Explore: Items of Your Own Sharing a Limit

Chapter 4, Multi-Item and Constrained Systems

This page solves the constrained lot sizing problem of Chapter 4 for items you enter: it checks whether the limit binds, finds the multiplier at which the plan uses the whole of the limit and no more when it does, and reports each item’s quantity and cost. It also draws the items’ exchange curve. It starts from the chapter’s investment example; Reset returns to it. The page runs in your browser and records nothing. Its formulas are a restatement in JavaScript of the book’s code, and they are tested against that code.

What This Page Assumes

  • Each item. Constant, known demand, no shortages and instantaneous replenishment, as in the economic order quantity. Enter one item per line as its demand rate, unit cost and ordering cost, separated by commas or spaces. At most 50 items.
  • Holding. A carrying charge \(i\) on the value held, the same for every item, so that \(h_j = i c_j\).
  • The limit. Either average investment, \(\sum_j c_j Q_j/2 \le A\), or replenishments a year, \(\sum_j \lambda_j/Q_j \le A\), or none. One limit at a time.
NoteFor anything else, use the software

A space limit with a volume per unit, holding cost quoted directly rather than as a carrying charge, several limits at once, and joint replenishment are in the code the chapter teaches, in the chapter’s Using the Software section, and the chapter’s workbook solves the same problems with a nonlinear solver.

Your Items

The plot is the items’ exchange curve: each point orders every item in its economic quantity at some price \(\theta\) on investment, and the product of its two coordinates is the same \(S^{2}/2\) at every point. The gray square is your carrying charge, \(\theta = i\); under an investment limit that binds, the red dot is the plan, at \(\theta = i + \theta^{*}\).

Things to Try

  1. The starting items are the chapter’s investment example. The limit binds, every quantity is cut by the same factor, 0.81975, and the plan costs $145.04 a year more than the free plan.
  2. Change the ordering costs to 50, 20 and 80 and choose a limit of 50 replenishments a year: the chapter’s dock example. The factors now differ by item, 1.51215, 2.05340 and 1.34317, because the multiplier joins the ordering cost rather than the carrying charge; and they exceed one, because fewer orders means larger ones.
  3. Raise the investment limit to $13,000. The free plan uses $12,198.77, so the limit no longer binds.