Warehouse to Store

This series builds the weekly warehouse-to-store replenishment decision from the ground up: sharing out limited stock, the trade-off between packs and eaches, two methods, one rule-based and one forecast-based, and how success is measured.

Articles in this series

You can read the series from start to finish. If you are short of time, the story and results articles each tell the problem and the outcome on their own; the technical articles carry the whole model and the code.

  1. StoryThe morning pick list

    Putting back the same product that sold. When two people ask for stock from the same warehouse line, a fight breaks out; what ends the fight is not refereeing.

  2. ExplainerHow the replenishment decision is made

    Send stock before it sells, or after? Does the strategy change with the type of product? How much depth do you build before a special day?

  3. ExplainerTen units, ten stores

    The question the industry argues about most is how to share out limited stock. We measured it: even with stock running short, the rationing rule did not move the result by a single point. The real difference came from the pack and from the warehouse's capacity to pick eaches.

  4. TechnicalThe rule-based method

    How the target stock is built, the three families of safety stock, a way to measure the rate of a store that ran out of stock, and the rule's first race against Lumoda's current method.

  5. TechnicalThe forecast-based method, and an honest comparison

    We built a store–option forecast with LightGBM and raced it against the rule. The model was clearly more accurate in its forecasts, but not in its results. What matters is not which one won but where the difference comes from.

  6. ResultsHow successful replenishment is measured

    Days to sale, availability, lost sales, broken sizes. All four are valid measures, but two of them mislead when you look at them on their own. We also look at where the gap that is left against Lumoda's rule at equal stock opens up.