Learn · Intermediate
Strongly polynomial algorithms: when runtime ignores numeric magnitude
A strongly polynomial algorithm solves a numeric problem in a number of steps bounded by the problem’s structural size, such as its variables and constraints, rather than by the number of digits in its coefficients. For rational input, the algorithm must also keep intermediate numbers at manageable bit-length; otherwise a small number of enormous arithmetic operations could still take impractical time. The concept matters because it separates combinatorial difficulty from numeric scale.
Imagine two linear programs with the same number of constraints and variables. In one, all coefficients are small integers. In the other, some coefficients have millions of digits. A weakly polynomial algorithm may take more iterations as the number of digits grows. A strongly polynomial algorithm aims for an iteration count that depends only on the dimensions, while also ensuring the arithmetic does not become unboundedly expensive.
Linear programming gives the canonical setting. A linear program asks for values of variables that satisfy linear inequalities while maximizing or minimizing a linear objective. The simplex method, for example, moves among corner points of a feasible polytope, where a polytope is the geometric region cut out by the inequalities. Interior-point methods follow a different route through the feasible region. Their theoretical running times generally depend on both dimension and input precision, which is acceptable for polynomial time but does not meet the stronger magnitude-independent definition.
The two-part definition is essential. First, count the algorithm’s high-level operations: strongly polynomial time requires a polynomial number in the number of variables and constraints, independent of coefficient magnitude. Second, inspect the numbers created along the way. With rational inputs, their binary representation lengths must remain polynomially bounded by the original input size. If an algorithm takes only a few steps but creates a fraction with an exponentially long numerator and denominator, arithmetic cost can dominate. Counting steps alone would give a misleading guarantee.
The term does not mean “fast in practice.” A polynomial in the number of constraints can still be large, implementation choices matter, and memory use can be substantial. It also does not mean the algorithm avoids arithmetic or ignores values entirely. The numerical values shape which solution is correct; they simply should not force the number of algorithmic steps to grow with their encoding length.
Strongly polynomial algorithms are known for some structured optimization problems. For example, special forms of network flow and combinatorial optimization can be solved with dimension-based procedures. General linear programming has long stood out: polynomial-time algorithms are known, but a strongly polynomial algorithm for arbitrary linear programs had been a central open problem. The Nov. 2026 OpenAI manuscript claims a deterministic result for explicitly given LPs over arbitrary real coefficients and gives bit-length bounds for rational inputs. Its Lean scope page describes a narrower rational-program formalization. These are separate evidence statements: the manuscript makes the broad theorem claim, while the repository catalog reports what formalization covers. See also today’s news article.
A useful analogy is planning a road trip. A weakly polynomial algorithm may make more planning decisions when the map contains coordinates written with more digits. A strongly polynomial one bounds the number of planning decisions based on the number of intersections and constraints; it still must handle the coordinates accurately, but it cannot let longer coordinate strings create an uncontrolled number of decisions.
Why care? In optimization, input values often encode prices, capacities, probabilities, or penalties. A bound independent of their magnitude can improve theoretical understanding, suggest more robust algorithm design, and sharpen comparisons between problems. It can also expose that the apparent difficulty comes from numerical precision rather than the structure of the problem.
The caveat is that the label is technical and depends on the computational model. Some definitions count arithmetic operations over exact real numbers; implementations use finite-precision or rational arithmetic. A theorem about operation counts over arbitrary reals does not automatically provide a practical implementation for noisy measurements or floating-point hardware. To assess a new claim, ask which model it assumes, what the step bound depends on, how it controls intermediate values, and which exact problem variant it solves.
For a related distinction, the superpolynomial polytope diameter result concerns a particular route through a geometric graph. It does not by itself rule out strongly polynomial optimization algorithms that use another route. That contrast is the subject of the companion lesson on polytope diameter and LP complexity.
Strongly polynomial linear programming
Key questions
What makes an algorithm strongly polynomial?
Does strongly polynomial mean every arithmetic operation takes constant time?
Why is strongly polynomial linear programming important?
Cite this
APA
Ground Truth. (2026, November 26). Strongly polynomial algorithms: when runtime ignores numeric magnitude. Ground Truth. https://groundtruth.day/learn/strongly-polynomial-algorithms.html
BibTeX
@misc{groundtruth:strongly-polynomial-algorithms,
title = {Strongly polynomial algorithms: when runtime ignores numeric magnitude},
author = {{Ground Truth}},
year = {2026},
month = {nov},
url = {https://groundtruth.day/learn/strongly-polynomial-algorithms.html}
}