arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.19840math.OC
收藏

面向大规模线性规划的GPU加速预处理

GPU-Accelerated Preprocessing for Large-Scale Linear Programming

The Hong Kong Polytechnic University(香港理工大学);Beijing University of Technology(北京工业大学)

Kaihuang Chen, Jiawei Lu, Defeng Sun, Yancheng Yuan, Guojun Zhang, Xiangyu Zhang, Xinyuan Zhao

AI总结:

针对大规模线性规划预处理的GPU加速难题,开发了原生GPU框架GPU-Preprocessor,结合折叠与预求解技术,在基准测试中实现了显著的预处理及总求解时间加速。

摘要:

GPU加速的一阶方法在求解大规模线性规划(LPs)方面愈发有效,但线性规划预处理仍主要基于CPU,且可能产生高昂成本。一个关键挑战在于,预求解归约之间的依赖关系以及稀疏LP数据的频繁修改,使得高效的GPU并行化难以实现。为应对这一挑战,我们开发了GPU-Preprocessor,这是一种原生GPU的LP预处理框架,整合了折叠与预求解功能。为在GPU上高效实现折叠,我们将一种随机分区细化算法适配于LP折叠,利用稀疏矩阵-向量乘积和并行排序来构建稳定的行与列分区。对于预求解,我们引入了一种新的分段线性重构规则,该规则利用潜在的凸分段线性结构以获得更稀疏的LP表示。我们还开发了一种结合阶段调度与扫描-规划-应用(Scan-Plan-Apply)设计的框架,以协调预求解规则并通过批量更新减少稀疏矩阵重构开销。在三个LP基准集上的数值实验表明,GPU-Preprocessor实现了比PSLP和Gurobi Presolve更大的平均问题规模缩减,其中SGM10(指带10秒偏移的偏移几何均值)的预处理时间加速比分别高达43.9倍和677.7倍。在测试的最大二次分配问题LP松弛上,这些加速比达到126.3倍和2207.9倍。当与GPU加速的LP求解器HPR-LP集成时,GPU-Preprocessor在预处理与求解的总时间上,相较于未进行预处理的HPR-LP,实现了2.5倍至5.0倍的SGM10加速比。代码可在该https URL获取。

英文摘要:

GPU-accelerated first-order methods are increasingly effective for solving large-scale linear programs (LPs), yet LP preprocessing remains predominantly CPU-based and can become costly. A key challenge is that dependencies among presolve reductions and frequent modifications to sparse LP data make efficient GPU parallelization difficult. To address this challenge, we develop GPU-Preprocessor, a GPU-native LP preprocessing framework that integrates folding and presolve. To efficiently implement folding on GPUs, we adapt a randomized partition refinement algorithm to LP folding, using sparse matrix-vector products and parallel sorting to construct stable row and column partitions. For presolve, we introduce a new piecewise-linear reformulation rule that exploits underlying convex piecewise-linear structure to obtain sparser LP representations. We also develop a framework that combines phase scheduling with a Scan-Plan-Apply design to coordinate presolve rules and reduce sparse-matrix reconstruction overhead through batched updates. Numerical experiments on three LP benchmark sets show that GPU-Preprocessor achieves greater average problem-size reductions than PSLP and Gurobi Presolve, with SGM10 preprocessing-time speedups of up to $43.9\times$ and $677.7\times$, respectively. Here, SGM10 denotes the shifted geometric mean with a 10-second shift. On the largest tested quadratic assignment problem LP relaxation, these speedups reach $126.3\times$ and $2{,}207.9\times$. When integrated with the GPU-accelerated LP solver HPR-LP, GPU-Preprocessor achieves SGM10 speedups of $2.5\times$ to $5.0\times$ in combined preprocessing and solving time over HPR-LP without preprocessing. The code is available at https://github.com/PolyU-IOR/GPU-Preprocessor.

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

↑