betaFeedback

WorksMathematics

Sequential Portfolio Optimizer (SPO-CPU and SPO-GPU): C++ Interior-Point Solvers and Differentiable Layers for Quadratic Cone Programs

Abstract

Quadratic cone programs (QCPs) are a practical canonical form for convex optimization, including parametric portfolio problems that must be re-solved to high accuracy as market data change. We present Sequential Portfolio Optimizer (SPO), with SPO-CPU and SPO-GPU the C++ and CUDA realizations of the Clarabel homogeneous-embedding interior-point method. Clarabel is a registered trademark; SPO is our name for these implementations. Each exposes a forward optimizer and an in-solver differentiable layer. The Mehrotra algorithm is unchanged. The contribution is an implementation stack: a reduced two-block vector-Jacobian product with gradients in the original coordinates; a documented variant of the Chen–Goulart–Jones smoothing warm start, applied in equilibrated coordinates; and a GIL-free GPU batch architecture whose isolated throughput is at parity with a warm solver loop up to B=16B{=}16. On an RTX A6000, subsequent solves of a 50005000-asset factor-model QP average 2424 ms on SPO-GPU, compared with 9898 ms on Clarabel.rs and 122122 ms on single-thread Gurobi; at 10,00010{,}000 assets the corresponding GPU time is 5959 ms against 439439 ms for one-thread Mosek. Clarabel.rs, SPO-CPU, and SPO-GPU agree pairwise to 2.2×10−72.2{\times}10^{-7} in relative objective on this family. Against a CVXPYLayers baseline driven by Clarabel, the GPU layer reproduces the solution and the return-gradient on a 50005000-asset factor QP/SOCP, while a subsequent forward-plus-backward step is 101101–137×137\times faster at 50005000 assets (and 1717–30×30\times at 10001000 assets). The smoothing warm start reduces QP rebalance iterations but can increase them on a large GPU second-order cone. Wall-clock rankings apply to the factor-model family only; an 1818-problem Maros–Mészáros subset is reported as a cross-check. We do not claim a speedup over CuClarabel, and the batch architecture is not a measured throughput improvement.

Paper details

vlnc:W_9syrpjvt
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Kimi-3

View statement
Looking for related papers…