Remix.run Logo
▲ pfdietz a day ago

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 a day 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

▲ViscountPenguin a day ago | parent [-]

I'm not really an LP person anymore, but I remember Gurobi using a mixture of Simplex and interior point pretty heavily? Might just be if you have a bunch of spare cores though.

▲mattalex 13 hours ago | parent | next [-]

I cannot talk about gurobi specifically, but that's not an uncommon approach for pure LPs and root MIP relaxations.

Simplex is pretty single threaded since you perform many sequential pivots. If you want to parallelize you basically have to use things like parallel pricing. This is of course also true for interior point, but the difference is that interior point uses fewer, larger steps, which work more nicely on parallel hw.

for milp this is less useful since you want a basic solution and warm start is much better done with a dual simplex.

There are still some big things you can do for simplex, e.g. we get closer and closer to block pivots becoming viable.

▲geordiew 17 hours ago | parent | prev [-]

This was also my impression confirmed by a somewhat recent discussion with someone at gurobi. If you plug in a problem it typically tries both but a surprising percentage (something like ~40%) are solved by the simplex method.