English

Generalized Flow in Nearly-linear Time on Moderately Dense Graphs

Data Structures and Algorithms 2025-10-21 v1

Abstract

In this paper we consider generalized flow problems where there is an mm-edge nn-node directed graph G=(V,E)G = (V,E) and each edge eEe \in E has a loss factor γe>0\gamma_e >0 governing whether the flow is increased or decreased as it crosses edge ee. We provide a randomized O~((m+n1.5)polylog(Wδ))\tilde{O}( (m + n^{1.5}) \cdot \mathrm{polylog}(\frac{W}{\delta})) time algorithm for solving the generalized maximum flow and generalized minimum cost flow problems in this setting where δ\delta is the target accuracy and WW is the maximum of all costs, capacities, and loss factors and their inverses. This improves upon the previous state-of-the-art O~(mnlog2(Wδ))\tilde{O}(m \sqrt{n} \cdot \log^2(\frac{W}{\delta}) ) time algorithm, obtained by combining the algorithm of [Daitch-Spielman, 2008] with techniques from [Lee-Sidford, 2014]. To obtain this result we provide new dynamic data structures and spectral results regarding the matrices associated to generalized flows and apply them through the interior point method framework of [Brand-Lee-Liu-Saranurak-Sidford-Song-Wang, 2021].

Keywords

Cite

@article{arxiv.2510.17740,
  title  = {Generalized Flow in Nearly-linear Time on Moderately Dense Graphs},
  author = {Shunhua Jiang and Michael Kapralov and Lawrence Li and Aaron Sidford},
  journal= {arXiv preprint arXiv:2510.17740},
  year   = {2025}
}

Comments

65 pages. FOCS 2025

R2 v1 2026-07-01T06:48:02.448Z