arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.20892math.OCcs.LG
收藏

基于测量的求解器代价学习单纯形法的热启动

Learning Warm Starts for the Simplex Method from Measured Solver Cost

Center for Systems Science and Engineering, Johns Hopkins University(约翰斯·霍普金斯大学系统科学与工程中心)

Felix Parker, Danielle A. Ripsman, Emmett Springer, Kimia Ghobadi

AI总结:

该研究提出CostStart方法,结合监督基预测与基于CPU指令数的策略选择,在25类线性规划上较默认启动减半求解时间,且比两种已发表方法快1.4-2.2倍。

摘要:

学习型单纯形法热启动通过预测最优时的基变量来构建初始基。已有研究表明,图神经网络预测的初始基可大幅减少迭代次数,但节省的时间可能远少于减少的迭代次数。在25类线性规划(LPs)上,我们发现一个强监督基预测器可消除对偶单纯形法三分之二的迭代次数,但仅减少其三分之一的时间。存在两种效应解释该差距:良好启动消除的迭代往往代价低廉,且与最优基的接近度无法按代价对启动进行排序。我们证明,两个与最优基重叠度相等、枢轴数相等的启动,其线性代数工作量的差异可随行数的平方根增长。经验上,在某LP的所有启动中,枢轴数解释了求解时间对数方差的71%,而CPU指令数解释了98.5%。我们提出CostStart,其使用监督预测获取基,并基于测量的指令数训练一个小策略,为每个LP选择要使用的预测列数量、运行的算法和定价规则,以及是否进行热启动。在训练类的未见过的LPs(包括规模为训练集4倍的LPs)上,CostStart相比求解器默认启动大致将求解时间减半,且比在相同数据上重新训练的两种已发表方法快1.4至2.2倍。

英文摘要:

Learned warm starts for the simplex method build starting bases using predictions of which variables will be basic at optimality. Prior work has shown that starting bases predicted by graph neural networks can sharply reduce iteration counts, but the time saved may fall well short of the iterations saved. On 25 classes of linear programs (LPs), we find that a strong supervised basis predictor removes two thirds of the dual simplex's iterations but only a third of its time. Two effects explain the gap: the iterations removed by a good start tend to be cheap, and closeness to an optimal basis does not rank starts by cost. We prove that two starts with equal overlap with an optimal basis and equal pivot counts can differ in linear-algebra work by a factor that grows with the square root of the number of rows. Empirically, across the starts of one LP, the pivot count explains 71% of the variance of log solve time, while the CPU instruction count explains 98.5%. We introduce CostStart, which uses supervised prediction for the basis and trains a small policy on measured instruction counts to choose, per LP, how many predicted columns to use, which algorithm and pricing rule to run, and whether to warm-start at all. On unseen LPs of the training classes, including LPs four times the training size, CostStart roughly halves the solve time relative to the solver's default start and is 1.4 to 2.2 times as fast as two published methods retrained on the same data.

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

↑