Steiner Forest for $H$-Subgraph-Free Graphs
Abstract
Our main result is a full classification, for every connected graph , of the computational complexity of Steiner Forest on -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 of vertices of bounded size that are pairwise connected by subgraphs of treewidth or bounded size, possibly together with an independent set of arbitrary size that is connected to in an arbitrary way; (2) a set of vertices of arbitrary size that are pairwise connected in a cyclic manner by subgraphs of treewidth or bounded size. Hardness results: We show that Steiner Forest remains NP-complete for graphs with 2-deletion set number . (The -deletion set number is the size of a smallest cutset such that every component of has at most vertices.) Combinatorial results: To establish the dichotomy, we perform a delicate graph-theoretic analysis showing that if is a path or a subdivided claw, then excluding 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 -deletion set number at most . Specifically, our results together with pre-existing ones show that Steiner Forest is polynomial-time solvable if (1) and , or (2) and , or (3) and , and is NP-complete otherwise.
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}
}