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

A scaling-invariant algorithm for linear programming whose running time depends only on the constraint matrix

Daniel Dadush, Sophie Huiberts, Bento Natura, László A. Végh

Introduction

Linear Programming (LP) remains a cornerstone of optimization, yet the quest for a "strongly polynomial" algorithm—one whose runtime depends solely on the number of variables ($n$) and constraints ($m$)—remains one of the most significant challenges in computer science. Standard methods, such as the Ellipsoid method or Interior Point Methods (IPMs), have runtimes that depend on the bit-length of the entire input.

A major breakthrough occurred in 1996 when Vavasis and Ye (VY) introduced a "Layered Least Squares" (LLS) algorithm. This approach solved LPs in time depending only on the constraint matrix $A$, specifically tied to a condition number $\bar{\chi}_A$. However, the VY algorithm suffered from a significant drawback: it was not scaling-invariant. Multiplying a column of $A$ by a large constant could drastically increase the condition number and slow the algorithm, even though the underlying geometry of the optimization problem remained unchanged. This paper addresses the long-standing "Monteiro-Tsuchiya open question": Can we design an algorithm that depends only on the best possible scaling of $A$ (denoted $\bar{\chi}^*_A$)?

Methodology

The authors propose a novel framework that shifts the analysis of LP complexity from abstract linear algebra to combinatorial graph theory. Their approach consists of two primary algorithmic innovations:

1. Preprocessing via Circuit Ratio Digraphs

The researchers demonstrate that the optimal rescaling of a matrix is fundamentally linked to its "circuits"—the minimal linear dependencies between its columns. They construct a circuit ratio digraph, where edges represent the maximum possible ratio between entries in any circuit containing those two variables. By framing the search for optimal rescaling as a maximum geometric mean cycle problem on this graph, they provide a method to approximate the best possible condition number.

2. Scaling-Invariant LLS Algorithm

Rather than relying solely on a fixed preprocessing step, the authors developed a version of the LLS algorithm that is inherently invariant to column rescalings. This algorithm utilizes a "lifting cost" approach to dynamically group variables into "layers" for the least-squares steps. If a specific step fails to yield sufficient progress, the algorithm uses that information to refine its internal estimate of the matrix's condition, effectively "learning" the circuit ratios during execution.

Crucially, the authors replace traditional crossover analysis—which tracks when variables change their relative order—with a refined potential function analysis. This allows for a more granular measurement of algorithmic progress and a tighter complexity bound.

Key Insights

  • Combinatorial Geometry: The realization that $\bar{\chi}_A$ is characterized by the ratios of coefficients in the circuits of $A$ allows the problem to be tackled using graph-theoretic tools.
  • Bypassing NP-Hardness: While approximating $\bar{\chi}_A$ to within a large factor is known to be NP-hard, the authors show that an approximation is possible if the factor is allowed to depend on $\bar{\chi}^*_A$ itself.
  • Self-Duality: The algorithm’s "lifting costs" and layering logic are self-dual. By treating the primal and dual problems symmetrically, the algorithm achieves the robustness typical of the best interior-point methods.

Results and Complexity

The paper provides a definitive answer to the Monteiro-Tsuchiya question, proving that LP can be solved in a manner that is blind to the initial scaling of the constraints. The key results include:

  • Improved Iteration Bound: The authors achieve an iteration complexity of $O(n^{2.5} \log n \log(\bar{\chi}^*_A + n))$. This represents a significant improvement over the $O(n^{3.5})$ bound established by the original Vavasis-Ye algorithm.
  • Near-Optimal Rescaling: The authors present an $O(m^2n^2 + n^3)$ time algorithm to find a diagonal rescaling $D$ such that the resulting condition number $\bar{\chi}_{AD}$ is within a polynomial factor of the absolute minimum (specifically, $\bar{\chi}_{AD} \le n(\bar{\chi}^*_A)^3$).

Limitations and Future Directions

While this work represents a major theoretical leap, it does not yet achieve a "strongly polynomial" time complexity, as the runtime still includes a $\log(\bar{\chi}^*_A)$ term. A truly strongly polynomial algorithm would require a runtime of $poly(n, m)$ with no dependence on the values in $A$ whatsoever.

Furthermore, the practical implementation of this algorithm may face challenges. LLS steps often require high-precision arithmetic to maintain numerical stability, and the overhead of solving maximum mean cycle problems might make this approach slower than standard commercial solvers for small, well-conditioned problems. Future research may focus on the bit-complexity of these steps and whether the circuit-based approach can be further streamlined for practical use.

Summary updated

BibTeX
@inproceedings{dadush2020scaling,
  author = {Daniel Dadush and Sophie Huiberts and Bento Natura and László A. Végh},
  title = {{A scaling-invariant algorithm for linear programming whose running time depends only on the constraint matrix}},
  booktitle = {STOC},
  year = {2020},
  doi = {10.1145/3357713.3384326},
}
Figure