Skip to main content
QUICK REVIEW

[Paper Review] Practical Large-Scale Linear Programming using Primal-Dual Hybrid Gradient

David Applegate, Mateo Díaz|arXiv (Cornell University)|Jun 8, 2021
Advanced Optimization Algorithms ResearchMathematics16 citations
TL;DR

This paper introduces PDLP, a practical first-order method for large-scale linear programming that leverages the primal-dual hybrid gradient (PDHG) framework with enhancements including adaptive restarting, dynamic step sizes, diagonal preconditioning, and presolving. PDLP achieves high-accuracy solutions up to 6.3x faster than SCS on 383 MIPLIB 2017 instances and outperforms a commercial solver on certain large-scale problems, demonstrating the viability of first-order methods for traditional LP workloads.

ABSTRACT

We present PDLP, a practical first-order method for linear programming (LP) that can solve to the high levels of accuracy that are expected in traditional LP applications. In addition, it can scale to very large problems because its core operation is matrix-vector multiplications. PDLP is derived by applying the primal-dual hybrid gradient (PDHG) method, popularized by Chambolle and Pock (2011), to a saddle-point formulation of LP. PDLP enhances PDHG for LP by combining several new techniques with older tricks from the literature; the enhancements include diagonal preconditioning, presolving, adaptive step sizes, and adaptive restarting. PDLP improves the state of the art for first-order methods applied to LP. We compare PDLP with SCS, an ADMM-based solver, on a set of 383 LP instances derived from MIPLIB 2017. With a target of $10^{-8}$ relative accuracy and 1 hour time limit, PDLP achieves a 6.3x reduction in the geometric mean of solve times and a 4.6x reduction in the number of instances unsolved (from 227 to 49). Furthermore, we highlight standard benchmark instances and a large-scale application (PageRank) where our open-source prototype of PDLP, written in Julia, outperforms a commercial LP solver.

Motivation & Objective

  • To close the performance gap between theoretical first-order methods and practical LP solvers by enhancing PDHG with practical algorithmic techniques.
  • To demonstrate that first-order methods can achieve the high accuracy required in traditional LP applications, not just moderate accuracy for machine learning.
  • To enable scalable solution of very large LP problems using only matrix-vector operations, suitable for multi-core CPUs, GPUs, and distributed systems.
  • To evaluate the impact of individual algorithmic enhancements (e.g., adaptive restart, preconditioning) on overall performance through ablation studies.
  • To show that a first-order method can compete with commercial solvers on real-world and large-scale applications like PageRank.

Proposed method

  • Formulates linear programming as a saddle-point problem and applies the PDHG method, which relies on matrix-vector multiplications rather than matrix factorizations.
  • Introduces adaptive restarting based on duality gap and primal-dual distance to mitigate the tailing-off effect common in first-order methods.
  • Employs dynamic step size selection using the Malitsky-Pock rule to improve convergence without requiring problem-specific tuning.
  • Applies diagonal preconditioning via Ruiz and Pock-Chambolle rescaling to improve condition numbers and accelerate convergence.
  • Integrates a comprehensive presolving pipeline to reduce problem size and improve numerical conditioning before solving.
  • Uses a hybrid approach with primal weight updates and a gap-over-distance metric to guide restart decisions.

Experimental results

Research questions

  • RQ1Can a first-order method like PDHG be enhanced to achieve the high accuracy required in traditional LP applications?
  • RQ2How do adaptive restarting, dynamic step sizes, and preconditioning collectively impact the performance of PDHG on large-scale LP problems?
  • RQ3Can a first-order method outperform established commercial LP solvers on specific large-scale or structured problems?
  • RQ4What is the relative contribution of each algorithmic enhancement (e.g., presolving, preconditioning) to overall performance?
  • RQ5Can PDLP scale effectively on problems too large for simplex or interior-point methods due to memory or factorization constraints?

Key findings

  • On 383 MIPLIB 2017 LP instances, PDLP solved 283 problems to 10⁻⁸ relative optimality tolerance within 1 hour, compared to only 50 solved by the baseline PDHG method.
  • PDLP achieved a 6.3x reduction in geometric mean solve time and reduced the number of unsolved instances from 227 to 49 compared to SCS, an ADMM-based solver.
  • PDLP outperformed Gurobi’s barrier and simplex methods on a large-scale PageRank problem, solving it faster and with higher accuracy.
  • The ablation study showed that adaptive restarting and diagonal preconditioning each contributed significantly to performance, with the combination yielding the best results.
  • PDLP’s reliance on matrix-vector operations enables efficient scaling on multi-threaded CPUs, GPUs, and distributed clusters, unlike simplex and interior-point methods.
  • The open-source Julia implementation of PDLP demonstrates that first-order methods can now be competitive with commercial solvers on specific classes of large-scale LP problems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.