English

The Complexity of Tree Partitioning

Computational Complexity 2017-04-21 v1

Abstract

Given a tree TT on nn vertices, and k,b,s1,,sbNk, b, s_1, \ldots, s_b \in N, the Tree Partitioning problem asks if at most kk edges can be removed from TT so that the resulting components can be grouped into bb groups such that the number of vertices in group ii is sis_i, for i=1,,bi =1, \ldots, b. The case when s1==sb=n/bs_1=\cdots =s_b =n/b, referred to as the Balanced Tree Partitioning problem, was shown to be NP-complete for trees of maximum degree at most 5, and the complexity of the problem for trees of maximum degree 4 and 3 was posed as an open question. The parameterized complexity of Balanced Tree Partitioning was also posed as an open question in another work. In this paper, we answer both open questions negatively. We show that Balanced Tree Partitioning (and hence, Tree Partitioning) is NP-complete for trees of maximum degree 3, thus closing the door on the complexity of Balanced Tree Partitioning, as the simple case when TT is a path is in P. In terms of the parameterized complexity of the problems, we show that both Balanced Tree Partitioning and Tree Partitioning are W[1]W[1]-complete. Finally, using a compact representation of the solution space for an instance of the problem, we present a dynamic programming algorithm for Tree Partitioning (and hence, for Balanced Tree Partitioning) that runs in subexponential-time 2O(n)2^{O(\sqrt{n})}, adding a natural problem to the list of problems that can be solved in subexponential time.

Keywords

Cite

@article{arxiv.1704.05896,
  title  = {The Complexity of Tree Partitioning},
  author = {Zhao An and Qilong Feng and Iyad Kanj and Ge Xia},
  journal= {arXiv preprint arXiv:1704.05896},
  year   = {2017}
}
R2 v1 2026-06-22T19:21:55.500Z