English

Maximum Flow and Minimum-Cost Flow in Almost-Linear Time

Data Structures and Algorithms 2022-04-26 v2

Abstract

We give an algorithm that computes exact maximum flows and minimum-cost flows on directed graphs with mm edges and polynomially bounded integral demands, costs, and capacities in m1+o(1)m^{1+o(1)} time. Our algorithm builds the flow through a sequence of m1+o(1)m^{1+o(1)} approximate undirected minimum-ratio cycles, each of which is computed and processed in amortized mo(1)m^{o(1)} time using a new dynamic graph data structure. Our framework extends to algorithms running in m1+o(1)m^{1+o(1)} time for computing flows that minimize general edge-separable convex functions to high accuracy. This gives almost-linear time algorithms for several problems including entropy-regularized optimal transport, matrix scaling, pp-norm flows, and pp-norm isotonic regression on arbitrary directed acyclic graphs.

Keywords

Cite

@article{arxiv.2203.00671,
  title  = {Maximum Flow and Minimum-Cost Flow in Almost-Linear Time},
  author = {Li Chen and Rasmus Kyng and Yang P. Liu and Richard Peng and Maximilian Probst Gutenberg and Sushant Sachdeva},
  journal= {arXiv preprint arXiv:2203.00671},
  year   = {2022}
}
R2 v1 2026-06-24T09:58:23.202Z