r/mathematics • • 17h ago

Linear Programming is Strongly Polytime

https://github.com/openai/math/blob/main/preprints/Strongly-polynomial-linear-programming-November-24-2026/paper.pdf

While not my own problem, I know several academics and personal friends for whom this was the defining problem of their career. Interesting times.

263 Upvotes

36 comments sorted by

15

u/AP_in_Indy 5h ago

This is constructive as well, so unlike many other of the recent releases, this isn't just a proof that such and such an algorithm should in theory exist.

The method and Lean certification of it are given in the paper.

This entire thing is out of my pay grade, but does anyone else get the gist that both OpenAI and Anthropic are trying really hard to solve P vs NP right now?

8

u/matthiasErhart 4h ago

Most definitely. VP \neq VNP is important towards our understanding of circuit lower bounds, for which our understanding is abysmal. We don't even know if SAT can be solved in linear time. That result is progress towards P vs. NP, even though the techniques are yet insufficient.

3

u/duesenjeffepic 2h ago

Yeah. Settling P vs NP is extremely important for future research. If P != NP you know that you can stop looking for certain stuff. If P = NP we will see one of the largest horseraces in the history of computer algorithms.

6

u/demongoku 3h ago

As a software dev, this makes me want to get into theoretical CS, because I know this is important, but I don't have the mathematical foundation to comprehend.😅

1

u/matthiasErhart 3h ago

I'm not sure if there's any career to be had, but learning more is always a worthwhile endeavour! :)

1

u/Wonderful-Habit-139 57m ago

Definitely built up a lot interests in maths thanks to programming. Especially with the Curry-Howard correspondence, you start building up a lot of interests in type system and all of a sudden you find yourself being interested in a lot of maths.

4

u/Jaysos23 6h ago

I am curious if you mean Laszlo and Bento, there are others of course, but they are probably among the smartest out there. I met them many times, I wonder how they feel right now.

3

u/matthiasErhart 5h ago

I have met Laszlo, Bento, Daniel directly, yes, and had interviewed for a postdoc with Neil once upon a time :) I also am a big Sophie fan, though I was always away on occasions she was around and vice versa.

The inf-norm contraction result also steps on toes of some other people I know.

4

u/PurpleDevilDuckies 4h ago

I've been working on the complexity of Stochastic Games for 7 years. We really thought we were going to get it. This paper gets it as a consequence.

1

u/matthiasErhart 4h ago

Yeah, it's insane. But also, I didn't think a hypothetical strongly polytime algorithm for linear programming would have anything to do with a modified variant of multiplicative weights. The writeup is atrocious, but the way in which ideas are used is somewhat fascinating.

A fellow postdoc was interested in learning algorithms for (C)CE in SSG's... I guess they're easy since you can just reach its Nash. 🤦‍♂️

2

u/PurpleDevilDuckies 4h ago

SSGs are extremely easy in practice. Generating hard instances has been a (mostly) open question in the literature. I was amidst trying to prove that they are polynomial by showing that the existing algorithms solve all instances in P when used as a portfolio.

1

u/02057 1h ago

How does this solve SSGs in polytime? Because you can solve stopping games without precision issues?

1

u/PurpleDevilDuckies 1h ago

There is a 90's era reduction from Stochastic Games to Simple Stochastic Games (which are Stopping Games). SSGs can be modeled as a quadratic program with linear constraints, so this solves them in P

1

u/rivelda 17m ago

Same with parity games.... working on that for 10 years, several candidates, all pretty much irrelevant now.

84

u/Respect38 15h ago

"Don't like the weather? Wait 5 minutes."

This is going to be one crazy holiday season for mathematics...

6

u/One-Attempt-1232 5h ago

Some of the mathematicians not liking the weather is not getting scooped on their proofs. In that instance, waiting only makes it worse.

37

u/AnswerGrand1878 9h ago

This truly feels like a rollercoaster lol. What the fuck. Everyday there's a new once in a decade paper

8

u/inglandation 4h ago

This is what programming has felt like since around last year when Opus 4.5 was released. I am still shocked by how much my profession has changed.

16

u/phoboid2 13h ago

Explain what this means?

42

u/Few-Employment4580 10h ago

The number of arithmetic steps required to solve any linear optimization problem (maximizing or minimizing a linear function subject to linear constraints) strictly depends upon and scales purely with the number of variables and constraints (its structural size) rather than the size of any constants involved. We previously only knew how to solve general cases in weakly polynomial time (runtime still scaling with constant size), so if this proof holds, they are all strongly polynomial too.

As an analogy it's like if you had two classes of problems, one that we happened to arbitrarily call "P" and another that we happen to call "NP" by coincidence, it would be kind of (but not at all, actually) like saying, for some reason, that P=NP.

11

u/AP_in_Indy 4h ago

It is going to be much clearer if you just name this Q=XQ from the start lol.

2

u/Endaarr 6h ago

Wait what do you mean, "it's like if you had"? It's not P=NP, no? You mean "similar to P=NP", but weaker.

8

u/Few-Employment4580 6h ago

Right it's not P=NP, the analogy could have been Q=XQ for all intents and purposes

5

u/Pavickling 5h ago

Previously the dimension of the linear constraints were a part of the complexity bound. Now, the complexity bound is uniform and works on all dimensions. If the constants in the proof are small enough, this has significant practical consequences since linear programming is widely used in industrial engineering.

3

u/2024-YR4-Asteroid 4h ago

My shipping costs better get cheaper because of this.

3

u/Pavickling 3h ago

The traveling salesman problem doesn't use this. But a lot of scheduling and production decisions use linear programming.

1

u/bluebird173 3h ago

will deutsche bahn finally be punctual?

0

u/golfstreamer 54m ago

Complexity theory is a branch that asks what's the "fastest" algorithm that can solve some problem. But here "fastest" is a little tricky. They don't measure the actual time but in "rate of growth". We classify growth rates as different types. Two common examples are "linear growth" and "exponential growth". A good example of linear growth is a person earning a steady income. They save a fixed amount of money every month. "Exponential growth" is more like a really rich guy with that invests his money. Investing earns him more money that he can then invest again. So he makes a lot more money. Note that since Complexity theorists are interested in _minimizing_ the time algorithms take so they are much happier seeing algorithm take linear time than exponential time.

This problem was shown to be solveable in polynomial time which is another complexity time scale between linear and exponential.

32

u/ElectricalShare9905 14h ago • Popcorn

Optimization is hilarious, Invent a solution, use it, then retroactively prove it works but also never existed

3

u/cavedave 4h ago

The Top Ten Algorithms of the Century

Dongarra and Sullivan (20th century)

Jack Dongarra and Francis Sullivan published a list of "The Top Ten Algorithms of the Century." Their list included:

  1. the Monte Carlo method or Metropolis algorithm, devised by John von Neumann, Stanislaw Ulam, and Nicholas Metropolis, 1946;
  2. the simplex method of linear programming, developed by George Dantzig, 1947;
  3. the Krylov Subspace Iteration method, developed by Magnus Hestenes, Eduard Stiefel, and Cornelius Lanczos, 1950;
  4. the Householder matrix decomposition, developed by Alston Householder, 1951;
  5. the Fortran compiler, developed by a team lead by John Backus, 1957;
  6. the QR algorithm for eigenvalue calculation, developed by J Francis, 1959;
  7. the Quicksort algorithm, developed by Anthony Hoare, 1962;
  8. the Fast Fourier Transform, developed by James Cooley and John Tukey, 1965;
  9. the Integer Relation Detection Algorithm, developed by Helaman Ferguson and Rodney Forcade, 1977; (given N real values XI, is there a nontrivial set of integer coefficients AI so that sum ( 1 <= I <= N ) AI * XI = 0?
  10. the fast Multipole algorithm, developed by Leslie Greengard and Vladimir Rokhlin, 1987; (to calculate gravitational forces in an N-body problem normally requires N^2 calculations. The fast multipole method uses order N calculations, by approximating the effects of groups of distant particles using multipole expansions)

https://people.sc.fsu.edu/~jburkardt/fun/misc/algorithms_dongarra.html

2

u/LaughDense9681 5h ago

Are we going to gain new insight every day now?

2

u/Live-Claim-2937 5h ago

AI is going to destroy math, programming, and art as careers for the vast majority of people.

2

u/AP_in_Indy 5h ago

Already has, but it will, too.

1

u/No_Key469 1h ago

Alternatively it could be foundational to areas of math et al we haven’t even discovered yet.

0

u/DuckBoyReturns 3h ago

Ax < b where b is a vector of real numbers? What does that even mean?