Parameterized Complexity Results for General Factors in Bipartite Graphs with an Application to Constraint Programming

Gregory Z. Gutin, Eun Jung Kim, Arezou Soleimanfallah, Stefan Szeider, Anders Yeo

Abstract

The General Factor problem is a fundamental graph-theoretic challenge that asks whether a spanning subgraph exists such that each vertex satisfies a specific degree constraint. This paper explores the complexity of this problem in bipartite graphs $G = (U \uplus V, E)$. We prove that the problem is fixed-parameter tractable (FPT) when parameterized by $|V|$, provided that each vertex in $U$ has a single required degree. This result provides an efficient solution for the Extended Global Cardinality Constraint (EGC) in constraint programming. However, we also establish that the problem becomes W[1]-hard if vertices in $U$ are allowed even two possible degree choices.

Introduction

The General Factor problem is a generalization of classic matching problems. Given a graph $G$ and a set of allowed degrees $K(v) \subseteq \mathbb{N}$ for each vertex $v$, the goal is to find a spanning subgraph where the degree of each vertex $v$ is in $K(v)$. While finding a perfect matching (where $K(v) = \{1\}$ for all $v$) is solvable in polynomial time, the general version is NP-hard.

This research focuses on bipartite graphs $G = (U \uplus V, E)$, a structure central to Constraint Programming (CP). Specifically, it addresses the Extended Global Cardinality Constraint (EGC). In EGC, variables (represented by $U$) must each be assigned exactly one value (degree 1), while values (represented by $V$) have sets of allowed frequencies (degree sets $K(v)$).

Bipartite graph representation of the Extended Global Cardinality Constraint (EGC).

In many practical CP scenarios, the number of values $|V|$ is significantly smaller than the number of variables $|U|$. This paper investigates whether this asymmetry can be exploited to achieve tractability.

Methodology

The authors employ the framework of Parameterized Complexity to determine if the problem is Fixed-Parameter Tractable (FPT) with respect to the parameter $k = |V|$. An FPT algorithm would run in time $f(k) \cdot n^{O(1)}$, making it efficient when $k$ is small.

Algorithmic Techniques

  1. Module Contraction: The authors identify "c-modules"—subsets of vertices in $U$ that share the same neighbors in $V$ and the same degree requirement $c$. By collapsing these modules into single vertices with weighted edges (capacities), the graph size is reduced to a function of $k$.
  2. The Acyclic Lemma: A pivotal theoretical contribution is the proof that if a valid factor exists in a bipartite edge-weighted graph, an acyclic factor (a forest) also exists. This is demonstrated through a lexicographical argument: any cycle in a solution can be "unrolled" by shifting weights until at least one edge is removed, without violating any degree constraints.
  3. Forest Search and Dynamic Programming: By restricting the search to forests on the reduced graph, the algorithm can "guess" the structure of a potential solution. The validity of these structures is then verified using dynamic programming and reduction rules for leaf nodes in polynomial time.

Key Results

The paper establishes a sharp boundary between tractability and hardness based on the flexibility of degree requirements in $U$:

  • FPT for Singletons: When $|K(u)| = 1$ for all $u \in U$ (the singleton restriction), the problem is FPT with respect to $k = |V|$. The derived running time is approximately $O(2^{k^2 2^k} \cdot n^{O(1)})$. This confirms that the EGC consistency problem is FPT when the number of values is small.
  • W[1]-Hardness for Pairs: If the restriction is relaxed such that $|K(u)| \le 2$ (e.g., $K(u) = \{0, 2\}$), the problem becomes W[1]-hard. This result, proven via a reduction from the Partitioned Clique problem, suggests that an FPT algorithm is unlikely to exist for this slight generalization.

Discussion and Future Work

While the FPT result is a significant theoretical milestone, the current algorithm's constant factor $f(k)$ involves a double exponential ($2^{2^k}$), categorizing it as "galactic complexity." Future research should aim to optimize this constant for practical use.

Additionally, the authors suggest exploring alternative parameters, such as $|U|$, or investigating different restrictions on the degree sets $K(v)$. Whether a polynomial kernel exists for the singleton case remains an open question in parameterized complexity research.

Summary updated

BibTeX
@inproceedings{gutin2010parameterized,
  author = {Gregory Z. Gutin and Eun Jung Kim and Arezou Soleimanfallah and Stefan Szeider and Anders Yeo},
  title = {{Parameterized Complexity Results for General Factors in Bipartite Graphs with an Application to Constraint Programming}},
  booktitle = {IPEC},
  year = {2010},
  doi = {10.1007/978-3-642-17493-3\_16},
}
Figure