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

在GPU上求解大多商品网络流问题

Solving Large Multicommodity Network Flow Problems on GPUs

Fangzhao Zhang, Stephen Boyd

AI总结:

本文研究容量网络上的所有节点对多商品网络流问题,提出一种基于原始-对偶混合梯度算法的GPU兼容方法,通过聚合相同目的地的流大幅减少变量数量,实现比通用商业求解器快100至1000倍的速度并支持十亿级变量。

摘要:

我们考虑具有容量限制边的网络上的所有节点对多商品网络流问题。常规处理方法为每条边上的每个源-目的节点对保留单独的流;我们依赖一种更高效的公式化方法,将具有相同目的地的流进行聚合,从而将变量数量减少一个等于网络规模的因子。对于具有数百个节点、变量总数约为一百万的问题,可以使用CPU上的标准通用内点法求解;我们专注于兼容GPU的算法,该算法能更快地求解此类问题,并且能扩展到规模大得多的问题,变量多达十亿个。我们的方法依赖于原始-对偶混合梯度算法,并利用了该问题的几个特定特征以实现高效的GPU计算。数值实验表明,我们的原始-对偶多商品网络流方法将最先进的通用商业求解器加速了100倍至1000倍,并且能够扩展到规模大得多的问题。我们提供了该方法的开放源代码实现。

英文摘要:

We consider the all-pairs multicommodity network flow problem on a network with capacitated edges. The usual treatment keeps track of a separate flow for each source-destination pair on each edge; we rely on a more efficient formulation in which flows with the same destination are aggregated, reducing the number of variables by a factor equal to the size of the network. Problems with hundreds of nodes, with a total number of variables on the order of a million, can be solved using standard generic interior-point methods on CPUs; we focus on GPU-compatible algorithms that can solve such problems much faster, and in addition scale to much larger problems, with up to a billion variables. Our method relies on the primal-dual hybrid gradient algorithm, and exploits several specific features of the problem for efficient GPU computation. Numerical experiments show that our primal-dual multicommodity network flow method accelerates state of the art generic commercial solvers by $100\times$ to $1000\times$, and scales to problems that are much larger. We provide an open source implementation of our method.

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

↑