Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 19 min ago
PreprintarXiv licencearXiv

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=16. On an RTX A6000, subsequent solves of a $5000$-asset factor-model QP average $24$ ms on SPO-GPU, compared with $98$ ms on Clarabel.rs and $122$ ms on single-thread Gurobi; at 10,000 assets the corresponding GPU time is $59$ ms against $439$ ms for one-thread Mosek. Clarabel.rs, SPO-CPU, and SPO-GPU agree pairwise to 2.2×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 $5000$-asset factor QP/SOCP, while a subsequent forward-plus-backward step is $101−−137\times$ faster at $5000$ assets (and $17−−30\times$ at $1000$ 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 $18$-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.

Related

  1. Mean-field quadratic BSDEs and related mean-field portfolio games of controls
    Huilin Zhang
    arXivPreprintCC BY 4.0Full textOptimisation & controlProbabilityarXiv
  2. Interior Hessian estimates for the quadratic Hessian equation
    Zhisu Li, Ke Wu
    arXivPreprintCC0Full text20 citedAnalysis & PDEsarXivOpenAlex
  3. Interior C2,α Regularity for the Quadratic Hessian Equation
    Ruosi Chen, Xingchen Zhou, Ruixuan Zhu
    arXivPreprintarXiv licenceFull textAnalysis & PDEsarXiv
  4. Singular Backward SDEs with Jumps, Quadratic and Polynomial Growth Generators: Applications to Portfolio Hedging
    Dalal Al Ghanim, Salma Alsuwailem, Mhamed Eddahbi
    AxiomsPeer-reviewedCC BY 4.0General mathematicsCrossref
  5. Differentiable Systematic Resampling for Variational Sequential Monte Carlo
    Fredrik Cumlin, Saikat Chatterjee
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
BibTeX
@misc{zhao2026sequential,
  title = {{Sequential Portfolio Optimizer (SPO-CPU and SPO-GPU): C++ Interior-Point Solvers and Differentiable Layers for Quadratic Cone Programs}},
  author = {Fan Zhao and Yan Zaretskiy and Yuwen Chen and Jerry Shi},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.34590},
  eprint = {2611.34590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34590},
}
RIS
TY  - UNPB
TI  - Sequential Portfolio Optimizer (SPO-CPU and SPO-GPU): C++ Interior-Point Solvers and Differentiable Layers for Quadratic Cone Programs
AU  - Fan Zhao
AU  - Yan Zaretskiy
AU  - Yuwen Chen
AU  - Jerry Shi
PY  - 2026
DA  - 2026/11/25
PB  - arXiv
DO  - 10.48550/arxiv.2611.34590
UR  - https://arxiv.org/abs/2611.34590
AB  - 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=16. On an RTX A6000, subsequent solves of a $5000$-asset factor-model QP average $24$ ms on SPO-GPU, compared with $98$ ms on Clarabel.rs and $122$ ms on single-thread Gurobi; at 10,000 assets the corresponding GPU time is $59$ ms against $439$ ms for one-thread Mosek. Clarabel.rs, SPO-CPU, and SPO-GPU agree pairwise to 2.2×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 $5000$-asset factor QP/SOCP, while a subsequent forward-plus-backward step is $101−−137\times$ faster at $5000$ assets (and $17−−30\times$ at $1000$ 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 $18$-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.
ER  -