English

A Formal Analysis of Capacity Scaling Algorithms for Minimum-Cost Flows

Logic in Computer Science 2026-02-04 v1

Abstract

We present formalisations of the correctness of executable algorithms to solve minimum-cost flow problems in Isabelle/HOL. Two of the algorithms are based on the technique of scaling, most notably Orlin's algorithm, which has the fastest known running time for solving the problem of minimum-cost flow. We also include a formalisation of the worst-case running time argument for Orlin's algorithm. Our verified implementation of this algorithm, which is derived by the technique of stepwise refinement, is fully executable and was integrated into a reusable formal library on graph algorithms. Because the problems for which Orlin's algorithm works are restricted, we also verified an executable reduction from the general minimum-cost flow problem. We believe we are the first to formally consider the problem of minimum-cost flows and, more generally, any scaling algorithms. Our work has also led to a number of mathematical insights and improvements to proofs as well as theorem statements, compared to all existing expositions.

Keywords

Cite

@article{arxiv.2602.03701,
  title  = {A Formal Analysis of Capacity Scaling Algorithms for Minimum-Cost Flows},
  author = {Mohammad Abdulaziz and Thomas Ammer},
  journal= {arXiv preprint arXiv:2602.03701},
  year   = {2026}
}

Comments

Related Conference Paper: https://doi.org/10.4230/LIPIcs.ITP.2024.3

R2 v1 2026-07-01T09:34:35.244Z