English

Steiner Forest for $H$-Subgraph-Free Graphs

Combinatorics 2026-02-26 v1 Computational Complexity Discrete Mathematics Data Structures and Algorithms

Abstract

Our main result is a full classification, for every connected graph HH, of the computational complexity of Steiner Forest on HH-subgraph-free graphs. To obtain this dichotomy, we establish the following new algorithmic, hardness, and combinatorial results: Algorithms: We identify two new classes of graph-theoretical structures that make it possible to solve Steiner Forest in polynomial time. Roughly speaking, our algorithms handle the following cases: (1) a set XX of vertices of bounded size that are pairwise connected by subgraphs of treewidth 22 or bounded size, possibly together with an independent set of arbitrary size that is connected to XX in an arbitrary way; (2) a set XX of vertices of arbitrary size that are pairwise connected in a cyclic manner by subgraphs of treewidth 22 or bounded size. Hardness results: We show that Steiner Forest remains NP-complete for graphs with 2-deletion set number 33. (The cc-deletion set number is the size of a smallest cutset SS such that every component of GSG-S has at most cc vertices.) Combinatorial results: To establish the dichotomy, we perform a delicate graph-theoretic analysis showing that if HH is a path or a subdivided claw, then excluding HH as a subgraph either yields one of the two algorithmically favourable structures described above, or yields a graph class for which NP-completeness of Steiner Forest follows from either our new hardness result or a previously known one. Along the way to classifying the hardness for excluded subgraphs, we establish a dichotomy for graphs with cc-deletion set number at most kk. Specifically, our results together with pre-existing ones show that Steiner Forest is polynomial-time solvable if (1) c=1c=1 and k0k\geq 0, or (2) c=2c=2 and k2k\leq 2, or (3) c3c\geq 3 and k=1k=1, and is NP-complete otherwise.

Keywords

Cite

@article{arxiv.2602.21859,
  title  = {Steiner Forest for $H$-Subgraph-Free Graphs},
  author = {Tala Eagling-Vose and David C. Kutner and Felicia Lucke and Dániel Marx and Barnaby Martin and Daniël Paulusma and Erik Jan van Leeuwen},
  journal= {arXiv preprint arXiv:2602.21859},
  year   = {2026}
}
R2 v1 2026-07-01T10:51:53.232Z