Repeat Order (RPT)

This series builds, from the ground up, the reorder from the supplier of a product that is selling faster than expected in-season: which product is a candidate, the demand hidden behind the stockout days, the race between the lead time and the product’s life cycle curve, the order quantity, and how the incoming stock is allocated to the stores.

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 third Monday

    A product selling faster than expected is good news, but it brings a question with it. How much more would it have sold if there had been more, and if I have it made again, will it arrive in time?

  2. ExplainerHow the RPT decision is made

    Five questions, a calendar and a curve. Why the RPT decision is much more than "is the product a hit?", and where the rule used on the shop floor goes wrong.

  3. TechnicalHow much more would it have sold?

    The demand hidden behind stockout days. Four layers, from raw sales to scaling by the life cycle curve, and how far each one misses real demand.

  4. TechnicalWhich product is an RPT candidate?

    For every Collection product, every week: "is it worth making again?" How the label is defined, the rule, logistic regression and LightGBM, and the cost of a false alarm and of a miss.

  5. TechnicalHow much, and when

    The newsvendor problem, the lead time and the MOQ. The difference between a domestic supplier and the Far East, and the cost of the "half the initial buy" rule.

  6. ResultsThe RPT has arrived, and store sales are zero

    The repeat order is in the warehouse, but the stores' sales over the last four weeks are zero. How should the incoming stock be allocated, and what does the whole chain gain when it all comes together?