NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Solving linear programs in the current matrix multiplication time

Michael B. Cohen, Yin Tat Lee, Zhao Song

TL;DR

This paper presents a new algorithm for solving linear programs that achieves a runtime dependent on the current fastest matrix multiplication algorithms. For practical values of matrix multiplication exponents, this algorithm solves linear programs in nearly linear time, a significant theoretical breakthrough. The core innovation lies in a novel "stochastic central path method" and efficient techniques for maintaining projection matrices.

What Problem Does This Paper Address?

Linear programming (LP) is a fundamental problem in optimization with wide-ranging applications. For decades, the fastest algorithms for solving general LPs with $n$ variables and $d$ constraints (where $d$ is roughly $n$) have been dominated by an $O(n^{2.5})$ runtime, a bound that hasn't seen improvement since the late 1980s. This bottleneck has limited the practical scalability of LP solvers for very large problems. While theoretical improvements have been made for specific types of LPs, a general-purpose algorithm that breaks the $n^{2.5}$ barrier has remained elusive. This paper aims to close this gap by developing an LP solver whose runtime is tied to the exponent of matrix multiplication, $\omega$.

Methods

The paper introduces a "stochastic central path method" as a core component. This is a variation of the standard central path method used in interior-point algorithms for LPs. Instead of taking deterministic steps, the stochastic approach introduces randomness to reduce the computational cost per iteration. A key challenge in interior-point methods is efficiently updating certain matrix operations, particularly maintaining a projection matrix of the form $\sqrt{W}A^T(AWA^T)^{-1}A\sqrt{W}$. The authors develop a novel technique for maintaining this projection matrix in sub-quadratic time, even when the diagonal matrix $W$ changes multiplicatively. This is achieved through "lazy updates" and a potential function that guides the updates. The algorithm combines these new ideas to achieve a runtime that is nearly linear in $n$ when using state-of-the-art matrix multiplication algorithms.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Tying LP to Matrix Multiplication: The most significant insight is demonstrating that the complexity of solving linear programs can be directly linked to the complexity of matrix multiplication. This opens up avenues for future improvements in LP solvers as matrix multiplication algorithms advance.
  • Stochasticity for Efficiency: Introducing randomness into the central path method is a clever way to bypass the computational bottlenecks of deterministic interior-point methods. By taking "stochastic steps," the algorithm can achieve a lower cost per iteration.
  • Efficient Projection Matrix Maintenance: The ability to maintain the projection matrix $\sqrt{W}A^T(AWA^T)^{-1}A\sqrt{W}$ in sub-quadratic time, especially under multiplicative updates of $W$, is a crucial technical contribution. This is achieved through a sophisticated data structure and analysis that leverages "lazy updates."
  • "Nearly Linear" LP Solvers: For practical values of $\omega$ (around 2.37), the algorithm achieves a runtime of $O(n^\omega \log n)$, which is a significant theoretical improvement over the $O(n^{2.5})$ barrier.

Key Results

The paper's main result is an algorithm for solving linear programs with $n$ variables in time $O^*(n^\omega + n^{2.5-\alpha/2} + n^{2+1/6})$, where $\omega$ is the matrix multiplication exponent and $\alpha$ is the dual exponent. For current values of $\omega \approx 2.37$ and $\alpha \approx 0.31$, this translates to $O^*(n^\omega \log(n/\delta))$ time, which is nearly linear. If matrix multiplication were as fast as $O(n^2)$, the algorithm would achieve $O^*(n^{2+1/6} \log(n/\delta))$.

Limitations and Future Work

The authors acknowledge that the $n^{2+1/6}$ term in their runtime bound, while improved from previous work, is not yet fully linear. They suggest that further improvements in understanding matrix multiplication and its limitations might lead to removing this term. The paper also leaves the problem of obtaining an $O(T(n) \log(1/\delta))$ runtime (where $T(n)$ is the matrix multiplication time) as an open problem. The stochastic nature of the algorithm means it provides an approximate solution, though the accuracy can be controlled.

Summary updated

BibTeX
@inproceedings{cohen2019solving,
  author = {Michael B. Cohen and Yin Tat Lee and Zhao Song},
  title = {{Solving linear programs in the current matrix multiplication time}},
  booktitle = {STOC},
  year = {2019},
  doi = {10.1145/3313276.3316303},
}
Figure