English

Directed Capacity-Preserving Subgraphs: Hardness and Exact Polynomial Algorithms

Data Structures and Algorithms 2025-02-13 v2 Discrete Mathematics

Abstract

We introduce and discuss the Minimum Capacity-Preserving Subgraph (MCPS) problem: given a directed graph and a retention ratio α(0,1)\alpha \in (0,1), find the smallest subgraph that, for each pair of vertices (u,v)(u,v), preserves at least a fraction α\alpha of a maximum uu-vv-flow's value. This problem originates from the practical setting of reducing the power consumption in a computer network: it models turning off as many links as possible while retaining the ability to transmit at least α\alpha times the traffic compared to the original network. First we prove that MCPS is NP-hard already on a restricted set of directed acyclic graphs (DAGs) with unit edge capacities. Our reduction also shows that a closely related problem (which only considers the arguably most complicated core of the problem in the objective function) is NP-hard to approximate within a sublogarithmic factor already on DAGs. In terms of positive results, we present two algorithms that solve MCPS optimally on directed series-parallel graphs (DSPs): a simple linear-time algorithm for the special case of unit edge capacities and a cubic-time dynamic programming algorithm for the general case of non-uniform edge capacities. Further, we introduce the family of laminar series-parallel graphs (LSPs), a generalization of DSPs that also includes cyclic and very dense graphs. Their properties allow us to solve MCPS on LSPs by employing our DSP-algorithms as subroutines. In addition, we give a separate quadratic-time algorithm for MCPS on LSPs with unit edge capacities that also yields straightforward quadratic time algorithms for several related problems such as Minimum Equivalent Digraph and Directed Hamiltonian Cycle on LSPs.

Keywords

Cite

@article{arxiv.2303.17274,
  title  = {Directed Capacity-Preserving Subgraphs: Hardness and Exact Polynomial Algorithms},
  author = {Markus Chimani and Max Ilsen},
  journal= {arXiv preprint arXiv:2303.17274},
  year   = {2025}
}

Comments

This is the definitive version of a paper published in Acta Informatica; the journal version contains mistakes that were introduced by Springer typesetting and not fixed upon our request before publication. A preliminary version named "Capacity-Preserving Subgraphs of Directed Flow Networks" appeared at the 34th International Workshop on Combinatorial Algorithms (IWOCA 2023)

R2 v1 2026-06-28T09:41:05.669Z