English

Generalized Graph Packing Problems Parameterized by Treewidth

Data Structures and Algorithms 2025-09-09 v1 Computational Complexity

Abstract

HH-Packing is the problem of finding a maximum number of vertex-disjoint copies of HH in a given graph GG. HH-Partition is the special case of finding a set of vertex-disjoint copies that cover each vertex of GG exactly once. Our goal is to study these problems and some generalizations on bounded-treewidth graphs. The case of HH being a triangle is well understood: given a tree decomposition of GG having treewidth twtw, the K3K_3-Packing problem can be solved in time 2twnO(1)2^{tw} \cdot n^{O(1)}, while Lokshtanov et al.~[{\it ACM Transactions on Algorithms} 2018] showed, under the Strong Exponential-Time Hypothesis (SETH), that there is no (2ϵ)twnO(1)(2-\epsilon)^{tw}\cdot n^{O(1)} algorithm for any ϵ>0\epsilon>0 even for K3K_3-Partition. Similar results can be obtained for any other clique KdK_d for d3d\ge 3. We provide generalizations in two directions: - We consider a generalization of the problem where every vertex can be used at most cc times for some c1c\ge 1. When HH is any clique KdK_d with d3d\ge 3, then we give upper and lower bounds showing that the optimal running time increases to (c+1)twnO(1)(c+1)^{tw}\cdot n^{O(1)}. We consider two variants depending on whether a copy of HH can be used multiple times in the packing. - If HH is not a clique, then the dependence of the running time on treewidth may not be even single exponential. Specifically, we show that if HH is any fixed graph where not every 2-connected component is a clique, then there is no 2o(twlogtw)nO(1)2^{o({tw}\log {tw})}\cdot n^{O(1)} algorithm for \textsc{HH-Partition}, assuming the Exponential-Time Hypothesis (ETH).

Keywords

Cite

@article{arxiv.2509.06091,
  title  = {Generalized Graph Packing Problems Parameterized by Treewidth},
  author = {Barış Can Esmer and Dániel Marx},
  journal= {arXiv preprint arXiv:2509.06091},
  year   = {2025}
}