Problem
Price optimization looks like two steps: forecast demand at given prices, then search for the best prices. In an offline chain with 1,000+ item groups and 18–20 thousand stores, it breaks. Discounts shift demand between items, the history has few real price changes, and dozens of business constraints alter the optimizer's answer. A large group needs billions of forecasts per run.
Example from the article: a model trained on discounts applied one item at a time predicts a 2–3x demand rise for each item under "30% off everything". Demand mostly moved between items, so the real gain is far smaller.
Solution in brief
The team keeps the forecast-then-optimize pipeline and adds guard rails: caps on predicted demand, price combinations optimized per item cluster, and a penalty instead of a hard price-index constraint. Unhealthy items are frozen, each test has one target, large groups are split by store clusters. The project is R&D, so no business effect is reported.
Questions this case answers
- How to optimize many interdependent prices when the forecast was trained on few price changes and the solver must respect a cap on the weighted change
- How to evaluate a forecasting model whose output feeds an optimizer, when standard regression metrics do not predict the business outcome
- How to stop a demand model from suggesting absurd price cuts or hikes when similar price changes never appeared in the history?
- How to keep a price optimizer from gaming a price-index limit by selling neighboring items at a loss?
Tools and methods
- Price optimization (SLSQP) — constrained price search per item cluster
- Caps on predicted demand — basic, cannibalization, margin
- Penalty on price change — replaces the price-index constraint
- k-means on tf-idf store vectors — splits large local item groups into independent problems
- Soft freezing — fixes a problem item's price but keeps it in group totals
- Inflation normalization, log price — isolates real price changes
Google or a one-time email code. No password.
