Omid Golchin · Decision tools

Ordering Policy Tester

Which reorder rule to use at your stage of a supply chain, scored on your cost and on the bullwhip it sends upstream: how much the swings in your orders grow as they pass up the chain. Or play the ordering game and feel it happen.

It answers: which reorder rule to use at your stage of a supply chain (order-up-to, order-up-to with smoothing, or passing orders straight on), and what each costs you and does to the stages above you.

  1. To see the problem first, play a few weeks of the ordering game below. This step is optional.
  2. To choose a rule, open Compare rules, pick the situation closest to yours in the menu beside "Your stage", then set your stage, delays, costs and demand.
  3. Read the recommended rule and its target, then the table ranking the three rules. Before you rely on it, check when to use this tool, and when not.

Your team

The stage you order for. The factory is hardest: it sees swings that have grown at every stage below.
How this computer teammate orders. The anchoring bot copies how real players behaved in Sterman's 1989 experiments.
How this computer teammate orders. The anchoring bot copies how real players behaved in Sterman's 1989 experiments.
How this computer teammate orders. The anchoring bot copies how real players behaved in Sterman's 1989 experiments.
Customers buy from the retailer only. Everyone else sees only the orders placed with them.

Costs, delays and the cost model come from Compare rules. A game lasts 36 weeks: each week you see what arrived and what was ordered from you, then place your order.

The ordering game

Pick your role and teammates, then start. You will place one order a week for 36 weeks; at the end, your cost and bullwhip ratio are set next to the best rule's on the same demand.

Your game's orders by stage

Every stage's weekly orders, with customer demand underneath. In the classic game this chart fans out: steady demand, wild factory orders.

When to use it, and when not assumptions, limits, alternatives

Use it to choose and tune a periodic reorder rule for one stage of a chain that orders from the stage above it every week: a store ordering from a distributor, a distributor from a manufacturer, or to show a team why order swings grow up the chain.

It assumes the following. Each line says what happens to the answer when your case breaks the assumption.

AssumptionIf yours differs
A serial chain of four stages and one product; each stage orders from the one above, and the factory produces.With several suppliers or customers per stage, the bullwhip still builds but the numbers will differ. Use the tool for the main supply route only.
The other three stages follow plain order-up-to.Real partners may anchor or panic like Sterman's players; the Play mode's anchoring bot shows how much worse that gets. The Compare costs are then optimistic.
Order and shipping delays are fixed and known.Delays that vary need extra safety stock the formula does not add. Use your longer, typical delay as a first cut.
Costs are per unit per week (holding and shortage); no fixed cost per order.With a large cost per order, you will want to order in batches: an (s, S) or economic-order-quantity rule fits better.
The factory has unlimited capacity, and stock does not spoil.If the factory is capacity-bound, its queue adds delay the tool ignores; for perishable stock, see the Order Quantity Planner.
Each stage forecasts with a moving average of the orders it receives (or of customer demand when demand is shared).Exponential smoothing or a planner's judgment changes the bullwhip; the forecast-window check shows how sensitive the answer is.
The comparison runs 36 weeks on one of five demand patterns or your pasted series.Rare events longer than 36 weeks are not tested. Paste a longer series to test your own path.

Do not use it for one-off orders of seasonal or perishable goods (use the Order Quantity Planner), for multi-echelon networks with many locations (use a supply-chain planning system), or for production scheduling at a capacity-bound factory.

Where this tool comes from the problem and data it was built on, and how it was generalised

The tool comes out of the Beer Game, the four-stage ordering game from MIT in which demand steps up once and orders swing wildly up the chain (Sterman, 1989), and the research that explained it: forecasting from received orders drives the bullwhip (Lee, Padmanabhan and Whang, 1997), and its size grows with lead time and shrinks with a longer forecast window (Chen, Drezner, Ryan and Simchi-Levi, 2000).

Experiments on this repository's Python engine (results/summary.md) shaped the tool. The classic game's opening stock, not the rules, caused most of the bullwhip first measured, so the chain now opens in steady state. Sharing customer demand cut the factory's bullwhip from ×15.4 to ×4.0. Four anchoring players ran up $1,766 of chain cost against $834 for four order-up-to stages. The forecast window moved the factory's bullwhip more than the choice of rule did (×65 with a 4-week window, ×15 with 8, ×8 with 16, against a factor of about two between rules).

How it was generalised. The game fixes one demand step, one cost pair and four human players. The tool keeps the game as the Play mode, and in Compare turns the game's fixed settings into your inputs (stage, delays, costs, backlog or lost sales, service level, forecast window, demand pattern or your own series), with three textbook rules scored on the same demand.