A Simpler and Faster Strongly Polynomial Algorithm for Generalized Flow Maximization

Neil Olver, László A. Végh · DOI

Abstract

We present a new strongly polynomial algorithm for generalized flow maximization that is significantly simpler and faster than the previous strongly polynomial algorithm [Végh16]. For the uncapacitated problem formulation, the complexity bound $O(mn(m+n\log n)\log (n^2/m))$ improves on the previous estimate by almost a factor $O(n^2)$. Even for small numerical parameter values, our running time bound is comparable to the best weakly polynomial algorithms. The key new technical idea is relaxing the primal feasibility conditions. This allows us to work almost exclusively with integral flows, in contrast to all previous algorithms for the problem.

Introduction

In the landscape of combinatorial optimization, the Maximum Generalized Flow problem stands as a sophisticated extension of the standard network flow problem. While standard flow assumes a commodity is conserved across arcs, generalized flow introduces a "gain factor" ($\gamma_e$) for each arc. This factor can represent physical loss (e.g., leakage in a pipe), interest rates in financial models, or manufacturing efficiency where raw materials are converted into finished goods.

Mathematically, if $f_e$ units of flow enter an arc $e$ with gain $\gamma_e$, then $\gamma_e f_e$ units arrive at the destination node. The objective is to maximize the flow reaching a specific sink node. Despite its utility, the problem has historically been difficult to solve efficiently in a "strongly polynomial" sense—where the algorithm's running time depends strictly on the number of nodes ($n$) and arcs ($m$), rather than the numerical precision or bit-length of the input capacities and gains.

The Challenge of Strong Polynomiality

Most linear programming (LP) solvers and early generalized flow algorithms are "weakly polynomial." Their performance degrades as the input numbers (the bit-lengths of capacities or gains) grow larger. While the first strongly polynomial algorithm was discovered by László A. Végh in 2016, it was technically complex and carried a high theoretical complexity bound.

Neil Olver and Végh's new approach addresses these limitations by introducing a framework that is both faster and conceptually more accessible. By rethinking how feasibility is maintained and how numerical values are handled, they bridge the gap between theoretical bounds and practical algorithmic design.

Key Algorithmic Innovations

The algorithm departs from traditional scaling and relabelling paradigms through three primary technical shifts:

1. Relaxing Primal Feasibility

Traditional combinatorial flow algorithms typically maintain a feasible flow at every step, ensuring that supply meets demand at every node. This algorithm, however, allows for node "deficits." By relaxing the requirement for primal feasibility, the algorithm avoids the "tiny shortfall" problem—a common pitfall where attempting to fix a minuscule deficit at one node causes a disproportionately large and undesirable change in the overall objective value. Instead, it maintains a "safe" dual solution (labelling) that guarantees a feasible solution remains reachable.

2. Integrality in a Non-Integral Domain

Generalized flow is inherently a real-number problem due to the multiplicative nature of gain factors. However, the authors introduce a relabelling technique that allows the algorithm to work almost exclusively with integral flows in the relabelled network. This transformation significantly simplifies the bookkeeping and enhances numerical stability, as it prevents the accumulation of complex floating-point errors that usually plague generalized flow computations.

3. Arc Contraction

The algorithm utilizes a recursive strategy involving "abundant arcs." These are arcs carrying such a high volume of flow that they are guaranteed to be part of any optimal solution. When the algorithm identifies an abundant arc, it "contracts" it, merging the two endpoints into a single node. This reduces the problem size ($n$) and allows for a recursive reduction that is central to achieving the strongly polynomial bound.

Complexity and Performance

The theoretical improvements offered by this algorithm are substantial:

  • Uncapacitated Complexity: The algorithm achieves a bound of $O(mn(m + n \log n) \log(n^2/m))$, representing an improvement of nearly $O(n^2)$ over the previous state-of-the-art.
  • Capacitated Complexity: For standard versions with arc capacities, the bound is $O(m^2(m + n \log n) \log m)$.
  • Competitive Efficiency: Remarkably, the algorithm's running time is comparable to the best weakly polynomial algorithms, even when the input parameters are small. This suggests that the algorithm is not just a theoretical curiosity but a robust framework for practical optimization.

Conclusion and Future Directions

Olver and Végh have provided a more elegant and efficient path to solving one of the core problems in network optimization. By utilizing an additive potential function ($\Phi$) for analysis and a Round-Labels subroutine to keep dual variables polynomially bounded, they have simplified the proof of strong polynomiality.

However, challenges remain. The "Minimum Cost" Generalized Flow problem remains the next major frontier, as the current relabelling techniques do not easily translate to problems involving costs. Additionally, while the algorithm is simpler than its predecessor, its reliance on recursive contractions and sophisticated rounding suggests that further refinement is needed for standard optimization library implementation. Future research may also extend these techniques to concave gain functions, which are critical for modeling market equilibrium.

Summary updated

BibTeX
@inproceedings{olver2016simpler,
  author = {Neil Olver and László A. Végh},
  title = {{A Simpler and Faster Strongly Polynomial Algorithm for Generalized Flow Maximization}},
  booktitle = {STOC},
  year = {2016},
  doi = {10.1145/3055399.3055439},
}
Figure