TL;DR
SHARDLP is a new distributed GPU linear programming (LP) solver designed to tackle massive optimization problems that exceed the memory limits of a single compute node. By maintaining "persistent ownership" of sharded data across all solver phases and introducing support-aware communication, it successfully solves LPs with up to 13.6 billion variables, delivering orders-of-magnitude speedups over traditional CPU solvers.
What Problem Does This Paper Address?
Linear programming (LP) is foundational to large-scale industrial optimization, but traditional factorization-based algorithms (like simplex or interior-point methods) hit a hard wall at extreme scales due to their massive memory footprints and poor parallelizability.
First-order methods, specifically Primal-Dual Hybrid Gradient (PDHG), offer a compelling alternative because their core operations are simple sparse matrix-vector products. However, existing distributed GPU implementations still suffer from a major flaw: a "rooted lifecycle." While they parallelize the main optimization loop, other crucial phases—such as data input, scaling, feasibility polishing, and solution recovery—often require gathering the entire problem onto a single master node. This reintroduces a single-node memory bottleneck. Furthermore, as solvers scale across multiple GPUs and nodes, communication overhead quickly degrades performance.
The authors introduce SHARDLP to eliminate these bottlenecks, enabling true end-to-end distributed LP solving at an unprecedented scale.
Methods
SHARDLP introduces two primary innovations to achieve extreme-scale distributed solving:
- Persistent Ownership: Instead of gathering data on a single node during non-optimization phases, SHARDLP keeps the constraint matrix and the primal-dual state partitioned across a 2D process grid ($R \times C$) from initial sharded input all the way to final solution output. Every phase—including diagonal scaling, restart logic, feasibility polishing, and coordinate recovery—is executed in a fully distributed manner.
- Support-Aware Communication: In standard column-partitioned distributed matrix-vector multiplication ($Ax$), every GPU participates in a dense reduction for a given row, even if it holds zero coefficients for that row. SHARDLP analyzes the matrix sparsity structure post-preprocessing and builds a customized communication plan. It skips communication entirely for GPUs that do not contribute to a specific row, drastically reducing data movement without altering the exact mathematical updates of the algorithm.
Datasets
The solver was evaluated using two main sets of problems:
- The Google PDLP Benchmark: A suite of 11 massive, real-world and synthetic LP instances released by Google (e.g.,
TSP-Gaia-100Mwith 1.185 billion variables and 6.338 billion nonzeros;Design Matchwith 40 million variables and 2.76 billion nonzeros). - Beyond-Benchmark Scale Tests: To push the absolute limits of the system, the authors evaluated public datasets (
KDD12 L1-SVM,MS1 matching,tai256c AJ) and scaled up a synthetic family of deterministic multicommodity-flow (MCF) problems. The largest instance,MCF13.60B, contains 13.604 billion variables and 40.807 billion nonzeros.
Key Insights and Ideas
- The Single-Node Trap: Parallelizing the core matrix-vector multiplication loop is insufficient for extreme-scale problems. If any auxiliary phase (like scaling or output) forces a data gather, the maximum problem size remains strictly bounded by the memory of your largest single node.
- More GPUs $\neq$ Faster Loops: Adding more accelerators reduces local compute work but increases communication overhead. Without communication optimizations, smaller per-GPU matrix blocks can actually result in a slower solver loop.
- Exploiting Structural Sparsity: Standard collective communication routines (like NCCL Reduce/Broadcast) treat data uniformly. Customizing communication topologies based on the physical sparsity pattern of the LP matrix unlocks massive performance gains.
Key Results
- Google Benchmark Success: SHARDLP met the convergence criteria on 9 out of 11 Google benchmark instances, outperforming the original CPU-based PDLP study which solved 8.
- Massive Speedups: On the largest Google benchmark (
TSP-Gaia-100M), 8 NVIDIA H200 GPUs solved the problem in just 9.9 minutes (593 seconds solver time). For comparison, the published CPU benchmark took 21.06 hours on different hardware. - Record-Breaking Scale: SHARDLP successfully solved
MCF13.60Busing 76 mixed GPUs across 29 compute nodes in 31.7 minutes (1,905 seconds), representing the largest validated GPU LP solve reported to date. - Communication Reductions: On the
Design Matchinstance, support-aware communication cut modeled data movement by 92.97%, translating to a 1.27× to 1.52× improvement in total solver time.
Limitations and Future Work
- Offline Sharding: SHARDLP assumes that the LP has already been partitioned into shards. Converting a standard monolithic LP file (like an
.mpsfile) into these shards is treated as an offline preprocessing step and is excluded from the solver's timed execution. - Partitioning Constraints: Support-aware communication is currently restricted to 1D column partitions with fixed matrix support. Extending this optimization to general 2D process grids remains future work.
- Presolve Limitations: The solver lacks a general distributed presolve phase, utilizing only a basic pass to eliminate singleton zero-equality rows.
Summary updated