arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.24656math.OCcs.DM
收藏

多商品流问题的基于树的公式化

Tree-based formulation for the multi-commodity flow problem

Flowty ApS(Flowty有限公司)

Simon Spoorendonk, Bjørn Petersen

AI总结:

本文重新检验Jones等人的多商品流基于树的公式化,在44个超大规模实例上发现,|S|远小于|K|时其速度优于基于路径的方法,且两种分解均远快于直接求解紧凑模型。

摘要:

我们重新研究Jones等人(1993)提出的最小成本多商品流问题的基于树的公式化,该研究发现基于路径的分解在更少的主迭代中收敛,并报告了更低的CPU时间。该公式化将每个源的流出表示为最短路径树的凸组合,因此主问题每个源有|S|个需求约束,而非每个商品的|K|个约束。我们在44个实例(最多330万个商品,比Jones等人(1993)可用的规模大三个数量级)上,在五个线性规划后端(涵盖四个障碍代码、开源和商业版本、CPU和GPU)下重新检验该公式化。我们确认了其收敛结果:基于树的公式化仍需要两到三倍的迭代次数。然而,在|S|远小于|K|的情况下,其壁钟时间结论在每个后端下均被反转:基于树的列生成在移位几何均值上快1.4至1.9倍,在商品最多的实例上达到99倍的速度,且在每个后端下均解决了44个实例中的43或44个,而基于路径的公式化解决了38至42个,其失败集中在最大的运输实例上。两种分解均比直接求解紧凑模型快15至28倍(在紧凑模型可解的实例上快5至25倍)。测量结果确定了该机制:主问题占运行时间的87%至99%,且基于树的主问题在终止时规模最多小32倍。当|S|接近|V|时,该优势消失,此时树列在主问题的大部分行中有非零项,如planar2500实例所示。本文附带一个开源C++实现。

英文摘要:

We revisit the tree-based formulation of the minimum-cost multi-commodity flow problem, due to Jones et al. (1993), who found that path-based decomposition converges in fewer master iterations and reported lower CPU times for it. The formulation represents the flow out of each source as a convex combination of shortest-path trees, so the master problem has one demand constraint per source $|S|$ rather than per commodity $|K|$. We re-examine it on 44 instances with up to 3.3 million commodities, three orders of magnitude beyond the scale available to Jones et al. (1993), under five linear programming backends spanning four barrier codes, open source and commercial, CPU and GPU. Their convergence result is confirmed: the tree-based formulation still requires two to three times as many iterations. Their wall-clock conclusion, however, is reversed under every backend in the regime $|S| \ll |K|$: tree-based column generation is 1.4 to 1.9 times faster on the shifted geometric mean, reaches a factor of 99 on the instance with the most commodities, and solves 43 or 44 of the 44 instances under every backend, where the path-based formulation solves 38 to 42, its failures concentrated on the largest transportation instances. Both decompositions are 15 to 28 times faster than solving the compact model directly (5 to 25 on the instances that model solves). The measurements identify the mechanism: the master problem accounts for 87% to 99% of the runtime, and the tree-based master is up to 32 times smaller at termination. The advantage disappears when $|S|$ approaches $|V|$, where a tree column has non-zeros in a large fraction of the master's rows, as on the planar2500 instance. An open-source C++ implementation accompanies the paper.

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

↑