arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.09058math.OCcs.SYeess.SY
收藏

Cyqlone:一种用于最优控制的并行高性能线性求解器

Cyqlone: A Parallel, High-Performance Linear Solver for Optimal Control

KU Leuven(荷语鲁汶大学)

Pieter Pas, Panagiotis Patrinos

AI总结:

Cyqlone是一种基于并行和向量化线性代数的高性能求解器,用于解决最优控制中的长时间 horizon 问题,通过结合多种算法实现显著的加速效果。

摘要:

我们介绍了Cyqlone,一种用于具有分阶段最优控制结构的线性系统的求解器,能够充分利用现代硬件中各个层次的并行性。Cyqlone将基于顺序Riccati递归、并行Schur补方法和循环减少方法的算法统一起来,从而减少所需的浮点运算次数,同时允许在可配置数量的处理器上并行化。在足够并行性的情况下,求解器运行时间与时间 horizon 的对数成正比(与基于顺序Riccati方法的线性缩放形成对比),使长时间 horizon 问题能够实时求解。除了在多核处理器上的多线程之外,Cyqlone的实现还可以利用向量化,使用批量线性代数例程。这些批量例程利用单指令多数据(SIMD)操作进行数据并行性,暴露比非批量对应物更高的指令级并行性。这使它们能够显著优于BLAS和BLASFEO,对于出现在最优控制中的小矩阵。基于这种高性能线性求解器,我们开发了CyQPALM,一种基于QPALM二次规划求解器的并行和最优控制专用变种。它结合了Cyqlone中的并行和向量化线性代数操作,以及并行线搜索和并行因子更新,从而在状态-of-the-art HPIPM求解器上实现了数量级的加速。Cyqlone和CyQPALM的开源C++实现可在https://github.com/kul-optec/cyqlone上获得。

英文摘要:

We present Cyqlone, a solver for linear systems with a stage-wise optimal control structure that fully exploits the various levels of parallelism available in modern hardware. Cyqlone unifies algorithms based on the sequential Riccati recursion, parallel Schur complement methods, and cyclic reduction methods, thereby minimizing the required number of floating-point operations, while allowing parallelization across a configurable number of processors. Given sufficient parallelism, the solver run time scales with the logarithm of the horizon length (in contrast to the linear scaling of sequential Riccati-based methods), enabling real-time solution of long-horizon problems. Beyond multithreading on multi-core processors, implementations of Cyqlone can also leverage vectorization using batched linear algebra routines. Such batched routines exploit data parallelism using single instruction, multiple data (SIMD) operations, and expose a higher degree of instruction-level parallelism than their non-batched counterparts. This enables them to significantly outperform BLAS and BLASFEO for the small matrices that arise in optimal control. Building on this high-performance linear solver, we develop CyQPALM, a parallel and optimal-control-specific variant of the QPALM quadratic programming solver. It combines the parallel and vectorized linear algebra operations from Cyqlone with a parallel line search and parallel factorization updates, resulting in order-of-magnitude speedups over the state-of-the-art HPIPM solver. Open-source C++ implementations of Cyqlone and CyQPALM are available at https://github.com/kul-optec/cyqlone

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑