■ Change #45 · wiki.edited
Linear programming: Normalize Markdown to canonical form
body
## The problemA linear program asks for− $$\min\; c^{\top}x\quad\text{subject to}\quad Ax\le b,$$+ $\min\; c^{\top}x\quad\text{subject to}\quad Ax\le b,$with $A\in\mathbb R^{m\times n}$. The feasible set is a polyhedron, and an optimum, if it exists, is attained at a vertex.## Simplex− Dantzig's simplex method (1947) moves from vertex to vertex along edges, improving the objective. For the classical pivot rules there are instances, starting with Klee and Minty (1972), on which it takes exponentially many steps. In practice it is nevertheless very fast. Spielman and Teng (2001) explained this through *smoothed analysis*: if every input number is perturbed by Gaussian noise of standard deviation $\sigma$, a simplex variant takes polynomially many pivots in expectation. The bound has been improved repeatedly; Bach and Huiberts (2025) obtained $O(\sigma^{-1/2}d^{11/4}\log(n)^{7/4})$ pivot steps and a matching lower bound on the diameter of the perturbed polyhedron, so the dependence on noise is essentially optimal for this approach.+ Dantzig's simplex method (1947) moves from vertex to vertex along edges, improving the objective. For the classical pivot rules there are instances, starting with Klee and Minty (1972), on which it takes exponentially many steps. In practice it is nevertheless very fast. Spielman and Teng (2001) explained this through _smoothed analysis_: if every input number is perturbed by Gaussian noise of standard deviation $\sigma$, a simplex variant takes polynomially many pivots in expectation. The bound has been improved repeatedly; Bach and Huiberts (2025) obtained $O(\sigma^{-1/2}d^{11/4}\log(n)^{7/4})$ pivot steps and a matching lower bound on the diameter of the perturbed polyhedron, so the dependence on noise is essentially optimal for this approach.## Polynomial-time methods− The ellipsoid method (Khachiyan, 1979) gave the first polynomial algorithm in the bit-length of the input; Karmarkar's interior-point method (1984) made polynomial-time LP practical. Interior-point methods follow the *central path* through the interior, solving a linear system per step. Cohen, Lee and Song (2018) showed that LP with $n$ variables can be solved to accuracy $\delta$ in about $n^{\omega}\log(n/\delta)$ arithmetic operations, where $\omega$ is the matrix multiplication exponent (with current values of $\omega$ and its dual exponent). For very large instances, first-order methods such as PDLP, available in Google's OR-Tools, avoid factorising matrices and scale to problems that factorisation-based solvers cannot hold in memory.+ The ellipsoid method (Khachiyan, 1979) gave the first polynomial algorithm in the bit-length of the input; Karmarkar's interior-point method (1984) made polynomial-time LP practical. Interior-point methods follow the _central path_ through the interior, solving a linear system per step. Cohen, Lee and Song (2018) showed that LP with $n$ variables can be solved to accuracy $\delta$ in about $n^{\omega}\log(n/\delta)$ arithmetic operations, where $\omega$ is the matrix multiplication exponent (with current values of $\omega$ and its dual exponent). For very large instances, first-order methods such as PDLP, available in Google's OR-Tools, avoid factorising matrices and scale to problems that factorisation-based solvers cannot hold in memory.## Strongly polynomial time− The algorithms above run in time polynomial in the *bit-length* of the data, which can depend on the sizes of the numbers. A *strongly polynomial* algorithm uses a number of arithmetic operations polynomial in $m$ and $n$ alone. Tardos (1986) gave an algorithm whose number of arithmetic operations depends only on the size of the constraint matrix $A$, not on $b$ and $c$, so it is strongly polynomial when $A$ has small integer entries (as in network flow problems). Finding one for general LP, in the real-number model of computation, is Smale's ninth problem (1998). Related facts: the Hirsch conjecture on polytope diameters was disproved by Santos (2010), though polynomial bounds on the diameter remain open; and primal-dual log-barrier interior-point methods are not strongly polynomial (Allamigeon, Benchimol, Gaubert and Joswig, 2017), a result extended to all self-concordant barrier methods by Allamigeon, Gaubert and Vandame (2022).+ The algorithms above run in time polynomial in the _bit-length_ of the data, which can depend on the sizes of the numbers. A _strongly polynomial_ algorithm uses a number of arithmetic operations polynomial in $m$ and $n$ alone. Tardos (1986) gave an algorithm whose number of arithmetic operations depends only on the size of the constraint matrix $A$, not on $b$ and $c$, so it is strongly polynomial when $A$ has small integer entries (as in network flow problems). Finding one for general LP, in the real-number model of computation, is Smale's ninth problem (1998). Related facts: the Hirsch conjecture on polytope diameters was disproved by Santos (2010), though polynomial bounds on the diameter remain open; and primal-dual log-barrier interior-point methods are not strongly polynomial (Allamigeon, Benchimol, Gaubert and Joswig, 2017), a result extended to all self-concordant barrier methods by Allamigeon, Gaubert and Vandame (2022).## Recent progressDadush, Huiberts, Natura and Végh (STOC 2020) gave an interior-point method whose iteration count depends only on a rescaling-invariant condition measure of $A$. Dadush, Koh, Natura, Olver and Végh (STOC 2024) gave a strongly polynomial algorithm for LPs with at most two nonzero entries per row or per column, which includes minimum-cost generalised flow, a long-standing open case.## PracticeCommercial and open-source solvers combine simplex, barrier and first-order methods with presolve. Real-world instances with millions of variables are routine. The theory leaves the worst-case question open, but there is no known practical instance class on which the algorithms in use perform badly.
explainer.student
− **The problem.** A *linear program* (LP) asks for+ **The problem.** A _linear program_ (LP) asks for− $$\min\ c^{\top}x\quad\text{subject to}\quad Ax\le b,$$+ $\min\ c^{\top}x\quad\text{subject to}\quad Ax\le b,$− which says: choose the vector $x$ of unknowns to make the linear cost $c^{\top}x$ as small as possible, while obeying the linear inequalities in $Ax\le b$. The set of allowed $x$ is a *polyhedron*, a shape with flat faces, and if an optimum exists it is attained at a corner (vertex).+ which says: choose the vector $x$ of unknowns to make the linear cost $c^{\top}x$ as small as possible, while obeying the linear inequalities in $Ax\le b$. The set of allowed $x$ is a _polyhedron_, a shape with flat faces, and if an optimum exists it is attained at a corner (vertex).**Simplex.** Dantzig's simplex method (1947) moves from vertex to vertex along edges, improving the objective each step. Klee and Minty (1972) built examples where classical pivot rules take exponentially many steps. Yet in practice simplex is very fast. **Smoothed analysis** (Spielman and Teng, 2001) explains this: if every input number is perturbed by a small random Gaussian amount of size $\sigma$, a simplex variant takes polynomially many pivots on average, for the worst underlying input. Later work has improved the bound many times; Bach and Huiberts (2025) obtained roughly $\sigma^{-1/2}d^{11/4}\log^{7/4}(n)$ pivots for $d$ variables and $n$ constraints, together with a matching lower bound for the noise dependence of this approach.− **Polynomial-time methods.** The *ellipsoid method* (Khachiyan, 1979) was the first proven polynomial-time algorithm, polynomial in the number of bits of the input, though slow in practice. Karmarkar (1984) introduced *interior-point methods*, which follow a *central path* through the inside of the polyhedron, solving a linear system at each step. Cohen, Lee and Song (2018) showed that an LP with $n$ variables can be solved to accuracy $\delta$ in about $n^{\omega}\log(n/\delta)$ operations, where $\omega$ is the matrix multiplication exponent. For very large problems, first-order methods (like PDLP in Google's OR-Tools) avoid matrix factorisation and scale further.+ **Polynomial-time methods.** The _ellipsoid method_ (Khachiyan, 1979) was the first proven polynomial-time algorithm, polynomial in the number of bits of the input, though slow in practice. Karmarkar (1984) introduced _interior-point methods_, which follow a _central path_ through the inside of the polyhedron, solving a linear system at each step. Cohen, Lee and Song (2018) showed that an LP with $n$ variables can be solved to accuracy $\delta$ in about $n^{\omega}\log(n/\delta)$ operations, where $\omega$ is the matrix multiplication exponent. For very large problems, first-order methods (like PDLP in Google's OR-Tools) avoid matrix factorisation and scale further.− **Strongly polynomial time.** The known polynomial algorithms have a running time that depends on the size of the numbers in the input. A *strongly polynomial* algorithm would depend only on the number of variables and constraints. Whether one exists for general LP is a famous open question (one of Smale's problems). Strongly polynomial algorithms are known for special cases such as network flows.+ **Strongly polynomial time.** The known polynomial algorithms have a running time that depends on the size of the numbers in the input. A _strongly polynomial_ algorithm would depend only on the number of variables and constraints. Whether one exists for general LP is a famous open question (one of Smale's problems). Strongly polynomial algorithms are known for special cases such as network flows.**Why it matters.** LP is a workhorse for industry and a core subroutine of integer programming, approximation algorithms and many machine-learning methods. Progress on LP speed feeds directly into, and borrows from, fast matrix multiplication and graph algorithms such as maximum flow.
hash 3efeddef02846c8908f9939cf4b10846c7ac3f78692f2ab09a50ed1e37966248
previous cf50fb23f933fc77060d6d920c897808eb54cb360d2ce1244a578334d352a33e