The store's problem
A store manager rings on Monday morning, and the problem is born.
Block Transfer · 1 / 7
The worst way to explain an algorithm is to start with the algorithm. You write the objective function, list the constraints, everyone in the room nods, and nobody understands a thing, because there is no problem on the table yet. This series is about Block Transfer: an algorithm that solves store-to-store stock transfers across the whole network. But this first article has not a single line of maths. It has a phone call, a spreadsheet and a list that never gets any shorter. We will not talk about the algorithm until we have seen the problem it solves.
The setting is Lumoda: 80 stores, 1,870 optionsThe combination of a model and a colour; the basic product unit for planning and for transfer decisions.. 15 of the stores are in Istanbul and Ali looks after them; Veli looks after the ones in Anatolia. The stock snapshot is taken every Monday morning: how many units of which product are in which store, size by size. Ali’s week starts with that snapshot.
Monday, 09:20
Ali is off the staff bus, has a tea and has just opened the Monday report. Still on the first page, the desk phone buzzes. The screen says “Istanbul 18”, and Istanbul 18 does not ring at this hour on a Monday to ask how you are.
“Morning, Ali. I need sizes in that khaki cable knit jumper. S and M have sold out. On Saturday three customers tried it on, couldn’t find their size, and all three walked out with nothing. There’s L, XL and XXL on the rail; from across the shop it looks full, but anyone asking for an S or an M I’m sending away.”
Ali types it in: MDL0673-KHK. Cable Knit Jumper, khaki. The Istanbul 18 row is just as the manager said: S and M at zero; nine L, seven XL and five XXL on the rail. And the jumper does sell in this store: 205 units have gone in so far, and 184 have sold. Those who read the previous article will know what this is: a brokenAn option's size set breaking up; its main measure is the net broken-size rate, the number of broken sizes divided by the number of sizes. set. There are 21 jumpers on the rail, but for a customer looking for an S or an M those 21 jumpers might as well not be there.
Ali looks at the same option in the other stores and sees the real picture: Malatya 1 has a full set. All five sizes are on the rail: 13 S, 33 M, 29 L, 12 XL and 16 XXL; 103 jumpers in all. Malatya has been sent 154 of this jumper and has sold 51. The jumper the customer wanted at Istanbul 18 is sitting on Malatya’s rail. It is the company’s stock, all of it, but it is in the wrong city.
Today’s solution is called the phone
So what does Ali do? Today’s honest answer: opens a spreadsheet. Ali pulls a list of candidates from the Monday snapshot with filters of Ali’s own making. Malatya is Veli’s region, so Ali lets Veli know first, then emails Malatya, and when the email goes unanswered, picks up the phone. The Malatya manager has a point too:
“My season isn’t over yet. Winter goes on a long time here; I’ll still be selling this jumper in March. I’ve got all five sizes, and you want me to break my set.”
Veli has a saying for this: “Asking for a transfer is like asking for a loan. Anyone can give one; nobody gives one gladly.” Every manager answers for their own windows, every manager’s bonus comes from their own store’s sales, and none of them sees the whole network. All each one sees is their own stockroom, and in there everything looks needed.
Ask Pelin, who made the plan and has a defence ready:
“The plan wasn’t wrong. It was built on the chain average, and across the chain it came good. But Istanbul 18 isn’t the average, and neither is Malatya 1. There’s no such thing as an average customer; I sent stock to the average, and the real customers turned out to be local.”
Those three sentences are the foundation of this series, so underline them: if replenishment could fill every store to its own real demand, there would be no such job as transfers. The plan is built for the chain; demand is local. The difference builds up as dead stock in one store and as customers walking out empty-handed in another. A transfer is the clean-up of that difference.
One phone call, multiplied
Istanbul 18’s jumper is one case, and as one case it is rather charming: a phone call, a bit of haggling, one carton. Now let’s look at the whole snapshot.
In this Monday’s snapshot 2,687 (store, option) pairs are broken. That is two thousand six hundred and eighty-seven “Istanbul 18 jumpers”, and for each one the question is the same: where do we get it from? Each of them has 79 stores that could be the source. 2,687 × 79 = 212,273 possible moves, just to fix the broken sets; and that is before counting the colours that are not selling at all or the stock piled up in the wrong place. On top of that, the snapshot is renewed every Monday: these two hundred thousand-odd questions live for exactly one week. A question you could not answer does not go away; it comes back next week a little bigger.
How much of it can be done by hand? Closing one pair (look at the report, pick a candidate, talk to the manager, raise the transfer order) takes Ali ten minutes on a good day. 2,687 pairs, 447.8 hours. Ali and Veli have 90 working hours a week between them; if both sat down to nothing but this, it would take five weeks. Yet the snapshot is renewed every week, and transfers are not their whole job. The sums already do not add up at this point; and that is not even the real problem. Veli will name the real problem shortly.
Wednesday, 15:40
On Wednesday afternoon an email lands from Pelin: management has fixed the shipping calendar before markdown. The last big lorry set aside for store-to-store transfers before markdown is loaded on Thursday evening; after that the lorries go over to markdown preparation. There is one afternoon and one day left.
Markdown is what sets the clock for transfers. A full set that goes into markdown melts away in the first three days; a broken set does not sell even at half price, because in the sale the customer is still looking for their own size. Every broken set that misses Thursday evening’s lorry will finish the season where it stands: it will turn customers away until markdown, fail to clear in markdown, then go to the outlet and see its third price there.
Ali and Veli take the list and sit down. Phone calls, haggling, transfer orders. By nine in the evening the counter is at about forty; forty out of 2,687. Veli looks up from the screen and says the real sentence of this article:
“Not keeping up is one thing; I’m used to that. What really bothers me is this: why did we pick these forty? I don’t know. We picked the stores whose managers shouted loudest. If someone asked me tomorrow why Malatya’s jumper went to Istanbul 18 and not to Ankara 3, I’d have no answer. Ankara 3 is one of my stores, and that jumper’s M has sold out there too.”
That is the problem. With transfers done by hand, the trouble is not slowness; slowness is only the part you can see. The real trouble is that the choice made has no reasoning behind it. Nobody looked at the whole network; everyone solved whatever landed in front of them, whoever shouted, whoever they knew. If the forty pairs chosen cannot be defended, neither can the 2,647 pairs that were not.
Let’s give it a name
Moving stock from where it will not sell to where it will, without breaking the size set, is called a store-to-store transfer. In this series, the algorithm that does it not by phone and goodwill but by looking at the whole network, weighing every pair of stores on the same scales, afresh every week, and in a way whose reasoning can be shown when someone asks, we will call Block Transfer.
The business outcome in one sentence: more sales with zero new product. Not one carton out of the warehouse, not one penny to the factory; just moving what is in the wrong place to the right place.
I deliberately wrote no formula in this article; I wanted us to see the problem first. In the next article we will get inside Ali’s head: what does someone actually look at when making a transfer decision, what does “the right store” mean, and what goes on each side of the scales? The formulas come after that, and when they do they will look familiar, because they are all hidden inside this Monday 🙂