PIQP: A Proximal Interior-Point Quadratic Programming Solver

Yuning Jiang, Roland Schwan, Yuning Jiang 0002, Daniel Kuhn, Colin N. Jones

Abstract

This paper presents PIQP, a high-performance toolkit for solving generic sparse quadratic programs (QP). Combining an infeasible Interior Point Method (IPM) with the Proximal Method of Multipliers (PMM), the algorithm can handle ill-conditioned convex QP problems without the need for linear independence of the constraints. The open-source implementation is written in C++ with interfaces to C, Python, Matlab, and R leveraging the Eigen3 library. The method uses a pivoting-free factorization routine and allocation-free updates of the problem data, making the solver suitable for embedded applications. The solver is evaluated on the Maros-Mészáros problem set and optimal control problems, demonstrating state-of-the-art performance for both small and large-scale problems, outperforming commercial and open-source solvers.

Introduction

Quadratic Programming (QP) is a cornerstone of modern optimization, with applications ranging from portfolio management to real-time robotics and Model Predictive Control (MPC). In these domains, solvers must be exceptionally fast, reliable, and capable of handling large-scale or numerically unstable problems.

Existing solvers often force developers to accept significant trade-offs. Active-set methods scale poorly to large problems; standard interior-point methods are difficult to warm-start; and first-order methods often struggle with high-accuracy requirements or ill-conditioned data. Furthermore, many Newton-type solvers rely on strict assumptions like the Linear Independence Constraint Qualification (LICQ), which are frequently violated in practice. PIQP addresses these challenges by combining the scalability of Interior Point Methods (IPM) with the robustness of the Proximal Method of Multipliers (PMM).

Methodology

PIQP’s architecture is designed for both high performance and numerical stability. Its core engine integrates several key techniques:

  • Hybrid IPM-PMM Approach: By embedding an infeasible IPM within the PMM framework, PIQP naturally regularizes the underlying mathematical system. This allows the solver to handle problems that lack strong convexity or LICQ without requiring complex numerical safeguards.
  • Efficient Linear Algebra: The PMM regularization ensures the KKT system is "quasi-definite," enabling the use of a high-speed, pivot-free LDL factorization.
  • Embedded-Ready Implementation: Developed in C++ using the Eigen3 library, PIQP follows an allocation-free philosophy. Memory is allocated once during setup, and subsequent solves for problems with the same structure (typical in MPC) reuse existing memory and symbolic factorizations.
  • Numerical Preconditioning: To enhance stability, PIQP employs Ruiz equilibration to scale problem data before solving.

Benchmarking and Results

The solver was rigorously benchmarked against leading open-source (OSQP, SCS, PROXQP) and commercial (Gurobi, MOSEK) solvers using the Maros-Mészáros problem set—a collection of 138 challenging sparse QPs.

Performance profile comparing PIQP against state-of-the-art solvers.

As shown in the performance profile above, PIQP (the top blue line) consistently solves a higher ratio of problems across varying performance ratios $\tau$. Notably, PIQP was the fastest solver for 65% of the high-accuracy problems and solved 96% of them within 5x the time of the absolute fastest solver.

The robustness of the solver is further highlighted by its failure rates. Unlike many competitors that may report success based on loose criteria, PIQP enforces strict termination checks on primal feasibility, dual feasibility, and the duality gap.

Comparison of failure rates across different solvers for low and high accuracy requirements.

At low accuracy ($\epsilon = 10^{-3}$), PIQP achieved a perfect 0.00% failure rate. At high accuracy ($\epsilon = 10^{-8}$), it failed on only one problem (0.72%), significantly outperforming commercial solvers like Gurobi (6.52% failure) and MOSEK (10.14% failure), as well as popular open-source alternatives like OSQP (31.16% failure).

Conclusion

PIQP represents a significant advancement in quadratic programming solvers, offering a unique combination of speed, robustness, and suitability for embedded systems. By leveraging proximal regularization, it bypasses the traditional limitations of interior-point methods regarding ill-conditioned problems. While future work will focus on formalizing theoretical convergence proofs for its specific update heuristics, the empirical results establish PIQP as a state-of-the-art tool for both general-purpose and real-time optimization.

Summary updated

BibTeX
@inproceedings{jiang2023piqp,
  author = {Yuning Jiang and Roland Schwan and Yuning Jiang and Daniel Kuhn and Colin N. Jones},
  title = {{PIQP: A Proximal Interior-Point Quadratic Programming Solver}},
  booktitle = {CDC},
  year = {2023},
  doi = {10.1109/cdc49753.2023.10383915},
}
Figure