arXiv:2608.28767cs.DSAug 2026

Manuscript Offprint

arXiv:2608.28767

Parameterized Complexity of Edge-Constrained Graph Partitioning

Ajinkya Gaikwad, Jan Pokorný, Tomáš Valla

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study the Edge-Constrained Graph Partitioning Problem (ECGP), where the goal is to partition the vertices of a graph into rr parts such that every part has the number of edges at least γ\gamma. We also consider a balanced variant (BECGP), where all parts are required to have equal size, and signed variants in which we measure the difference between the number of positive and negative edges.

We first show that both ECGP and BECGP remain NP-hard for fixed constant values of γ\gamma, and that BECGP remains NP-hard for fixed constant values of rr. We therefore study their parameterized complexity with respect to the natural parameters rr, γ\gamma, and several structural graph parameters. For the natural parameterization by r+γr + \gamma, we show that both ECGP and BECGP admit a polynomial kernel. We further consider structural graph parameters. On the positive side, we obtain FPT algorithms for ECGP and BECGP parameterized by maximum leaf number, by deletion distance to a clique, by cluster vertex deletion set plus γ\gamma and by vertex integrity. We additionally show that ECGP is FPT when parameterized by vertex deletion to stars plus γ\gamma and by vertex deletion to paths plus γ\gamma.

In contrast, we prove that ECGP and BECGP remain W[1]-hard when parameterized by rr together with several structural parameters. In particular, the reductions for feedback edge set, vertex deletion to stars, vertex deletion to paths, and modular width establish hardness even when the corresponding parameter is 0, while we additionally prove W[1]-hardness parameterized by cluster vertex deletion set plus rr. Both the problems remain W[1]-hard when parameterized by cliquewidth even when γ=3\gamma = 3. For signed graphs, we show NP-hardness for both variants even when r+γ=3r + \gamma = 3 and the input graph is a disjoint union of two cliques. Also we prove that the balanced signed variant is W[1]-hard when parameterized by treedepth plus rr, even when γ=0\gamma = 0.

2012 ACM Subject Classification Theory of computation →\rightarrow Fixed parameter tractability

Keywords and phrases Parameterized Complexity, FPT, Treewidth, Graph Partitioning

Digital Object Identifier 10.4230/LIPIcs.CVIT.2016.23

Funding Research supported by the Czech Science Foundation Grant no. 24-12046S. This work was co-funded by the European Union under the project Robotics and Advanced Industrial Production (reg. no. CZ.02.01.01/00/22_008/0004590).

1 Introduction

Consider the task of dividing players into football teams. Some pairs of players cooperate well together, while others may have poor compatibility or conflicting play styles. These relations may be captured in a graph: the vertices represent the players and an edge between two players indicates that they cooperate well. One may require that every team individually achieves a minimum level of compatibility, which corresponds to partitioning the graph into parts such that each part has a given minimum number of edges. In many practical settings,

© Jane Open Access and Joan R. Public;

licensed under Creative Commons License CC-BY 4.0

42nd Conference on Very Important Topics (CVIT 2016).

Editors: Joan Q. Open and Joan R. Access; Article No.23; pp.23:1–23:51

Leibniz International Proceedings in Informatics

LIPICS Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany

23:2 Parameterized Complexity of Edge-Constrained Graph Partitioning

additional constraints such as balanced team sizes are also important. Furthermore, relations may be both positive and negative, which we model by assigning a sign to each edge. Such signed graph models have been studied in clustering and social network analysis, where the goal is typically to optimize a global objective, for instance by maximizing agreements or minimizing disagreements. In this paper we study several versions of this coalition formation problem with local constraints, mostly from the point of view of the parameterized complexity theory.

Coalition formation is a fundamental problem in multi-agent systems, with applications spanning social, economic, and political domains, including team formation, collaborative networks, and community detection. In many such settings, individuals operate in groups rather than alone, and their satisfaction depends on the composition of the group to which they belong. A well-established framework for modeling such scenarios is that of hedonic games, introduced by Drèze and Greenberg [18] and further developed in a rich body of work. Early contributions focused on the existence and structure of stable coalition outcomes [5, 9, 16, 22], while subsequent research expanded the model to richer preference classes and provided comprehensive overviews of the area [3, 48]. More recent work has investigated computational and structural aspects of coalition formation, including graph-restricted and network-based settings [42, 17]. In this model, outcomes correspond to partitions of agents into coalitions, where each agent's utility depends solely on the members of its own coalition. These models provide a natural abstraction for analyzing how local interactions influence global group structures.

More formally, we study graph partitioning problems that enforce local constraints on every part. Given an undirected graph G=(V,E)G = (V, E) and integers rr and γ\gamma, the Edge-Constrained Graph Partitioning Problem (ECGP) asks whether VV can be partitioned into rr parts such that each part induces at least γ\gamma edges. We also consider a balanced variant, the Balanced Edge-Constrained Graph Partitioning Problem (BECGP), in which all parts are required to have equal size, modeling scenarios such as forming equally sized teams or distributing workload evenly.

We further extend these formulations to signed graphs, where each edge is labeled as positive or negative. In this setting, each part must achieve a prescribed difference between the number of positive and negative edges it induces, capturing a trade-off between cooperation and conflict. These formulations can be viewed as constraint-based counterparts to classical hedonic models, where instead of optimizing global objectives or enforcing stability, we require each coalition to satisfy a minimum utility, defined as the edge-count of each coalition. Our goal is to understand the computational complexity of these problems under various structural parameterizations, as well as with respect to the parameters rr and γ\gamma, which denote the number of parts and the required edge-count threshold, respectively. We first show that both ECGP and BECGP remain NP-hard even for fixed constants rr and γ\gamma (see Theorem 13 and Theorem 15). We therefore study their parameterized complexity with respect to the combination of natural parameters r,γr, \gamma, and several structural graph parameters.

Our Contributions. We provide a systematic study of the computational and parameterized complexity of ECGP and BECGP, along with their signed variants, showing several tractability and hardness results.

First, using the Expansion Lemma (Lemma 19) as the main ingredient, we obtain polynomial kernels for both ECGP and BECGP parameterized by r+γr + \gamma. More precisely, ECGP admits a kernel with O(rγ2)\mathcal{O}(r\gamma^2) vertices and O((rγ)2)\mathcal{O}((r\gamma)^2) edges (Theorem 16), while BECGP admits a kernel with O(rγ2+r2)\mathcal{O}(r\gamma^2 + r^2) vertices (Theorem 21).

We then investigate the parameterized complexity of the problems with respect to

23:3

structural graph parameters. On the positive side, we show (Theorem 33) that both ECGP and BECGP are fixed-parameter tractable when parameterized by vertex integrity. We also show (Theorems 25 and 27) that ECGP and BECGP are FPT when parameterized by vertex deletion to clique. These tractability results rely on different ILP-based approaches. For vertex integrity, we formulate the problem as an N-fold ILP and apply known FPT algorithms for N-fold integer programming. For vertex deletion to clique, we reduce the problem to an ILP with a bounded number of variables and apply Lenstra's theorem. A central difficulty is that counting the edges induced by a part generally leads to quadratic constraints. In the vertex-deletion-to-a-clique setting, we overcome this difficulty by showing that it suffices to guess certain variables from a bounded set, after which the relevant edge-counting constraints become linear. This argument relies crucially on the fact that the graph outside the deletion set is a single clique and does not extend directly to neighborhood diversity. Consequently, the parameterized complexity with respect to neighborhood diversity remains open. We further obtain several additional tractability results for ECGP. In particular, we show (Theorem 47) that the problem is FPT when parameterized by cluster vertex deletion set plus γ\gamma, maximum leaf number, and also by vertex deletion to paths plus γ\gamma (see Theorem 42).

We give an algorithm that solves ECGP in time O(n⋅rk+1⋅(γ+1)2r)\mathcal{O}(n \cdot r^{k+1} \cdot (\gamma + 1)^{2r}) on a given nice tree decomposition of width kk (Theorem 49). Combined with our kernelization results, this yields algorithms running in (r2rγ(γ+1)2r)⋅nO(1)(r^{2r\gamma}(\gamma+1)^{2r}) \cdot n^{\mathcal{O}(1)} time for ECGP and an algorithm running in (r2rγ(γ+1)2r(rγ2+r2+1)2r)⋅nO(1)(r^{2r\gamma}(\gamma+1)^{2r}(r\gamma^2 + r^2 + 1)^{2r}) \cdot n^{\mathcal{O}(1)} time for BECGP (Corollary 51).

On the negative side, we show that ECGP remains W[1]-hard even when parameterized by rr together with several structural parameters, including vertex deletion to stars or paths, feedback edge set, modular width, and cluster vertex deletion set (see Corollaries 53 and 54 and Theorem 56). Using a parameter-preserving reduction, these hardness results extend to BECGP as well (see Corollary 51). We also show that both the problems remain W[1]-hard when parameterized by cliquewidth even when γ=3\gamma = 3 (see Theorem 61). Our results leave open the intriguing question of whether ECGP and BECGP admit an FPT algorithm when parameterized by treewidth plus γ\gamma and neighborhood diversity. Please refer to Figure 1 for overview of the results obtained for ECGP and BECGP as well as open cases.

Finally, we extend our study to signed graphs, where edges may represent both positive and negative interactions. In this setting, we show that the SECGP (see Theorem 62) and SBECGP (see Corollary 65) are NP-hard even when r+γ=3r + \gamma = 3 and input graph is disjoint union of two cliques. We strengthen hardness results for the SBECGP, by showing W[1]-hardness when parameterized by td+r+γ\mathsf{t}\mathsf{d} + r + \gamma, even when γ=0\gamma = 0 (see Corollary 71).