arXiv:2610.38706math.OCOct 2026

Manuscript Offprint

arXiv:2610.38706

cuPDQPx: A GPU-Accelerated Restarted Halpern PDHG for Large-Scale Convex Quadratic Programming

Haihao Lu, Zedong Peng, Jinwen Yang

Abstract

We present cuPDQPx, a GPU-accelerated, factorization-free first-order solver for large-scale convex quadratic programming (QP). Building on the restarted reflected Halpern primal-dual framework of cuPDLPx, we introduce an auxiliary-variable splitting that yields explicit updates without linearizing the quadratic objective or solving inner quadratic subproblems. A preconditioned proximal point interpretation yields both sublinear and linear fixed-point residual convergence guarantees. For practical efficiency, cuPDQPx integrates diagonal preconditioning, step-size selection, adaptive restart, and adaptive primal and quadratic weight updates. cuPDQPx is implemented in C and CUDA with optimized sparse matrix-vector products, kernel fusion, and CUDA Graphs. Numerical experiments on the Maros-Mészáros collection, a convex subset of QPLIB, and synthetic large-scale QPs demonstrate that cuPDQPx has strong numerical performance at both 10−410^{-4} and 10−810^{-8} tolerances.

1 Introduction

Convex quadratic programming (QP) is a fundamental class of optimization problems with wide applications in machine learning, control, finance, and operations research. Examples include support vector machines, constrained least squares, model predictive control, and portfolio optimization [15, 22]. Classical approaches, including active-set and interior-point methods, provide reliable solutions with high accuracy. However, their computational bottleneck is solving linear systems, which can become expensive on large instances. Moreover, sparse matrix factorizations may introduce substantial fill-in and require considerably more memory than the original problem data. These limitations have motivated the development of first-order methods for large-scale QP.

Recently, factorization-free first-order methods have emerged as a promising approach to large-scale optimization. The main computational cost of these methods lies in matrix-vector multiplication rather than matrix factorization, making them well suited to modern parallel architectures such as graphics processing units (GPUs). For linear programming (LP), PDLP and its GPU implementation [1, 14, 16] demonstrates the effectiveness of combining restarted primal-dual hybrid gradient (PDHG) with practical enhancements. Building on restarted Halpern PDHG [13], cuPDLPx [17] combines algorithmic enhancements with an efficient GPU implementation. For convex QP, solvers such as PDQP [15], PDHCG [9], and HPR-QP [3] combine factorization-free primal-dual methods

*MIT, Sloan School of Management (haihao@mit.edu). †MIT, Sloan School of Management (zdpeng@mit.edu). ‡University of Chicago, Department of Statistics (jinweny@uchicago.edu).

with GPU acceleration and have demonstrated promising performance on standard benchmarks and large-scale instances.

The main computational obstacle in extending LP-oriented PDHG solvers to QP is the quadratic objective: a direct application can replace the inexpensive box projections of LP with coupled quadratic subproblems (see Section 1.2 for a more detailed discussion). A unifying perspective is that splitting methods such as PDHG and ADMM are instances of the preconditioned proximal point method [12]. The choice of splitting and proximal metric determines the subproblems and computational cost of each iteration. This perspective motivates a splitting that retains the quadratic objective while yielding inexpensive explicit updates.

In this paper, we propose a new PDHG-based method for convex QP based on an auxiliary-variable saddle-point formulation. This equivalent reformulation yields explicit updates without linearizing the quadratic objective or requiring an inner subproblem solve. We combine this splitting with the restarted reflected Halpern framework underlying cuPDLPx [17]. We implement the proposed method in cuPDQPx, a GPU-accelerated QP solver. The contributions of this paper are summarized as follows.

  1. A restarted Halpern primal-dual method for convex QP. We develop an auxiliary-variable splitting with explicit updates for general convex QP. We establish a preconditioned proximal point interpretation and a sublinear fixed-point residual bound for the reflected Halpern iteration under fixed parameters and a fixed anchor. We further establish linear convergence of the restart anchors under a residual-based adaptive restart rule with fixed parameters.

  2. Practical algorithmic enhancements. We incorporate preconditioning, adaptive restart, and adaptive primal and quadratic weights to balance the primal, auxiliary, and constraint-dual blocks. We derive movement-based target weights from the proximal metric, accounting for the dependence of the step size on the quadratic weight.

  3. Explicit treatment of diagonal QP. We describe the diagonal-Q specialization, where the primal proximal update has a coordinatewise closed form and PDHG applies directly without an auxiliary variable. We detail the simplified algorithmic enhancements and provide a dedicated implementation that is selected automatically when Q is diagonal.

  4. Efficient GPU implementation. We implement the proposed method in CUDA C using optimized sparse matrix-vector products, kernel fusion, and CUDA Graphs. Experiments on the Maros-Mészáros collection, a convex subset of QPLIB, and synthetic QPs demonstrate competitive performance relative to existing CPU and GPU first-order solvers. On the synthetic set, cuPDQPx achieves the lowest shifted geometric mean of running time among the tested solvers at tolerances 10−410^{-4} and 10−810^{-8}.

To motivate the proposed splitting, we first introduce the QP formulation and notation, then examine the computational challenges of applying PDHG to QP and existing approaches to these challenges. We also review related approaches.

References (20)