English

Parallel $(1+\epsilon)$-Approximate Multi-Commodity Mincost Flow in Almost Optimal Depth and Work

Data Structures and Algorithms 2025-10-24 v1

Abstract

We present a parallel algorithm for computing (1+ϵ)(1+\epsilon)-approximate mincost flow on an undirected graph with mm edges, where capacities and costs are assigned to both edges and vertices. Our algorithm achieves O^(m)\hat{O}(m) work and O^(1)\hat{O}(1) depth when ϵ>1/polylog(m)\epsilon > 1/\mathrm{polylog}(m), making both the work and depth almost optimal, up to a subpolynomial factor. Previous algorithms with O^(m)\hat{O}(m) work required Ω(m)\Omega(m) depth, even for special cases of mincost flow with only edge capacities or max flow with vertex capacities. Our result generalizes prior almost-optimal parallel (1+ϵ)(1+\epsilon)-approximation algorithms for these special cases, including shortest paths [Li, STOC'20] [Andoni, Stein, Zhong, STOC'20] [Rozhen, Haeupler, Marinsson, Grunau, Zuzic, STOC'23] and max flow with only edge capacities [Agarwal, Khanna, Li, Patil, Wang, White, Zhong, SODA'24]. Our key technical contribution is the first construction of length-constrained flow shortcuts with (1+ϵ)(1+\epsilon) length slack, O^(1)\hat{O}(1) congestion slack, and O^(1)\hat{O}(1) step bound. This provides a strict generalization of the influential concept of (O^(1),ϵ)(\hat{O}(1),\epsilon)-hopsets [Cohen, JACM'00], allowing for additional control over congestion. Previous length-constrained flow shortcuts [Haeupler, Hershkowitz, Li, Roeyskoe, Saranurak, STOC'24] incur a large constant in the length slack, which would lead to a large approximation factor. To enable our flow algorithms to work under vertex capacities, we also develop a close-to-linear time algorithm for computing length-constrained vertex expander decomposition. Building on Cohen's idea of path-count flows [Cohen, SICOMP'95], we further extend our algorithm to solve (1+ϵ)(1+\epsilon)-approximate kk-commodity mincost flow problems with almost-optimal O^(mk)\hat{O}(mk) work and O^(1)\hat{O}(1) depth, independent of the number of commodities kk.

Keywords

Cite

@article{arxiv.2510.20456,
  title  = {Parallel $(1+\epsilon)$-Approximate Multi-Commodity Mincost Flow in Almost Optimal Depth and Work},
  author = {Bernhard Haeupler and Yonggang Jiang and Yaowei Long and Thatchaphol Saranurak and Shengzhe Wang},
  journal= {arXiv preprint arXiv:2510.20456},
  year   = {2025}
}

Comments

To appear in FOCS 2025, 104 pages, 3 figures

R2 v1 2026-07-01T07:01:56.469Z