TL;DR
While gerrymandering is a well-known political tactic, its computational complexity on realistic map structures—planar graphs—remains poorly understood. This paper proves that while finding an optimal redistricting is generally NP-hard and hard to approximate on planar graphs, efficient algorithms exist for specific geographic structures (like $k$-outerplanar graphs) and a constant-factor approximation is possible when the potential number of winning districts is large.
What Problem Does This Paper Address?
Gerrymandering is the practice of drawing district boundaries to give one political party an unfair advantage. Mathematically, this is a graph partitioning problem: given a graph where vertices are counties and edges represent shared borders, how do you partition the graph into $k$ connected subgraphs (districts) such that your preferred candidate wins as many as possible?
Most prior theoretical work focused on simple structures like paths or trees. However, real-world maps are planar graphs (they can be drawn on a flat surface without edges crossing). The authors address the gap between simple theoretical models and the complex, planar reality of geographic redistricting. They specifically look at the computational limits: Is it possible to find the "best" gerrymander efficiently, or is the problem fundamentally too hard for computers to solve perfectly?
Methods
The authors employ several classic and novel techniques from computational complexity and graph theory:
- Dynamic Programming (DP): They develop an exact algorithm for graphs with bounded treewidth. Since $k$-outerplanar graphs (graphs where vertices are arranged in a fixed number of "layers" from the boundary) have bounded treewidth, they show these are solvable in polynomial time.
- Complexity Reductions: To prove hardness, they reduce known difficult problems—like Minimum Connected Vertex Cover and Maximum Independent Set—to the gerrymandering problem.
- A 4-Phase Approximation Pipeline: For general planar graphs, they propose a strategy consisting of:
- Pruning: Removing "useless" vertices.
- Cut & Connect: Simplifying the graph while maintaining planarity.
- Greedy Selection: Picking low-degree vertices to be winning districts.
- 5-Coloring: Using the Four Color Theorem (extended to 5 for efficiency) to ensure districts remain valid and connected after simplification.
- Baker’s Technique: A standard method for designing approximation schemes on planar graphs by breaking them into smaller, manageable chunks.
Datasets
As a theoretical computer science paper, no empirical political datasets (like US Census or precinct-level voting data) were used. The "evaluation" consists of mathematical proofs of complexity classes and algorithmic performance guarantees.
Key Insights and Ideas
- The "Singleton" Strategy: A major insight is that if you can find a way to win many "singleton" districts (districts consisting of just one vertex), you can often approximate the optimal solution for the whole graph. The authors show that insisting on singleton winning districts only incurs a constant factor loss in the total number of wins.
- The Hardness of "One": The authors discover that the hardest part of gerrymandering isn't necessarily winning many districts, but determining if you can win even one. If the optimal number of winning districts ($w_{OPT}$) is very small, the problem is extremely hard to approximate.
- Planarity as a Constraint: While planarity usually makes problems easier, gerrymandering remains NP-complete on planar graphs even with only two candidates. However, the geographic "thickness" of a map (its outerplanarity) is a key lever for tractability.
Key Results
- Exact Solutions: Gerrymandering is solvable in polynomial time for $k$-outerplanar graphs if the number of candidates and $k$ are constants and vertex weights are polynomially bounded.
- Hardness Bounds: For two candidates, the problem is inapproximable within a factor of $n^{1/3-\epsilon}$ in general graphs. In planar graphs, even finding a partition with a single winning district is NP-hard if the number of candidates is large.
- Approximation Success: The authors provide a constant-factor approximation algorithm for unweighted planar graphs, provided the optimal number of winning districts is "large enough."
- PTAS: They successfully developed a Polynomial-Time Approximation Scheme (PTAS) for the "singleton winning district" version of the problem on planar graphs.
Limitations and Future Work
- Candidate Scaling: Much of the hardness in planar graphs arises when the number of candidates is large. The authors leave open whether a polynomial-time algorithm exists to find a single winning district if the number of candidates is a small constant.
- Weight Constraints: The approximation results primarily focus on unweighted graphs (where every county has the same population/vote count). Real-world populations vary wildly, and extending these approximations to weighted graphs is a significant challenge.
- District Parity: In actual elections, districts must usually have roughly equal populations ("One Person, One Vote"). The authors suggest that future work should incorporate stricter constraints on district size similarity.
- The General PTAS: While they found a PTAS for singleton wins, the existence of a PTAS for the general gerrymandering problem on planar graphs remains an open question.
Summary updated