Introduction
Linear Programming (LP) is a cornerstone of optimization, utilized in applications ranging from flight scheduling to chip design. However, as datasets grow to "web-scale," traditional solvers increasingly struggle to keep up. This paper introduces PDLP, a practical first-order solver for Linear Programming that achieves the high precision typically reserved for traditional solvers while scaling to massive datasets. By significantly enhancing the Primal-Dual Hybrid Gradient (PDHG) algorithm, PDLP bridges the gap between the scalability of first-order methods and the rigorous accuracy requirements of industrial applications.
The Challenge of Large-Scale Linear Programming
Traditionally, LPs are solved using the Simplex method or Interior-Point methods. While these approaches are extremely reliable and precise, they rely heavily on matrix factorizations. As problem sizes scale, these factorizations become computationally prohibitive and memory-intensive.
First-order methods (FOMs) present a natural alternative because their core operations are simple matrix-vector multiplications, which are highly scalable and easy to parallelize. Unfortunately, FOMs suffer from a notorious "tailing-off" effect: they can find a decent approximate solution quickly but struggle to reach the high levels of accuracy (e.g., $10^{-8}$ relative error) required for many real-world LP applications. The primary goal of this research is to make FOMs both practical and precise enough to replace or supplement traditional solvers at scale.
The PDLP Approach
The researchers built PDLP on top of the saddle-point formulation of the Primal-Dual Hybrid Gradient (PDHG) algorithm. To overcome the precision and speed limitations of standard PDHG, they introduced a combination of novel techniques and classic LP heuristics:
- Adaptive Step Sizes: Instead of relying on a fixed, conservative step size, PDLP dynamically adjusts its steps based on local progress, significantly accelerating convergence.
- Adaptive Restarts: The algorithm periodically "restarts" its inner loops based on a normalized duality gap metric. This mechanism helps the solver escape slow-progress zones and promotes linear convergence.
- Dynamic Primal Weighting: PDLP automatically balances the "weight" between primal and dual variables, ensuring that both converge at a similar rate.
- Presolving and Preconditioning: The authors integrated standard LP techniques—such as simplifying the problem before solving (presolve) and rescaling the data (diagonal preconditioning via Ruiz and Pock-Chambolle scaling). While common in traditional solvers, these tricks are rarely applied to FOMs.
Experimental Setup
The solver's performance was evaluated across a diverse and rigorous set of benchmarks:
- MIP Relaxations: 383 LP instances derived from the MIPLIB 2017 collection of mixed-integer programming problems.
- LP Benchmark: A curated set of 56 classic problems merged from various historical benchmark sets.
- Netlib: A well-known collection of foundational LP test problems.
- PageRank: A large-scale application using Barabási-Albert graphs with up to $10^7$ nodes, designed to test extreme scalability.
Key Findings and Results
The combination of theoretically backed components and practical heuristics proved highly effective, demonstrating that matrix-free FOMs can compete in the LP space.
- Superiority Over Other FOMs: Compared to SCS (a popular ADMM-based solver), PDLP achieved a 6.3x reduction in the geometric mean of solve times. Furthermore, it solved 4.6x more instances from the MIPLIB set (reducing unsolved instances from 227 to 49) within a strict one-hour time limit.
- Massive Improvement Over Baseline PDHG: The enhancements in PDLP are critical to its success. On the MIPLIB set, a baseline PDHG solver completed only 50 problems to high accuracy; PDLP successfully solved 283.
- Extreme Scalability: In the PageRank experiments, PDLP solved a massive problem with 10 million nodes in 5.4 hours. In stark contrast, commercial solvers like Gurobi either ran out of memory (OOM) or failed to finish within a 24-hour window.
- High Precision is Possible: The paper successfully debunks the myth that FOMs are strictly for "low-accuracy" machine learning tasks. With the right enhancements, PDLP reliably reaches $10^{-8}$ precision.
Limitations and Future Directions
While PDLP advances the state of the art for first-order LP methods, the authors note a few limitations and areas for future work:
- Theoretical Gaps: Although individual components like adaptive restarts have theoretical backing, a unified proof of convergence for the complete algorithm—with all adaptive heuristics enabled—remains an open problem.
- Generalization: Several enhancements, such as specific presolving routines, are highly specialized for Linear Programming. Extending these techniques to more general Quadratic Programming (QP) or Conic Programming will require further research.
- Hardware Optimization: The current open-source prototype of PDLP is written in Julia and runs on CPUs. Given the algorithm's reliance on highly parallelizable matrix-vector operations, transitioning to a GPU-based implementation could unlock even more dramatic speedups.
Summary updated