Operations research: turning data into better decisions
In 1943 the Allies wanted to know how many tanks Germany was building each month. Intelligence estimates put production very high. There was a second source, sitting in scrap heaps and repair depots. German tanks left the factory with serial numbers, and the numbers ran in sequence.
A handful of statisticians took the serials from captured and destroyed tanks and worked from that sample back to the size of the whole production run. Their answer was about 245 tanks a month. When German production records were opened after the war, they gave 245.
The episode is known as the German tank problem, and it is usually told as a story about clever statistics. The operations research part is the framing. Nobody counted tanks. The question was recast so that a sample could answer it, and so that the answer could carry a decision. That recasting is what the wartime teams added: mathematicians taken out of the classroom and asked for something a commander could act on.
What operations research is
Operations research (OR) applies mathematics, statistics and computational models to decisions made with limited means, competing objectives and incomplete information. The question keeps the same shape. Given what we have and what we want, what is the best thing to do?
The discipline grew out of the Second World War, when mathematicians, physicists and engineers were put in rooms with officers. They were asked where radar sets should go, how aircraft should be routed, how supplies should move, and how scarce equipment should be shared out. After the war the same methods went into industry, government, manufacturing and transport.
Where you meet it
Navigation is the easiest case to see. A route planner treats the road network as nodes and links, weighs each link by distance or travel time, and runs an algorithm such as Dijkstra's or A* over the result. Traffic changes, so modern systems recalculate while you drive.
The travelling salesman problem asks for the shortest tour through 20 addresses and back home. It looks harmless and gets hard quickly, which is why delivery companies, logistics planners and manufacturers keep meeting it.
Airlines fit aircraft, crews, airport slots and passenger demand together without breaking safety rules, crew duty limits or the commercial plan. The allocation is OR work.
Retailers and manufacturers decide how much stock to hold, where to hold it and how to move it. The models trade inventory cost against delivery time, storage capacity and expected demand.
Where AI comes in
OR and AI are usually discussed as separate fields. In practice they answer different halves of the same question.
A navigation system shows the split. AI predicts traffic from historical patterns and live observations. OR takes those predictions and computes a route that respects distance, time and the shape of the network. Prediction without optimisation gives you a number. Optimisation without prediction gives you a route through yesterday's traffic.
The same pairing works in supply chains, financial planning, manufacturing, healthcare and resource management. Machine learning estimates what is likely to happen, and operations research decides what to do about it.
Prediction alone does not produce a good decision. Knowing that demand will rise is useful. Deciding how much extra stock to buy, where to put it and which resources to shift is another problem, with its own methods.
That is why the systems worth building are not "AI systems" as such. They combine learning, statistics, data work and optimisation, and they run the loop again and again: observe, predict, weigh the alternatives, choose. Let a model run that loop on its own, with tools and the authority to act, and it becomes agentic AI.
AI tells you what is happening and what is likely next. Operations research tells you what to do about it.