arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23951math.OC
收藏

预处理用于GPU加速的一阶线性规划求解器

Presolving for GPU-Accelerated First-Order LP Solvers

Stanford University(斯坦福大学)

Daniel Cederberg, Stephen Boyd

AI总结:

本文研究了GPU加速的一阶线性规划求解器中的预处理技术,提出了一组简单的预处理规则,证明其能以较低成本实现与商业求解器相当的预处理效果,并展示了其在cuPDLPx中的显著加速效果。

摘要:

近期研究集中在开发用于线性规划(LP)的GPU加速一阶求解器,但这一领域大多忽视了预处理的作用,导致先前结果未能充分反映在真实端到端求解器流水线中通过GPU加速获得的速度提升。同时,传统的LP预处理主要是为CPU求解器设计的,其中预处理时间很少主导总运行时间,重点在于最大化问题规模的减少,即使牺牲昂贵的预处理规则。鉴于现代GPU加速求解器的高性能以及预处理的本质上是顺序的,不清楚这种传统预处理方法是否仍然适用。本文从GPU加速的一阶LP求解器角度重新审视LP预处理。我们识别出一组相对简单的预处理规则,并展示了一组精心设计的这些规则能够捕捉到Gurobi商业最先进的预处理器所实现的大部分减少效果,成本仅为之一。此外,我们证明了这种轻量级预处理可以为GPU加速的求解器cuPDLPx带来显著的端到端加速效果,尽管预处理有时构成总运行时间的重要部分。这些结果表明,轻量级预处理可能在GPU性能继续扩展时仍有益,而预处理的顺序性质可能不会。本文还附带了一个开源的C语言实现的LP预处理程序,称为PSLp(线性规划预处理程序)。PSLp经过实战检验,并已被社区采用,集成到cuPDLPx、cuOpt(NVIDIA的优化库)和HPR-LP中。

英文摘要:

Recent research has focused on developing GPU-accelerated first-order solvers for linear programming (LP). This line of work, however, has largely overlooked the role of presolving, and thus prior results do not fully reflect the speedups achievable through GPU acceleration in a realistic end-to-end solver pipeline. At the same time, LP presolving has traditionally been developed for CPU-based solvers, where presolve time rarely dominates the total runtime and the emphasis has been on maximizing the reduction in problem size, even at the expense of costly presolve rules. Given the high performance of modern GPU-accelerated solvers and the inherently sequential nature of presolving, it is unclear whether this traditional approach to presolving remains appropriate. In this paper we revisit LP presolving from the perspective of GPU-accelerated first-order LP solvers. We identify a set of relatively simple presolve rules and show that a carefully engineered collection of these captures most of the reduction achieved by Gurobi's commercial state-of-the-art presolver, at a fraction of the cost. Moreover, we demonstrate that such lightweight presolving can yield substantial end-to-end speedups for the GPU-accelerated solver cuPDLPx, despite presolving sometimes constituting a significant fraction of the total runtime. These results suggest that lightweight presolving may remain beneficial as GPU performance continues to scale, while the sequential nature of presolving presumably does not. We accompany this paper with an open-source C implementation of an LP presolver, called PSLP (Presolver for Linear Programs). PSLP is battle-tested and has been adopted by the community, with integrations in cuPDLPx, cuOpt (NVIDIA's optimization library), and HPR-LP.

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

↑