Why Districting Becomes NP-hard
Niklas Jost, Adolfo Escobedo, Alice Kirchheim
TL;DR
This work addresses edge-based districting by formalizing an exact mixed-integer programming framework for partitioning edges into $p$ districts centered at nodes, under balance, contiguity, and compactness criteria. It provides a complete subproblem complexity classification across all combinations of six design-criteria, proving polynomial-time solvability for several families (notably when excluding balance or keeping centers fixed) and NP-hardness for others via reductions from Vertex Cover and 3-Partition. The authors introduce a modular notation $\theta_{X}$ to denote subproblems and show how relaxing or adding criteria shifts complexity, with key results demonstrating that contiguity alone does not guarantee tractability and that balance interactions with center and connectivity can drive hardness. They also derive parameterized insights on balance, showing feasibility bounds for two-district cases using a tree-based construction and tight additive/multiplicative tolerances. Finally, the paper discusses implications for practice, including guidance on which constraints to relax for tractability and directions for future work on approximation algorithms for the hard variants, with extensions to node-based districting discussed throughout.
Abstract
This paper investigates why and when the edge-based districting problem becomes computationally intractable. The overall problem is represented as an exact mathematical programming formulation consisting of an objective function and several constraint groups, each enforcing a well-known districting criterion such as balance, contiguity, or compactness. While districting is known to be NP-hard in general, we study what happens when specific constraint groups are relaxed or removed. The results identify precise boundaries between tractable subproblems (in P) and intractable ones (NP-hard). The paper also discusses implications on node-based analogs of the featured districting problems, and it considers alternative notions of certain criteria in its analysis.
