
The Answer Is in a Corner
Operations research, the simplex method that has planned airlifts, factories, TV schedules and film shoots since 1947, and the AI-written papers of November 2026 that claim to settle two of the oldest open questions about it.
Mathematics · Optimisation · 13 min
Every producer does this sum by instinct. The grading suite has only so many hours this week, graphics has only so many, the delivery desk can check only so many masters, and two kinds of work are competing for all three. How many promos and how many episodes should the house take on to earn the most? **Operations research is the field that turns a question like that into mathematics, and the simplex method is the algorithm that has been answering it since 1947.** This post explains both with pictures you can drag, shows where they run in the real world, a film set included, and then covers the news: on 24 November 2026 OpenAI published two papers, written by one of its AI models, that claim to settle questions about the simplex method that had been open for decades.
Research into operations
The name is literal. In the late 1930s the British military put scientists beside the officers who ran radar stations, convoys and bomber squadrons, and asked them to research the operations themselves. How large should a convoy be? At what depth should a depth charge explode? The answers came from counting and arithmetic, not from rank or habit. After 1945 the same way of thinking moved into factories, airlines, hospitals and broadcasters. Britain still calls it operational research and America calls it operations research; everyone shortens it to OR.
Almost every OR problem has the same three parts. There are the things you are free to choose, called **decision variables**: how many promos, how many episodes. There are the limits you must respect, called **constraints**: hours, people, money, deadlines. And there is one number that says how good a plan is, the **objective**: profit to push up, or cost to push down. When the objective and every constraint are straight-line relationships, so that twice as many promos need exactly twice the grading hours, the problem is called a **linear programme**. The word is older than software: in the 1940s a programme meant a plan or a schedule.
A plan is a point, a limit is a line
Look at Fig. 01 as geometry. Every possible week is a point: so many promos across, so many episodes up. Each limit rules out everything on the far side of a straight line. A promo needs one hour in the grading suite and an episode needs three, and the suite has 36 hours, so every allowed week sits on or below the line where promos plus three times episodes equals 36. Graphics draws a second line and the delivery desk a third. What survives all of them is the lit five-sided shape, the **feasible region**.
Now the money. Suppose a promo earns 3 and an episode earns 2, in whatever currency you like. All the weeks that earn the same total lie on one straight line, the dashed one, and raising the total slides that line outward without turning it. The last point it touches before it leaves the shape is the best possible week. Unless the line happens to be parallel to an edge, that last point is a **corner**. This is the fact the whole subject stands on: out of infinitely many possible plans, only the corners ever need to be checked.
A corner is also where the business advice is. The best week in Fig. 01 uses every graphics hour and every delivery slot and leaves eight grading hours idle. The readout prices that: one more delivery slot would earn another 1.5, one more graphics hour 0.5, and one more grading hour nothing at all, because the suite is not what is holding the week back. Economists call these **shadow prices**. They come free with the answer, and they are often worth more than the answer itself, because they tell you which bottleneck is worth spending money on.
Walk the corners
Checking every corner works for a five-sided shape. It does not work for an airline, where the plan has hundreds of thousands of variables, the shape lives in as many dimensions, and the corners can outnumber the atoms in the universe. In 1947 George Dantzig, a mathematician working on planning for the US Air Force, found a way not to check them all. Start at any corner. Look along the edges that leave it. If one of them goes uphill, towards a better total, walk along it to the next corner and look again. When no edge goes uphill, stop. Because the shape has no dents, a corner that beats all its neighbours beats every other point too. That is the **simplex method**.
On paper the walk is done in a table of numbers called a tableau. Each step, called a pivot, brings one activity into the plan and runs one limit to its end, and the bottom row of the table always says which moves would still pay. Step through Fig. 02 and watch the table and the picture make the same journey.
With three kinds of work the feasible region becomes a solid with flat faces, a **polytope**. With a thousand kinds it is a polytope in a thousand dimensions, impossible to draw and perfectly possible to compute. The method does not change: corner, uphill edge, next corner.
Fast in practice, slow on paper
Here is the strange part. For almost eighty years the simplex method has been fast on nearly every real problem anyone has given it: the number of steps usually stays within a small multiple of the number of constraints. Yet in 1972 Victor Klee and George Minty built a deliberately twisted cube on which Dantzig's rule visits every single corner before it reaches the best one. Choose the Klee–Minty cube in Fig. 03: the best corner is one edge from the start, and the rule takes seven steps to get there. In *n* dimensions the count is 2ⁿ − 1, which doubles with every dimension added.
That gap between theory and practice drove half a century of research. In 1979 Leonid Khachiyan proved that a linear programme never has to take exponentially long, using a completely different idea called the ellipsoid method, which was beautiful and far too slow to use. In 1984 Narendra Karmarkar found a method that was fast both on paper and in practice, by cutting straight through the middle of the shape instead of walking around its skin. Today's commercial solvers carry both an interior-point method and the simplex method and pick whichever suits the problem.
And why does the simplex method behave so well on real problems? In 2001 Daniel Spielman and Shang-Hua Teng gave the first good answer: the bad cases are fragile. Nudge the numbers of any problem by a tiny random amount, as measurement error and rounding do to every real problem anyway, and the long walks disappear. In 2025 Eleon Bach and Sophie Huiberts sharpened that analysis as far as it can go; another researcher called their result the first really convincing explanation of why the method is so efficient in practice.
November 2026: two old questions
Two questions were still open. The first is about the walk itself: is there any rule for choosing the next edge that guarantees a short walk on every problem? That depends on pure geometry. A walk can never be shorter than the distance between its start and its finish, so everything hangs on how far apart two corners of a polytope can be, counted in edges. In 1957 Warren Hirsch guessed that a shape in *d* dimensions with *n* flat faces never needs more than *n* − *d* steps: three for a cube, which has six faces in three dimensions. In 2010 Francisco Santos found a 43-dimensional shape that needs one step more, but a gentler version of the guess survived, that the distance never grows faster than some fixed power of *n*. That is the polynomial Hirsch conjecture.
The second question is the ninth on a list of problems for the twenty-first century that the mathematician Stephen Smale drew up in 1998. Every method that comes with a guarantee of speed takes longer when the numbers in the problem have more digits. Is there one whose number of steps depends only on how many variables and constraints there are, however long the numbers? Such a method is called strongly polynomial.
On 24 November 2026 OpenAI added two manuscripts to its public mathematics repository, each written by an internal AI model that the company does not name. The first builds polytopes whose farthest corners are more than any fixed power of *n* apart. If it is right, the polynomial Hirsch conjecture is false, and no rule for choosing edges can promise a short walk on every problem, because on these shapes even the shortest route is too long. The second claims the opposite kind of result: an algorithm that answers Smale's question with a yes, and does it by not walking along the edges at all.
Both papers come with proofs written in Lean, a language in which a computer checks every logical step, and neither has been through peer review. A machine check shows that a formal statement follows from the axioms; whether that statement means exactly what mathematicians meant is still for people to confirm, and for the new algorithm the checked part covers only problems whose numbers are fractions. Gil Kalai, who ran a public collaboration on this very conjecture in 2010, wrote four days later that the polynomial Hirsch conjecture "is false" and that the paper is "well written". The same release carried a claimed answer to another old question about a basic algorithm: how fast two tables of numbers, two matrices, can be multiplied, the operation at the heart of every solver, every 3D transform and every colour matrix in a grading system.
What changes for the people who use these tools? This week, nothing. Solvers are no slower than they were. The long walks in the new polytopes are constructions for enormous *n*, not shapes that turn up in a delivery schedule, and the 2025 analysis already explains why real problems behave. What changes is the map. If the papers hold, the idea of walking edges has a ceiling that no cleverness can lift, and a method without that ceiling exists. Whether it will ever be practical is an open question. The ellipsoid method never was; Karmarkar's was within a few years.
Where it runs
You have almost certainly used the result of a linear programme today. A short list, with numbers where they are on record:
- **Food.** The first famous linear programme was a diet. In 1945 the economist George Stigler looked for the cheapest mix of 77 foods that met nine nutritional needs and, by inspired guesswork, found one costing $39.93 a year at 1939 prices. In 1947 nine clerks with desk calculators spent about 120 working days between them putting the same problem through the brand-new simplex method. The true minimum was $39.69. Animal-feed makers still solve the same kind of problem every time grain prices move.
- **Fuel.** Oil refineries were among the first industries to adopt linear programming, in the early 1950s, to decide how to blend their products. Most of the industry has planned that way ever since.
- **Flights and parcels.** Airlines assign aircraft to routes and crews to aircraft with linear programmes that have millions of variables. UPS said in 2015 that its route-planning system, ORION, would save about 100 million miles of driving and 10 million gallons of fuel a year once it covered every US route.
- **Television.** Between 1996 and 2000, optimisation systems that planned and scheduled commercials for the US network NBC increased its revenue by more than $200 million, according to the team that built them.
- **Power, medicine, sport.** Which power stations run in each hour, how the beams of a radiotherapy machine are aimed and weighted, and which team plays where in a league season are all planned with the same family of methods.
The simplex method is inside most of these, often as the engine of something larger. When an answer must be a whole number, because nobody can fly 0.4 of an aircraft, the solver works through thousands of ordinary linear programmes on the way to it, each one a small change from the last, and simplex is very good at picking up where it left off.
The stripboard is an optimisation problem
Film production has a classic OR problem of its own. An actor is usually paid from the first day they shoot to the last, including the idle days in between, which are called hold days. Scenes can be shot in almost any order. Which order of shooting days costs the least? In 1993 T. C. E. Cheng, J. E. Diamond and B. M. T. Lin wrote it down formally, in a paper titled "Optimal scheduling in film production to minimize talent hold cost", and showed that it belongs to the class of problems called NP-hard: the number of possible orders explodes, and no known shortcut works every time.
A first assistant director does this by eye, with limits no model captures: weather, a location that is free for only two days, a child actor's permitted hours. The mathematics does not replace that judgement. It tells you how far from the best possible schedule you are, and which constraint is costing the money. The same is true of a post schedule. Render-farm hours, suite bookings and delivery dates are constraints, finishing on time with the least overtime is an objective, and once those are written down a free solver will find the corner.
Eighty-seven years of corners
- **1939.** Leonid Kantorovich, in Leningrad, writes production planning as what is now called a linear programme. The work is ignored for years.
- **1945.** George Stigler publishes the diet problem and solves it by hand, without a general method.
- **1947.** George Dantzig invents the simplex method while planning for the US Air Force.
- **1957.** Warren Hirsch asks how far apart two corners of a polytope can be.
- **1972.** Victor Klee and George Minty show that Dantzig's rule can need exponentially many steps.
- **1975.** Kantorovich and Tjalling Koopmans share the Nobel Memorial Prize in economics for the theory of the best use of resources.
- **1979.** Leonid Khachiyan's ellipsoid method proves that linear programmes can always be solved in polynomial time.
- **1984.** Narendra Karmarkar's interior-point method is fast in theory and in practice.
- **2001.** Daniel Spielman and Shang-Hua Teng explain why simplex is usually fast: its bad cases do not survive small random changes.
- **2010.** Francisco Santos disproves Hirsch's original guess with a 43-dimensional counterexample.
- **2025.** Eleon Bach and Sophie Huiberts pin down how fast the simplex method can be under small random changes.
- **2026.** OpenAI preprints, written by an AI model, claim that the polynomial Hirsch conjecture is false and that a strongly polynomial algorithm exists.
Sources and further reading
- George B. Dantzig, *Linear Programming and Extensions* (Princeton University Press, 1963)
- George J. Stigler, "The Cost of Subsistence", *Journal of Farm Economics* (1945)
- Victor Klee and George J. Minty, "How good is the simplex algorithm?", in *Inequalities III* (Academic Press, 1972)
- Daniel A. Spielman and Shang-Hua Teng, "Smoothed analysis of algorithms: why the simplex algorithm usually takes polynomial time", *Journal of the ACM* (2004)
- Francisco Santos, "A counterexample to the Hirsch conjecture", *Annals of Mathematics* (2012)
- Steve Nadis, "Researchers Discover the Optimal Way To Optimize", *Quanta Magazine* (13 October 2025)
- OpenAI, "Superpolynomial graph diameter of simple polytopes" and "Strongly polynomial linear programming", preprints at github.com/openai/math (24 November 2026)
- Gil Kalai, "The Polynomial Hirsch Conjecture Is False and Other Big News on Linear Programming", *Combinatorics and more* (28 November 2026)
- S. Bollapragada and others, "NBC's Optimization Systems Increase Revenues and Productivity", *Interfaces* (2002)
- T. C. E. Cheng, J. E. Diamond and B. M. T. Lin, "Optimal scheduling in film production to minimize talent hold cost", *Journal of Optimization Theory and Applications* (1993)
- UPS, press release on the ORION route-planning system (2 March 2015)
*Every figure is drawn and solved live in your browser by a small simplex solver written for this post. The post house, its prices and the stripboard are invented examples. The November 2026 papers are preprints written by an AI model and had not been peer reviewed when this was written, on 4 December 2026.*