Density Matters: A Complexity Dichotomy of Deleting Edges to Bound Subgraph Density
arXiv:2601.03129
Abstract
We study -Bounded-Density Edge Deletion (-BDED), where given an undirected graph , the task is to remove as few edges as possible to obtain a graph where no subgraph of has density more than . The density of a (sub)graph is the number of edges divided by the number of vertices. This problem was recently introduced and shown to be NP-hard for , but polynomial-time solvable for [Bazgan et al., JCSS 2025]. We provide a complete dichotomy with respect to the target density : 1. If (half-integral target density) or , then -BDED is polynomial-time solvable. 2. Otherwise, -BDED is NP-hard. We complement the NP-hardness with fixed-parameter tractability with respect to the treewidth of . Moreover, for integral target density , we show -BDED to be solvable in randomized time. Our algorithmic results are based on a reduction to a new general flow problem on restricted networks that, depending on , can be solved via Maximum s-t-Flow or General Factors. We believe this connection between these variants of flow and matching to be of independent interest.
to appear at STACS 2026