Explainer

Ten 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.

Warehouse to Store · 3 / 6

The question argued about most in replenishment meetings is this:

There are 10 units in the warehouse and ten stores want them. Three stores need three units each, the other seven need one each. What do you do?

Everyone has an answer. And the answers usually fall into three groups.

Give to the biggest need first. Three stores get three units each, and the one unit left goes to a fourth. Seven stores go without. The reasoning: there is no point doing half a job, so meet the need properly where there is one.

Give everyone one. All ten stores get one unit, nobody goes without. The reasoning: the product should be in every store at least once, so none of them has to take it off display.

Find a fair measure. Share it in proportion to need, rank by rate of sale, or put whoever missed out last time first.

All three can be defended. I was inside this argument for years too. At the end of the last article I made a promise: first we would check whether this is really your problem. In this article I will tell you what came out when we measured it.

If the warehouse worked like this

To measure rationing, the stock first has to run short. In Lumoda’s published data the warehouse can pick every unit requested, size by size. A real warehouse does not work like that. For this article we added two rules to the warehouse and replayed the same four months under them. Our question: what would have happened if the warehouse had worked like this?

Rule one: stock is held either in packs or loose. EachesStock picked from the warehouse size by size, one unit at a time. Precise, but expensive to pick, and warehouse capacity is limited. are stock whose sizes can be picked one by one. If the store has sold out of M, you send just M. A packA sealed pack of sizes mixed in a fixed ratio. At Lumoda seven units, 1-2-2-1-1 in size order; six for one-size accessories. Cheap to pick, but it does not fit size needs exactly., on the other hand, is sealed: whatever is inside goes. Lumoda’s pack is seven units, 1-2-2-1-1 in size order. In accessories it is six units of the one size. Of the full packs that can be made up from a delivery arriving at the warehouse, we held part loose: 20% in Collection and Outlet, 40% in NOS and Basic. The odd units that do not make up a full pack stay loose too, and the rest is in packs. So loose stock comes out bigger than these shares: when the warehouse buys all of the demand forecast for seasonal products, on the first Monday of the four months 55.6% of the 1,554,337 units in the warehouse were loose.

Rule two: the warehouse can pick only a limited number of eaches a week. We set this cap at 25,826 units a week. We did not count packs against the cap, because the warehouse moves a pack as a single piece.

The loose share, the cap and the picking costs you will see shortly are our assumptions; they do not come from the data. That is why, at the end of the article, we will also change the cap and see how the result changes.

Let me give two definitions up front. Availability is the percentage of days with demand for a size in a store on which that size was on the rail. The lost sales rate is the share of demand that could not be met. Unless stated otherwise, the figures are from the reference point: the warehouse buys all of the demand forecast for seasonal products, the cap is 25,826 units a week, the priority is cover, and the pack rule is A, which I describe below.

We coded all three

In our model the rationing priority is a setting. We wrote all three rules:

  • cover: the store whose stock, even after the delivery, will last the shortest time gets served first. In other words, the store that will sell fastest. This is the core sentence of the series.
  • need: the store with the biggest need gets served first.
  • equal: whoever has received the least that week gets served first. Everyone in turn.

The priority sets the order in two places: when eaches are shared out, and when packs are. We replayed the same four months, on the same demand, changing only this setting:

PriorityAvailabilityLost sales rate
cover65.10%38.89%
need65.28%38.22%
equal64.85%40.57%

There are 0.43 points between the best and the worst. Pars’s sentence, cover, does not even come first. But the gaps are under half a point.

The first explanation that comes to mind is this: a rationing rule only comes into play when there is not enough stock. Perhaps there is always enough. We looked at that too.

The fight breaks out

We cut the buy: let the warehouse buy 40% of the demand forecast for seasonal products. Then, in a trial where we lifted the warehouse constraints altogether (no pack requirement, no cap), we asked: how much of what the stores asked for was not in the warehouse?

18.5% of the requests hit the warehouse’s stock limit. And 44.3% of unmet demand fell on days when the warehouse was empty in that size. With the buy at 100% these figures are 11.0% and 27.2%. So the fight does break out, and often.

We raced the three priorities again in this scarce warehouse, with the constraints back on. With the buy at 40%, cover gives 55.70%, need 55.74% and equal 54.86%. The gap between the priorities went up to 0.88 points, but it is still under one point. With the same priority (cover), raising the buy from 40% to 100% lifts availability from 55.70% to 65.10%.

Pars sums it up like this:

“Before you improve a rule, find the moment it comes into play. If that moment comes, look at how far it moves the result. This rule does come into play, but it doesn’t move the result by even one point.”

There is scarcity, but rationing is not a lever. Who you give scarce stock to is small next to how much stock there is.

Stock in the warehouse, empty rails

Scarcity has another face. Stock can be in the warehouse and still not on the rail.

Let us look at the second half of the four months at the reference point. The warehouse holds 976,335 units of NOS and Basic on an average Monday morning, and the share of SKUs with zero stock is 0.35%. In the same nine weeks, availability in the stores is 60.29% for Basic and 60.42% for NOS. Across the whole four months and all lines, 22.2% of unmet demand falls on days when the warehouse was empty in that size; for the rest, there was stock in the warehouse.

When the rail is empty while the warehouse is full, there are two suspects: either the warehouse cannot get the stock out, or the system is not asking for it.

For the first suspect, let us look at the cap. At the reference point the loose picking cap was full in 17 of the 18 weeks, at 97.9% on average. The warehouse really is working at its limit. But when we lift the constraints altogether (no pack requirement, no cap), availability only goes up to 66.73%. The warehouse constraint costs availability 1.63 points.

We will open up the second suspect in the next article, but the clue is already plain. Every Monday the rule sets a target stock. Together these targets come to only 83.7% of the real demand in the weeks they are meant to cover. The system does not even ask for all of the demand.

The pack is the capacity

We said the warehouse constraint costs 1.63 points. Switch the pack off and the picture changes.

Our instinct says: eaches are precise, and the pack is a constraint. If so, let us switch the pack off altogether and work with eaches only:

Packs + eachesEaches only
Units shipped1,543,082455,172
Packs156,1040
Units in packs1,087,9100
Eaches455,172455,172
Availability65.1%37.8%
Lost sales rate38.9%65.2%
Picking costTRY 7,673,800TRY 4,551,720
Cost per unitTRY 4.97TRY 10.00

With the pack switched off, the stock shipped fell by 1,087,910 units and availability dropped 27.3 points.

The reason is in the table. The eaches are the same in both columns: 455,172. The warehouse cannot pick more than 25,826 eaches a week, and over 18 weeks that makes 464,868 units. A chain working with eaches only runs into the cap and stays there. The rest either goes in packs or does not go at all.

The pack is not a constraint; it is the capacity itself. And it brings the picking cost per unit down to less than half: TRY 4.97 instead of TRY 10.00. These costs are assumptions too: TRY 10 an each, TRY 20 a pack.

Packs are not opened

Ali sees the table and says what is on everyone’s mind:

“If the pack’s this useful, let’s go one step further. If my store only needs the M and the L, let’s open the pack in the warehouse, send the M and the L, and put the rest into loose stock.”

Pars is having none of it:

“When you replenish a store, you don’t open packs. In the warehouse, stock is either in a pack or loose. You look at the loose stock first. If the M and L are there loose, they go loose. If not, you look at packs. If the pack rule allows it, a full pack goes; if it doesn’t, nothing goes that week.”

“What if we did open it?”

“Opening a pack is a separate job. Somebody opens it, sorts the sizes, books the rest into loose stock. That has its own labour and its own cost. And if you send it without opening it, the store gets sizes it didn’t ask for. It needs M and L, but the pack has XS, S and XL in it too. Those sit on the rail, and the store’s stock swells.”

“And if packs need opening all the time?”

“Then the problem isn’t in the warehouse,” says Pars. “Either the order was wrong or the size analysis was. It means you bought packs that don’t fit the stores’ size needs.”

The model we built works the same way. Eaches go first, as far as loose stock and the weekly cap allow. For whatever need is left, a full pack if the pack rule allows it. No pack is ever opened.

When does a pack go?

This is the most neglected decision in replenishment: does this store get a pack or not? You do not send a pack of seven because one size is needed. But you do send it if most of the seven are genuinely needed.

We wrote three rules:

  • A: threshold and surplus. The pack goes if the remaining need reaches a certain share of the pack and the surplus in no size reaches a certain limit.
  • B: coverage share. The pack goes if at least a certain share of the units in it meet a real need.
  • C: both.

We chose the thresholds without looking at the game period, in the same season a year earlier. Our measure was availability and picking cost: the cheapest rule within one point of the highest availability. In A, the remaining need has to reach two-fifths of the pack, and the surplus in no size may reach 3 units. In B, at least half the pack has to match a need. We did not tune C separately; we applied the conditions of A and B together.

One detail matters for understanding the result. Our pack holds at most two units of any size, so A’s surplus condition never comes into play on a pack of seven. In practice, the A we chose says: never mind which sizes the pack brings, send it if there is need for three of the seven. B is stricter. It wants at least four of the seven to meet a need. B is the one closer to Pars’s rule.

Days to sale in the table is the average number of days from a unit reaching the store to its sale, counted over the units sold only:

RuleAvailabilityPacks shippedStore stock at the end of the four monthsDays to sale
A65.1%156,104311,8197.5 days
B58.8%116,647195,9183.4 days
C58.7%115,983195,2823.4 days

There are 6.30 points between A and B. C is only 0.10 points off B. On availability, A is the clear winner. But it gets there with more packs, more stock in the stores and slower-moving stock. Store stock was not part of our calibration measure, and A’s threshold ended up at the loosest value we tried. Had stock been part of the measure, the choice might have changed.

The threshold itself is no small matter either. In the calibration period, raising A’s share from two-fifths to three-fifths took availability down from 65.80% to 56.58%.

What follows from this: the pack rule is a trade-off between availability and stock. Which measure and which threshold you use to decide whether a pack goes makes a difference of several points. A loose rule keeps the rail full more often and leaves more stock in the store. A strict rule keeps stock lean and leaves the rail empty more often.

What is the cap in your warehouse?

Every result in this article rests on one assumption: the warehouse can pick 25,826 eaches a week. We derived the number from Lumoda’s data, but we chose the ratio: we took the cap as a quarter of the replenishment units Lumoda sent its stores in an average week, in the same season a year earlier. Then we changed the cap and replayed the same four months:

CapEaches a weekAvailabilityPicking cost
0.4 times the reference10,33059.91%TRY 5,158,140
0.6 times the reference15,49562.01%TRY 6,046,020
Reference25,82665.10%TRY 7,673,800
1.6 times the reference41,32166.39%TRY 9,726,090
No cap (pack rule in force)—67.11%TRY 13,127,350

As the cap tightens availability falls, and as it loosens availability rises, but by less and less. When the cap goes up to 1.6 times, the constraint costs availability less than a point: only 0.34 points behind the trial with no warehouse constraint at all (66.73%). Even so, the cap still fills in most weeks. The last row, where we lifted the cap altogether and left the pack rule in place, does slightly better than the unconstrained trial.

The picking cost is an assumption too. Had we said TRY 5 an each instead of TRY 10, the reference point would have cost TRY 5,397,940; at TRY 20 it would have been TRY 12,225,520.

Now the question is yours. How many eaches can your warehouse pick a week? A quarter of your weekly shipments, or half? How many units of a SKU are in packs, and how many loose? Warehouse records often do not tell you these directly. What we assumed here, you have to measure in your own warehouse. Without these numbers, the pack rule and the rationing priority are both left hanging in the air.

Three things to take away from this article

One. Even with scarcity, the rationing rule is not a big lever. The gap between the three priorities is 0.43 points with the buy at 100% and 0.88 points with the buy at 40%. Before you argue about who gets scarce stock, look at how much stock there is and how much the system asks for.

Two. The pack is not a constraint; it is capacity. Switching it off drops availability by 27.3 points. But packs are not opened: eaches first, then full packs where the rule allows.

Three. The pack rule is a trade-off. A loose rule gives higher availability, and you pay for it in store stock.

We left one number for later in this article: the rule’s target stops at 83.7% of real demand. In the next article we build the rule-based method from start to finish: the last seven days’ sales, the special-day factor, the three families of safety stock. That is also where we will talk about how to measure the rate of a store that ran out of stock when we cannot see its demand at all. And that is where I start keeping the promise from the first article: we will race the rule against Lumoda’s current method in the same warehouse.

By Sabri Suyunu