Remix.run Logo
▲ Luke2642 an hour ago

Extra info:

In real-world logistics, the shapes are generally nice and convex, not "adversarially warped", so Simplex is fast.

Apparently when guaranteed polynomial speed is needed, solvers use interior-point methods, which tunnel straight through the inside of the shape rather than walking along the outside edges, which is unaffected by the new result anyway.

▲pfdietz an hour ago | parent [-]

Someone correct if I'm mistaken, but I understand interior point methods are also used for quadratic programming, for example as used by SpaceX in their landing algorithms.

▲mattalex 10 minutes ago | parent [-]

Most general convex solvers used in production are interior point solvers.

For LPs, simplex frequently ends up better because it is naturally well conditioned (you don't need e.g. LU factors), and because solutions are basic you can use row generation to add in constraints as they become relevant.

The latter is particularly helpful for combinatorial optimization or when iteratively refining linearizations of convex problems.

Interior point for LPs become interesting when your problem is somewhat degenerate. In well structured problems one can exploit the polytope surface to quickly step through bases without needing to factorize or even materialize large matrices