Abstract 1 Introduction 2 Preliminary 3 Technical Overview 4 𝑶(𝟏)-approximation on Planar Graphs and Beyond 5 Conclusion and Open Problems References Appendix A Separation Oracle for Districts of Bounded Radius Appendix B PTAS for 𝜹-Relaxed Districting on Apex-Minor-Free Graphs Appendix C Hardness Results

Packing Compact Subgraphs with Applications to Districting

Ho-Lin Chen ORCID National Taiwan University, Taipei, Taiwan    Po-Yu Chou ORCID National Taiwan University, Taipei, Taiwan    Prathamesh Dharangutte ORCID Rutgers University, Piscataway, NJ, USA    Jie Gao ORCID Rutgers University, Piscataway, NJ, USA    Shang-En Huang ORCID National Taiwan University, Taipei, Taiwan    Fang-Yi Yu ORCID George Mason University, Fairfax, VA, USA
Abstract

Packing disjoint subgraphs in a given graph is a fundamental problem with many applications. Motivated by political districting, we focus on connected subgraphs that are compact (e.g., having constant radius from a single center vertex) and that satisfy additional composition requirements, such as a minimum population/weight threshold or balanced weight types (e.g., political affiliations). We aim to maximize coverage by disjoint districts that meet these requirements.

In this work, we present new results that substantially improve the previously known bounds on balanced star districts for planar and minor-free graphs [33]. In particular, we improve the approximation factor from O(logn) to O(1) for packing balanced star districts using the exact same algorithm, but with a refined analysis. We also extend the results beyond planar graphs to minor-free graphs and an even broader family of graphs of bounded expansion. Additionally, we obtain an O(1) approximation for packing radius-k districts (with a constant k) in planar and apex-minor-free graphs. In order to get a (1+ε) approximation on the max coverage, we show that this can be achieved if we allow a slight relaxation of the balancedness parameters (by a factor that can be made arbitrarily close to 1), for bounded radius-k districts on planar and apex-minor-free graphs.

We show that all of these results can also be obtained if we enforce a minimum weight threshold for each district as the composition requirement, rather than balancedness. We present various results on hardness and hardness of approximation for this variant, by graph and district types.

Keywords and phrases:
Approximation algorithms, algorithmic fairness
Funding:
Ho-Lin Chen: Supported by NSTC grant 113-2221-E-002-204-MY3.
Po-Yu Chou: Supported by NSTC grant 114-2222-E-002-004-MY3.
Prathamesh Dharangutte: Supported by NSF grants IIS-2229876, DMS-2220271, CNS2515159, DMS-2311064, and CCF-2118953.
Jie Gao: Supported by NSF grants IIS-2229876, DMS-2220271, CNS2515159, DMS-2311064, and CCF-2118953.
Shang-En Huang: Supported by NSTC grant 114-2222-E-002-004-MY3.
Copyright and License:
[Uncaptioned image] © Ho-Lin Chen, Po-Yu Chou, Prathamesh Dharangutte, Jie Gao, Shang-En Huang, and Fang-Yi Yu; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Approximation algorithms analysis
; Theory of computation Graph algorithms analysis
Related Version:
Full Version: https://arxiv.org/abs/2604.09522
Editor:
Huijia (Rachel) Lin

1 Introduction

We consider a general family of districting problems, formulated as packing compact, connected subgraphs, with the objective of maximizing coverage. Given a graph G=(V,E) with vertex set V of |V|=n and edge set E. Each vertex v represents an atomic region with integer weight w (e.g., the population counts in the region, or reward). A district is a connected subgraph on a vertex set SV in G, and two districts must be vertex-disjoint. We aim to maximize the total weight of the vertices covered by districts.

Depending on the application scenarios, a district needs to meet additional requirements. One commonly seen requirement is that any two vertices in the same district are not very far, that is, the district is relatively compact, or simply not too elongated. This is a desirable property that often appears in discussions of political districting. Further, there may be additional requirements on the population composition or budgeting constraints. We discuss the two dimensions separately.

Compactness.

To characterize this requirement, we consider two possible ways of limiting distances between vertices in district S: diameter-k or radius-k, for a constant k. A district S meets the diameter-k constraint if every two vertices in S are within k hops from each other. A district S has radius-k if there is a center vertex vS and all other vertices of S are within k hops from v. Further, we can consider the diameter or radius in either the strong notion – within the induced subgraph on S, or the weak notion – in the original graph G. Notice that the weak notion is hereditary: for a subgraph G with weak diameter k, any subgraph of G continues to have weak diameter at most k. But this is obviously not always true for the strong diameter or radius.

Composition.

In addition, the districts may also need to satisfy additional properties that involve the composition of the vertices, such as:

  • Balancedness: in political districting there are two types of weights w1(v) and w2(v) for each vertex v, with w(v)=w1(v)+w2(v). For any vertex subset S and each i{1,2} we define wi(S)=vSwi(v). We call S c-balanced if min(w1(S),w2(S))(w1(S)+w2(S))/c. That is, the two types of weights are comparable in size.

  • Weight threshold: a district is valid if w(S)B for a threshold B. This is a natural property that requires all districts to be significant in weight/size. Notice that we consider a lower bound type of constraint. The upper bound version is often trivial – for example, taking all feasible singleton districts is the optimal solution.

1.1 Motivation

Packing disjoint subgraphs is a fundamental problem that has many applications. The most notable applications are in political districting, in which connectivity, contiguity and compactness is highly preferred and sometimes enforced by state law [4]. Furthermore, the c-balanced property guarantees that each political group has a decent amount of representation, which can be viewed as compliance with the Voting Rights Act of 1965 [41]. The weight threshold is another natural property such that each district is significant in size/population. In general, the districting problem can also be applied to the allocation of other types of resources and services [13, 51].

Earlier work of [33] considered the c-balanced districting problem, which is one case of the districting problem defined earlier. [33] provided various hardness results and approximation algorithms for different families of graphs. There are two major directions left open in [33]. First, most of the positive results (without additional assumptions on the districts or on very special graphs such as complete graphs or trees) are only for star districts, which are (strong) radius-1 subgraphs. It was not clear how the results could be extended to higher, constant values of radius-k. Second, and more importantly, one of the most prominent applications in political districting considers planar graphs (e.g., the geographical subdivision into townships and counties). The best approximation factor for packing c-balanced star districts in a planar graph in [33] is O(logn) without a matching lower bound. Resolving this issue by either developing a constant-factor approximation or proving a stronger hardness result is a major open question.

Table 1: A summary of new approximation results on the threshold and balanced districting problem, δ,ε>0 are constants. New results are highlighted in bold.
Graph Type District Type Results
Planar star (strong radius-1) O(logn)-approx [33]
strong radius-k O(1)-approx (Theorem 4)
weak/strong radius-k (1+ε)-approx, δ-relaxation (Theorem 19)
Apex-Minor-Free strong radius-k O(1)-approx (Theorem 4)
weak/strong radius-k (1+ε)-approx, δ-relaxation (Theorem 19)
H-Minor-Free star (strong radius-1) O(h2logn)-approx, h=|H| [33]
star (strong radius-1) O(1)-approx (Theorem 5)
Bounded Expansion star (strong radius-1) O(1)-approx (Theorem 5)

1.2 Related Work

Our problem is connected to computational (re)districting for schools and elections, which dates back to the 1960s [45]. Since then, extensive work (see [9]) has studied them as an algorithmic problem, typically focusing on specific constraints such as balance or compactness. For balancedness, recent work introduces vote-band metrics [27], which require a certain fraction of votes to fall within a specified range (e.g., 45-55%) for competitive elections. Subsequently, [19, 33] introduce the c-balanced district problem. Other research focuses on optimizing balance scores directly [40]. Regarding compactness, one line of work treats it as a transportation cost [2, 38, 22], such notions also relate to the fair clustering problem [12, 18, 49, 17]. Other research focuses on optimizing compactness scores [8, 50, 53, 48] or using Voronoi or power diagrams with some variant of k-means [67, 24, 25, 39]. Besides the optimization approach, another popular method uses sampling to generate a distribution over districts and create a collection of district plans for selection [5, 21, 28, 59, 16].

Finally, several papers take a fair division approach [54, 64, 26]. The problem is quite different, however, as fairness in this context is defined concerning parties (types) and the number of seats they would win (i.e., the number of districts where they would have a majority) compared to other districts, rather than the internal composition of individual districts.

Besides its applications in political districting, packing compact subgraphs from a given family, such as paths, cycles, and stars, is a fundamental problem in its own right. Let be a family of graphs. A -packing of a graph G is a set of vertex disjoint subgraphs such that each subgraph is isomorphic to some element of . These types of problems have been studied in many papers with various hardness and approximation results, such as packing stars [63, 6, 56, 68, 66], induced stars [52], constant sized graphs [57, 14, 55], cycles and paths [44, 47, 66, 10], cliques and bicliques [46, 42, 43], and low-diameter spanning trees [20]. Another line of work [1, 36, 35, 34, 58, 69] explores covering and partitioning graph with k-clubs, as a generalization to the clique cover problem. SV is a k-club in graph G if S induces a subgraph in G with diameter at most k (cliques are k-club for k=1). k-club with at least t vertices is called a (t,k)-club. The Minimum k-club cover problem asks for minimum number of k-clubs that cover all vertices in the graph and [35, 69] explore hardness and approximation algorithms for different values of k. The Maximum Disjoint (t,k)-club covering problem asks for vertex disjoint (t,k)-clubs that cover maximum number of vertices in the graph G. [36, 58] study this problem for k=2,3 on general and bipartite graphs. Note that none of the above work consider the composition properties of the subgraphs. Thus, the results are only marginally relevant to this paper.

1.3 New Results

In this paper, we resolve both problems left open in [33], significantly expanding the theoretical understanding of this problem. Our results are summarized in Table 1.

𝑶(𝟏)-approximation.

Compared to the O(logn)-approximation of packing star districts on a planar graph in [33], we improved the results in two directions. First, we show an algorithm (Theorem 5) with a constant approximation factor for packing c-balanced star districts in graphs of bounded expansion, which is a concept of graph family that are “everywhere sparse” introduced by Nešetřil and Ossona de Mendez [62, 61, 60]. Graphs with bounded expansion include minor-free graphs (and planar graphs) and graphs of bounded degree, as well as graphs that appear in complex network models such as the configuration model and the Chung–Lu model [31]. This improves the approximation factor from O(logn) to O(1) for a much bigger family of graphs. Second, we show a constant approximation for packing c-balanced or threshold districts of bounded strong radius on planar graphs and apex-minor-free graphs(Theorem 4). Both results also apply to the threshold districts (instead of c-balanced ones for the composition requirement).

(𝟏+𝜺)-approximation.

Next, we wonder what can be said if we want a (1+ε) approximation for the district packing problem. We show that PTAS can be obtained for packing bounded weak radius districts on planar and apex-minor-free graphs, if we allow a small relaxation of c-balanced property to c(1+δ)-balanced, for any δ>0 (Theorem 19). The same holds for the weight-threshold version if we relax the threshold B to B(1δ).

Hardness results.

Finally, we complement the positive results with hardness results in Appendix C. For the majority of the positive results, we consider compactness as defined by a bounded radius k. For maximum packing of subgraphs of bounded diameter (both weak and strong) on general graphs, we show that even finding one district with weight threshold is NP-hard (Theorem 6.6 in full version) by reducing it from the max clique problem. Additionally, the separation oracle for the LP formulation relies on finding a violating district, which itself is a feasible district; implying that implementing the separation oracle for districts of bounded diameter in general graphs is NP-hard. For maximum packing of districts with a weight threshold, we show that it is NP-hard by reduction from the maximum independent set problem (Theorem 22). Specifically, we show it is NP-hard to approximate to a factor better than n1/2δ for δ>0 on general graphs, and the maximum packing problem remains NP-hard even on planar graphs. This hardness holds even when we require the subgraphs to have bounded radius, with k=1 (stars). The problem is trivial for a complete graph but remains NP-hard on a tree by a reduction from the Knapsack problem.

Lastly, the c-balanced property considers two types of weights; if three or more weights are considered, the problem of packing compact graphs is hard to approximate within any factor (see Theorem 6.5 in full version). We will now formally define the problems and then provide an overview of the challenges and new techniques to obtain the results.

2 Preliminary

2.1 Problem Statement

Consider a connected undirected graph G=(V,E) with n=|V| vertices and m=|E| edges. We define a general district packing problem. The input graph is associated with an objective weight function w:V0 and potentially a list of feature weight functions w1,,wd:V0. These feature weights can be independent of each other as well as of objective weights. A district is a subset of vertices TV such that the induced subgraph G[T] is connected and satisfies specific validity constraints: compactness (constraints on topology) and composition (constraints on feature weights). A (partial) districting solution is a collection of vertex-disjoint districts 𝒯={T1,}. We remark that finding a complete partition of the graph into vertex-disjoint districts (i.e., T𝒯T=V) may not be possible; rather, we seek a packing of disjoint districts with a maximum total objective weight.

For the compactness constraints, besides connectivity, we consider radius or diameter bounds. Specifically, the distance dG(u,v) between vertices u and v in G is the number of edges on the shortest path between u and v. A district T has bounded strong radius k if there exists a vertex γT such that for all other vertices uT , dG[T](u,γ)k. Similarly, T has bounded weak radius k if there exists a vertex γV such that for all other vertices uT, dG(u,γ)k. A districting 𝒯 satisfies strong (or weak) radius bound k if every T𝒯 has bounded strong (or weak) radius k. A district T has bounded strong diameter if all pairs of vertices u,v in T have distance in the induced subgraph at most k, i.e., dG[T](u,v)k. It has bounded weak diameter if for every pair of vertices u,vT, their distance in the original graph G is at most k, i.e., dG(u,v)k.

Composition constraints impose limits on the feature weights of each district. First, we can extend our weight to a single district T and a districting solution 𝒯. For any weight function (representing either the objective w or a feature wi), the district weight is w(T)=vTw(v), and the total weight of the districting solution 𝒯 is w(𝒯)=T𝒯w(T). We consider two types of composition requirements:

Balanced Districting.

Given feature weights w1,w2 and a balancedness parameter c2, a district T is c-balanced [33] if:

min{w1(T),w2(T)}1c(w1(T)+w2(T)). (1)

A districting solution 𝒯 is c-balanced if every district T𝒯 satisfies Eq. (1). For bicriteria approximation, we may also refer to a δ-relaxed c-balanced condition (where 0<δ<1):

min{w1(T),w2(T)}1c(1+δ)(w1(T)+w2(T)). (2)

Threshold Districting.

Given a feature weight w1 and a threshold parameter B0, a district T is a B-threshold district if w1(T)B. A districting solution 𝒯 is B-threshold if every district T𝒯 is a B-threshold district.

Similarly, a δ-relaxed B-threshold district is defined by the condition: w1(T)B(1δ). We will use S,T or U to denote districts and 𝒮 for the set of valid districts (e.g., the set of c-balanced districts with strong radius bound k).

Approximate and Bicriteria Solutions.

Given a graph G, weights w,{wi}, and constraint parameters (k and c or B), our goal is to find a districting solution 𝒯 that maximizes the total objective weight w(𝒯) and every district T𝒯 satisfies the (compactness and composition) constraints. We say a districting solution 𝒯 is an α-approximation if every district in 𝒯 satisfies the exact constraints and

αw(𝒯)w(𝒯OPT),

where 𝒯OPT is an optimal solution satisfying the exact constraints. We also consider bicriteria (α,δ)-approximations. In this setting, the solution 𝒯 satisfies the weight approximation guarantee (αw(𝒯)w(𝒯OPT)) but is permitted to satisfy the δ-relaxed composition constraints. For instance, in the c-balanced districting problem with strong radius bound k:

  • An α-approximation requires that each district in 𝒯 is strictly c-balanced and has strong radius at most k.

  • A bicriteria (α,δ)-approximation allows the districts in 𝒯 to be δ-relaxed c-balanced (i.e., balanced with parameter c(1+δ)), while still comparing the solution against the strictly c-balanced optimum 𝒯OPT.

Graph Types.

A graph G=(V,E) is planar if there exists an embedding of all vertices to the Euclidean plane such that all edges can be drawn without intersections other than the endpoints. A face of a planar embedding is a connected region separated by the embedded edges. G is said to be outerplanar if there exists an embedding of G such that there is a face containing all vertices. Often, this face is assumed to be the outer face. A graph H is said to be a minor of G if H is isomorphic to the graph obtained by a sequence of vertex deletions, edge contractions, and edge deletions from G. We say that G is H-minor-free if G does not have H as its minor. A graph is an apex graph if there is a vertex whose removal results in a planar graph. A graph G is apex-minor free if it does not have some apex graph H as a minor. See [37, 29] for more discussions on apex-minor-free graphs. We now formally define bounded expansion graphs.

Definition 1.

Let G=(V,E) be an undirected (multi-)graph and let f:00 be a non-decreasing function. We say that G belongs to the class of f-bounded expansion graphs if the following holds. Let (V1,V2,,Vn) be a partition of V, where each part Vi induces a connected graph. Let k be the maximum diameter of the induced subgraphs G[Vi] for all i. Consider the contracted graph H from G where each part Vi is contracted to a single vertex. Then, for any subgraph of HH, the density of H satisfies 2|E(H)||V(H)|f(k).

At a high-level, a bounded expansion graph G keeps a bounded density (and thus bounded degeneracy) if one contracts bounded diameter subgraphs all at once in G.

2.2 Algorithmic Framework

We first examine the districting problem from a bird’s-eye view and explain how the technical tools introduced in this work can be applied more generally.

Linear Program Formulation.

Recall that a candidate district is represented by a set of vertices SV as defined in Section 2.1. We use 𝒮 as the set of all candidate districts that meet the requirements. This set 𝒮 can be of potentially exponential size. For each candidate district S𝒮, we define a variable xS{0,1} indicating whether or not this district is chosen. Due to the disjointness of districts, among all the districts that cover the same vertex v, only one of them can take a value of 1. Denote by w(S) the weight of S. The integer program is defined as

maximize Sw(S)xS (3)
subject to vV,SvxS1
S,xS{0,1}

To solve an integer solution, we use two steps. First, solve for an (approximate) solution to the LP problem. Then round the fractional solution to an integer solution. We discuss the two problems separately. To relax this integer program to a fractional solution, we allow xS to take real values in [0,1] and define xS=xSw(S), xS[0,w(S)]. Rewriting the LP using xS, the primal and dual LP problems are as follows.

Primal: Maximizing SxS, subject to S:vSxSw(S)1 for all vV; xS0 for all S.

Dual: Minimizing vyv, subject to vSySw(S)1 for all S; yv0 for all v.

Solving the LP problem is straightforward if we are given a set of polynomially many valid districts. One scenario in which this could happen is when a districting already exists on G and, for a new districting solution, only minor changes to the previous solution are acceptable. In general, the number of potential districts could be exponentially large, even if we consider only stars (e.g., under the compactness restriction). We cannot explicitly write the variables and constraints in the LP and must rely on a separation oracle. For the dual LP problem, a strongly violating dual constraint is a district S such that S is valid and for the dual variables values of vertices in S and 0<ε<1, vSyv<(1ε)w(S). We formulate the task of implementing a separation oracle as follows:

Input: Graph G, dual variables {yv}, weight function w:VZ0, implicit set 𝒮 of all valid districts.

Goal: Either returns a violating district S𝒮 such that its weight w(S) is at least half to the maximum weight among all violating districts, and

vSyv<(1ε/2)w(S); (4)

or reports that all districts S𝒮 satisfy vSyv(1ε)w(S).

Randomized Rounding.

Once we have an (approximate) fractional solution to the LP, we use the same randomized rounding as in [33] to find an integer solution I: sort all districts with non-zero x-values in decreasing order of their weights; in this order a district S is selected with probability proportional to xS, if it does not overlap with any districts already selected in the integer solution. This rounding procedure introduces another approximation factor of O(τ), where τ is called the correlation ratio and bounds the correlation term A,B𝒮,ABxAxBτS𝒮xS.

We state this lemma from [33] for completeness. Suppose 𝒮δ is the set of districts from the fractional LP solution that have x-value at least δ and w(I) is the total weight of the integer solution I after rounding. The expectation is on the random coin flips in the rounding process.

Lemma 2 (Lemma B.5 in [33]).

Suppose that there exists a τ>0 such that for all δ>0,

A,B𝒮δ,ABxAxB(τ/2)S𝒮δxS,

then E[w(I)]12τSw(S)xS.

3 Technical Overview

This section summarizes the main algorithmic ideas and the core technical challenges underlying Sections 4 and B. The new progress requires addressing two major challenges. First, we need to identify the candidate districts that meet the specified requirements (connectivity, compactness, balancedness, or weight threshold). Next, we choose a disjoint subset of the candidate districts with maximum total weight. The first issue is related to feasibility, and the second issue regards disjointness or packing.

At a high level, our positive results rely on two complementary approaches. Section 4 develops a refined analysis of a linear programming (LP) relaxation combined with randomized rounding, yielding constant-factor approximations on minor-free and bounded-expansion graph classes. Section B strengthens the result for apex-minor-free graphs by combining Baker’s layering technique with a new dynamic programming (DP) framework on bounded-treewidth graphs, leading to a PTAS under relaxed parameters.

3.1 Refined Rounding Analysis (Section 4)

Recall that xS is the primal variable in the LP formulation for a district S, xS[0,1]. We consider districts of strong radius k. The LP framework allows addressing feasibility and packing in an orthogonal manner. The separation oracle helps to find a feasible district that substantially improves the LP solution, and the randomized rounding manages packing.

The performance of the randomized rounding procedure is governed by a second-order correlation term ABxAxB, which measures the extent to which overlapping districts interfere during rounding. Given a graph G and 𝒮 (a collection of connected subgraphs of G), we say that G,𝒮 has correlation ratio τ if S:vSxS1, and ABxAxBτSxS, for all v and {xS}. Lemma 2 gives an O(τ) approximation guarantee if we can establish any bound on τ. In particular, in Lemma 3 we show that if G is H-minor-free for some H of size h, then τ can be bounded by a function q(h,k) that depend solely on h and k. Establishing this bound yields a constant-factor approximation. The main technical difficulty is that intersecting districts may overlap in highly structured ways. Even when each district has a strong radius k, a fixed district A could, a priori, intersect with many other districts B. A naïve charging argument could therefore lead to an O(n) blow-up.111For example, consider A being a star of Ω(n) vertices, with each leaf intersecting distinct districts. In this case, the terms xA involved in the correlation sum are at least Ω(n)xA. This shows some districts will be charged for Ω(n) times in a naïve charging argument.

To overcome this, we exploit the structural sparsity of minor-free graphs. Specifically, an H-minor-free graph has bounded degeneracy – there is an orientation of the edges such that the out-degree of any vertex is bounded by O(hlogh) [65, 3]. Using this property, we design a probabilistic charging scheme based on a sequence of random edge orientations and contractions. For each intersecting pair (A,B), we identify a carefully structured “intersecting pivot” along a canonical path between their centers. We then show that with probability Ωh,k(1), the pair can be charged to one endpoint district in a way that ensures:

  • Each intersecting pair is charged with constant probability.

  • Each district receives only Oh,k(1) total charge.

This argument combines bounded degeneracy, controlled path contractions, and a forward-trajectory encoding that limits the number of distinct pivots that can be associated with a fixed district. The result is a constant bound on the correlation term, completing the rounding analysis. The analysis here is independent of how the LP fractional solution is computed and thus can be combined with any algorithm or implementation that produces an (approximate) fractional solution.

A similar argument extends to bounded-expansion graphs (Section 4.3), since such graphs have constant “density” everywhere and also enjoy bounded degeneracy. With a slightly modified contraction, the correlation term is bounded by a factor that depends only on the density parameter. We remark that the randomized rounding algorithm we use is fairly standard [23, 15], but the analysis of its performance is new and may find further applications.

The new analysis of randomized rounding, combined with the separation oracle for star districts in [33], immediately yields an O(1)-approximation algorithm for packing c-balanced or B-threshold star districts in planar, minor-free, and bounded-expansion graphs.

In order to handle districts of a general radius k with k>1, we also need to extend the separation oracle for star districts in [33] to accommodate a general radius k (Appendix A). To do that, we formulate a vector-valued subset sum problem on a connected compact subgraph. Similar to the standard subset sum, we trim the solution space by keeping a succinct representation of the subsets that approximate every possible solution with a multiplicative factor and maximize a linear score. This new framework can be applied to both c-balanced districts and threshold districts, as well as to a generic connected knapsack problem (see [32]). For the connected subgraph sum problem, we present an FPTAS on graphs of bounded treewidth. On a planar graph or an apex-minor-free graph, the k-hop neighborhood of any center vertex has bounded treewidth [37, 11]. Thus, we can enumerate every possible center vertex and apply the separation oracle in each bounded radius-k neighborhood. This provides an efficient separation oracle for planar and apex minor-free graphs.

3.2 PTAS for Apex Minor-Free Graphs (Appendix B)

Section B improves the approximation guarantee for apex-minor-free graphs using a different paradigm with two elements: the Baker’s layering approach [7] for planar and apex minor-free graphs [30] and a PTAS for subgraph packing for graphs of bounded treewidth.

We explain the main idea for planar graphs. The Baker’s approach considers a BFS from an arbitrary root and removes the vertices on the layers =imodt, for some 0it1. With a fixed i, this will partition the graph into connected components, each with at most t consecutive layers of the BFS. Thus, each piece is t-outerplanar and thus has treewidth at most 3t1 [11].

Suppose, for now, we have a magic algorithm 𝒜 that solves compact subgraph packing in a graph of bounded treewidth. We apply algorithm 𝒜 for each piece, such that all obtained districts from the connected components combined form a feasible packing solution for the original graph G. If we try this for all possible values of i between 0 and t1, and take the maximum solution, this is a (1+ε) approximation to the optimal with t=O(k/ε). The reason is that in an optimal solution, only the subgraphs that are “influenced” by the removed layers are destroyed. These vertices are within O(k) hops from the removed layers since each compact subgraph has radius k. By the pigeonhole principle, at least one of the t candidate solutions keeps all but O(k/t)=O(ε) fraction of the optimal weight.

The central technical task is therefore to find the algorithm 𝒜 that solves the problem of packing compact districts on bounded-treewidth graphs. Unlike the separation oracle problem (which asks for a single feasible district), packing requires simultaneously selecting multiple disjoint connected subgraphs subject to either balancedness or threshold constraints. This introduces a significantly more complex state space.

We develop a dynamic programming scheme over a tree decomposition that encodes partial district configurations within each bag. The DP must simultaneously track the connectivity information of partially formed districts and the cumulated weight (for threshold constraints) or the weight balance (for c-balanced districts). Our DP mechanism has to relax the parameter c slightly (for the c-balanced districts) or the weight threshold B (for the threshold districts) by a factor.

4 𝑶(𝟏)-approximation on Planar Graphs and Beyond

4.1 Constant Ratio for Minor-Free Graphs

In this section, we briefly describe the linear programming approach for the district packing problem, together with the randomized rounding framework based on the support variables of an optimal linear program solution. The approximation guarantee of this framework relies on bounding certain second-order terms involving the support variables. In particular, throughout this section we aim to prove the following key technical Lemma 3 for minor-free graphs and Theorem 13 for bounded expansion graphs.

Lemma 3.

For all k1 and h1, there exists q(h,k)=hO(k2) such that the following holds. Let G be an H-minor-free graph with |H|h, 𝒮 be the collection of connected subgraphs with strong radius k, and x:V0 is a nonnegative weight function satisfying S𝒮:SvxS1 for all v for all v. Then,

A,B𝒮 and ABxAxBq(h,k)S𝒮xS.

Combining the above lemma with the linear programming formulation and the randomized rounding framework yields the following results.

Theorem 4.

There exists a polynomial-time algorithm that computes an O(1)-approximate solution for packing c-balanced or threshold districts with bounded strong radius on planar graphs and apex-minor-free graphs.

Theorem 5.

There exists a polynomial-time algorithm that computes an O(1)-approximate solution for packing c-balanced or threshold star districts on H-minor-free graphs and bounded-expansion graphs.

We prove Theorem 4 and Theorem 5 at the end of this section. The high level approach of proving Lemma 3 is to partition the pairs of intersecting districts into different cases, and give the upper bound to each of the case. To start with the simplest case, we first introduce the following notions of center vertices and intersecting pivots.

Center Vertices and Intersecting Pivots.

For each district S𝒮, we designate a center vertex cSS to the district, where every vertex in S is within distance k from cS. If there are multiple choices, cS can be chosen arbirarily. Note that since S has a strong radius at most k, there is at least one center vertex in S.

For each pair of districts (A,B) that intersect, we further define the following terms.

Definition 6.

Let A,B𝒮 be two districts with AB. Let PA,B be an arbitrarily chosen (undirected) path that satisfies the following conditions:

  1. 1.

    PA,B is a path connecting cA and cB. If cA=cB then PA,B is a single vertex.

  2. 2.

    There exists an intersecting pivot iA,BPA,BAB.

  3. 3.

    The length of the subpath between cA and iA,B, and the length of the subpath between cB and iA,B are both at most k.

  4. 4.

    All vertices on the path between cA and iA,B are in A, and all vertices on the path between iA,B and cB are in B.

We require PA,B=PB,A and iA,B=iB,A.

Now, with the definition of the intersecting pivot, we are able to partition the set of intersecting district pairs (A,B) into two types – an “easy” case where iA,B{cA,cB}, or otherwise a “non-trivial” case.

For the easy case, without loss of generality, we may assume iA,B=cA. In this case, we bound the total correlation using the primal constraints:

AB and iA,B=cAxAxBA𝒮xABcAxBS𝒮xS

Therefore, it remains to bound the correlation sum for all intersecting districts (A,B), where cA,cB and iA,B are all distinct vertices.

4.2 A Probabilistic Method for Challenging Case

The analysis of the easy case does not simply generalize to the non-trivial case where iA,B,cA and cB are all distinct. One potentially convincing reason is that if we fix the district A, all the intersecting pivots iA,B might be distinct, which implies that the sum over all intersecting districts B:ABxAxB could be as large as |A|xA=Ω(n)xA in the worst case.

Fortunately, one can utilize the bounded degeneracy property of H-minor-free graphs for a fixed minor H of size h. A d-degenerate graph is an undirected graph in which every subgraph has at least one vertex of degree at most d. The degeneracy of a graph is the smallest value d for which it is d-degenerate. The following fact bounds the degeneracy of H-minor-free graphs.

Lemma 7 ([65, 3]).

Let G=(V,E) be an H-minor free graph for a fixed graph H of h vertices, then the degeneracy of G is d=O(hlogh).

With this property, we are able to design a randomized charging scheme, such that for each pair of intersecting districts (A,B), with probability Ωh,k(1), the cost xAxB will be charged to either xA or xB and simultaneously each xA or xB will be charged by at most Oh,k(1) times. This completes the proof by the standard probabilistic method. We summarize the above discussion into the following lemma, which directly leads to Lemma 3.

Lemma 8.

Let G=(V,E) be an H-minor-free graph (where H has h vertices) and 𝒮 be a set of subgraphs with strong radius k. Then, there exists a randomized algorithm that takes (G,𝒮,{xS}) as input, and output a list 𝒪 of ordered tuples (A,B,j)𝒮×𝒮×V, such that the following holds.

  1. (1)

    jB.

  2. (2)

    For each district A𝒮, the set JA:={j|(A,B,j)𝒪} contains at most dk+1(2kk) distinct vertices.

  3. (3)

    For any intersecting pair (A,B), with probability at least 1/(d+1)k2, either (A,B,j)𝒪 or (B,A,j)𝒪, for some jB or some jA.

Before proving Lemma 8, we first show that Lemma 8 implies the correctness of Lemma 3, the main technical lemma of this section.

Proof of Lemma 3.

By item (3) in Lemma 8, we obtain the expected bound:

𝐄[(A,B,j)𝒪xAxB]1(d+1)k2ABxAxB.

On the other hand, by items (1) and (2) we have

(A,B,j)𝒪xAxB=A𝒮xAjJA(B:(A,B,j)𝒪xB)dk+1(2kk)S𝒮xS.

By the probabilistic method argument, there must exist a set of intersecting pairs 𝒪 that satisfies both inequalities, which completes the proof of Lemma 3 with q(h,k)=(d+1)k2dk+1(2kk)=hO(k2).

The rest of the section devotes to proving Lemma 8. We first describe the randomized algorithm below.

The Algorithm 𝓡.

The algorithm consists of two parts: in the first part, the algorithm randomly produces a sequence of minors of G: G0=G,G1,,Gk via a sequence of random contractions, where k is the radius/diameter constraint. In the second part, the algorithm considers each intersecting district pair (A,B), obtains some vertex jV, and decides if the tuple (A,B,j) will be added to the output list and counted toward the correlation sum. Note that due to asymmetry, (A,B) and (B,A) are considered separately.

Part 1.

The algorithm initializes a copy G0G of the input graph. Run the following procedure in k rounds. In each round r=1,2,,k, the algorithm computes an arbitrary orientation Gr1 from Gr1, where each vertex has out-degree at most d. The algorithm then assigns a randomly chosen neighbor (or not choosing at all) for each vertex, denoted as the variable pickr[v]V{}. Specifically, for each vertex vV, each out-going neighbor vout(v) will be assigned to pickr[v] with probability 1d+1, and for the remaining probability 1|out(v)|/(d+1), the algorithm chooses nothing (sets pickr[v]) for v.

Finally, at the end of each round, the algorithm forms the (undirected) contracted graph Gr by contracting v toward pickr[v] all at once. The contraction naturally induces a partition of V(Gr1), where each part is contracted to a single vertex and there is at most one vertex v in the part with pickr[v]=. If such vertex v exists, we name the contracted vertex in Gr to be v. Otherwise, we do not need this vertex anymore so they can be completely removed from Gr. We emphasize that this naming convention is important to our analysis.

Part 2.

The algorithm computes an orientation Gk from the latest contracted graph Gk. For each pair of intersecting district (A,B) with iA,B different from cA and cB, the algorithm checks if the following event EA,B holds:

  • The vertices cA,cB are never contracted. That is, pickr[cA]=pickr[cB]= for all r.

  • pickr[iA,B]= for all r=1,2,,k1. Note that we do not restrict pickk[iA,B].

  • For every other vertex v on PA,B except cA,cB,iA,B, whenever pickr[v], we must have pickr[v]PA,B. In other words, if a vertex on PA,B participates in a contraction, the vertex contracts “along the path” and shortens the path.

  • There are three possible values for pickk[iA,B] (contract to the left, contract to the right, or stay.) Define j and j to be the two vertices on PA,B closest to iA,B that are not contracted in the end, such that jA and jB. In particular, if pickk[iA,B]= we let j=j=iA,B.

    The event EA,B requires that, if jj, then on the last orientation Gk there must be a directed edge from j to j. (That is, swap the role of A and B when needed.)

  • Let PA,B be the contracted path after the last round. Note that jPA,B and jcA. Let j′′ be the neighbor of j on PA,B toward cA. Let us define the term forward trajectory on the union of oriented graphs G:=G0G1Gk1, where each directed edge is associated with the round index. A forward trajectory is then a path P on G such that the round indices is non-decreasing.

The event EA,B requires the existence of a forward trajectory PA from cA to j′′ with V(PA)V(PA,B). If EA,B holds, the algorithm adds (A,B,j) to the output list 𝒪.

Analysis.

We verify each item in the statement of Lemma 8 as follows.

Lemma 9.

If (A,B,j)𝒪, then jB.

Proof.

This is guaranteed by Item 4 of the event EA,B.

Lemma 10.

For each district A𝒮 the set JA contains at most dk+1(2kk) distinct vertices.

Proof.

Each forward trajectory can be uniquely encoded with a sequence of “next round” or “go to the i-th neighbor”, where the “next round” appears exactly k times and the “go to” appears for at most k times (this is because the radius of A is at most k). So there are at most dk(2kk) vertices of jA.

By Item 4 of the event EA,B, there is a directed edge going from j to j in the last oriented graph Gk. This bounds the size of JA to be at most dk+1(2kk).

Lemma 11.

The probability of an intersecting pair (A,B) appearing in the output list (in either the form (A,B,j) or (B,A,j)) is at least 1/(d+1)k2.

Proof.

For any r, 0rk, let PA,B(r) be the contracted path of PA,B in Gr. Let PA,B(r) be the associated sequence of directed edges on Gr after the orientation.

It suffices to observe that, for rounds r=1,2,,k1, if the oriented sequence of edges PA,B(r1) do not belong to one of the following 9 cases, with probability at least 1/(d+1)k, the path between cA and iA,B and the path between iA,B and cB will become shorter. These 9 cases are:

  1. 1.

    cAuiA,BvcB

  2. 2.

    cAuiA,BcB (2 cases)

  3. 3.

    cAiA,BvcB (2 cases)

  4. 4.

    cAiA,BcB (4 cases)

By the observation, after k1 rounds, the oriented sequence of PA,B(k1) on Gk1 must be in one of the 9 cases stated above (we call them directed-minimal paths). Now, consider the last round k. For each of the 9 cases, there is at least one scenario (i.e., with probability at least 1/(d+1)5) such that EA,B or EB,A holds, which completes the proof.

Proof of Lemma 8.

It follows from Lemma 9, Lemma 10, and Lemma 11.

4.3 Bounded Expansion Graphs

While the correlation ratio is constant on H-minor-free graphs (Lemma 3), it has an Ω(n) lower bound on general graphs [33]. This dichotomy naturally raises the question of how broadly the constant bound persists, and whether one can obtain a smooth tradeoff between these two regimes. In this subsection, we take a step in this direction by considering bounded expansion graphs [60, 61, 62] (refer Definition 1), a class that formalizes the notion of everywhere sparsity. To better demonstrate our results, we first introduce a recursively defined sequence {drf}r=0.

Definition 12.

Let f:1 be any increasing function. Define d0f:=f(0). For each integer r1, define

drf:=f(2rd0fd1fdr1f).

If the context is clear we will omit f and use dr to denote drf. We remark that when f is a polynomial, drf is doubly exponential in r.

Theorem 13.

Let G be an f-bounded expansion graph. Let 𝒮 be a collection of districts with a strong radius bound k. Let {xS} be any feasible fractional solution for packing 𝒮. Then, we have:

ABxAxB(4kdk2k2+k)(2kk)S𝒮xS.

It is straightforward to check that (from Definition 12), whenever k is a constant, despite being enormous, the approximation ratio is still a constant.

Algorithm in Lemma 8 does not directly imply Theorem 13, because in each contraction which produces Gr from Gr1, the diameter of each contracted vertex subset is not bounded. Fortunately, with a slight tweak to algorithm , we are able to guarantee the diameter on each contraction, thereby proving Theorem 13.

Proof of Theorem 13.

We first describe the modified algorithm , and then provide the modified analysis that is analogous to Lemma 10 and Lemma 11.

The Modified Algorithm 𝓡.

In each round r of contraction, the algorithm first computes an acyclic orientation Gr1 via the greedy ordering algorithm222The algorithm repeatedly identifies a vertex with the minimum current degree, orients all incident edges as outgoing edges, and then remove this vertex and all incident edges until the graph become empty. for computing the degeneracy dr1. This also computes a (dr1+1)-vertex-coloring for G with colors {1,2,,dr1+1}. Then, the algorithm computes a random shuffle σ to the colors. Each vertex v obtains a color c(v){1,2,,dr1+1}.

The algorithm then assigns the value 𝑝𝑖𝑐𝑘r[v] for each vertex v with a slightly modified distribution: for each neighbor u of v, if c(u)<c(v), assigns 𝑝𝑖𝑐𝑘r[v]=u with probability 1/(dr1+1). Otherwise, set 𝑝𝑖𝑐𝑘r[v]=.

The rest of the algorithm is the same as algorithm .

The Analysis.

To complete the proof of Theorem 13, it suffices to show two statements, analogous to Lemma 10 and Lemma 11. First, we analyze contracted components’ diameter. Consider any round r of contraction and any vertex v. The sequence formed by successively applying 𝑝𝑖𝑐𝑘r[] has length at most 2dr1 on Gr1. Therefore, by induction, the diameter of each contracted component of G at round r for the shallow minor is at most f(2rd0d1dr1)=dr.

Let (A,B) be any intersecting pair and PA,B be a connecting path from cA to cB. To count the number of forward trajectories, we simply observe that the outdegrees for each vertex in any contracted graphs after all k rounds is dk. Any forward trajectories takes at most k steps hopping forward and k steps advancing to the next round. Thus the size of JA in the output list can be bounded by dkk(2kk) as desired.

Suppose the contracted path PA,B(r) at round r has length at least 5. So none of the nine directed-minimal cases occur. In this case, one of the partial path between cA and iA,B or between cB and iA,B must have at least length three. There must be an edge xy in the oriented graph that does not invalidate the event EA,B (or EB,A) whenever 𝑝𝑖𝑐𝑘r[x]=y. Now, the probability that the algorithm assigns 𝑝𝑖𝑐𝑘r[x]=y is no longer 1/(dr1+1). In fact, since shuffling colors on Gr1 is independent to the initial assignment to 𝑝𝑖𝑐𝑘r[x], we know that Pr(c(y)<c(x))=1/2. Hence, we conclude that with probability (A,B) appearing in the output list (in either form (A,B,j) or (B,A,j)) is at least

r=1k(12(dr1+1)k)2=4kr=1k(dr1+1)2k4kdk2k2,

and the statement follows.

 Remark.

Although Theorem 13 applies to strong radius districts, it does not immediately yield an efficient algorithm for our packing problem. The main obstacle lies in algorithmically extracting a polynomial-sized support from the linear program. In particular, employing either the multiplicative weight update method or the ellipsoid method necessitates an efficient implementation of the separation oracle. However, designing such an oracle appears to be surprisingly challenging, and we currently do not have a solution, even for everywhere sparse graphs.

On the other hand, when every vertex neighborhood has bounded treewidth (as is the case for apex-minor-free graphs) an efficient implementation of the separation oracle becomes possible. In the next subsection, we present such a separation oracle.

5 Conclusion and Open Problems

In this paper, we investigated several variants of packing compact subgraphs into a larger graph under balancedness/threshold composition constraints. We extend the work of [33], who focused only star districts, by studying districts of bounded radius.

Our work provides algorithmic results for two variants of the problem. On one hand, we design an O(1)-approximation algorithm under exact c-balanced and B-threshold districting requirements on apex-minor-free graphs. This is done by solving a linear program and then applying the rounding framework. On the other hand, we obtain a PTAS on apex-minor-free graphs by relaxing the constraints, allowing (1+δ)c-balancedness and (1δ)B threshold parameters, for any δ>0. This is achieved by dynamic programming on tree decomposition with Baker’s method.

Interestingly, we do not immediately see a clean path to get the best of the two worlds – a PTAS on apex-minor-free graphs with exact c-balanced or B threshold constraints. The rounding framework leaves an Ω(1) integrality gap, which seems very hard to overcome (as discussed in [33]).

On the other hand, for the dynamic programming approach, The main bottleneck appears to be maintaining intermediate states that encode multiple partial districts with exact composition requirements simultaneously. Our algorithm requires “state blow-up” and “trimming” procedures at each DP transition step. The trimming step maintains an invariant that specifically holds for only one partial district in the description of Equation 7. Similar to the 3-color-balancedness hardness result (Theorem 6.5 in full version), the current trimming algorithm does not extend naturally to guarantee Equation 7. Clearly, if we choose not to trim at all, the size of the state space grows exponentially with n, thereby yielding an intractable algorithm.

However, this problem is not as dire as the 3-color case. One example is that we can obtain a PTAS for grid graphs by applying Baker’s idea twice: we split the grid into t2=O(k/ε)×O(k/ε) square subgrids and consider all t2 possible shifts. Since each connected component has only a constant number Θ(t2)=Ok,ε(1) of vertices, there is a constant-time algorithm for obtaining the optimal solution on each piece, leading to a PTAS overall. We are therefore optimistic about the following conjecture.

Conjecture 14.

There exists a PTAS for packing c-balanced or B-threshold districts on apex-minor-free graphs.

Efficient Separation Oracles for Various Compact Subgraph Types.

Our current rounding framework handles exact balancedness constraints only for districts of bounded strong radius. In contrast, the relaxed PTAS relies on districts of bounded weak radius.

Open Question 14.

Is the correlation ratio bounded by a constant for bounded weak-radius districts?

Beyond Apex-Minor-Free Graphs.

Our current techniques rely on dynamic programming on bounded-treewidth graphs. Extending these results to broader graph classes will likely require fundamentally new ideas. In particular, for obtaining similar approximation guarantees for broader graph classes, such as bounded-expansion graphs.

Open Question 14.

Does there exist an efficient separation oracle for bounded strong-radius districts on bounded-expansion graphs?

Graphs Parametrized by Worst-Case Correlation Ratio.

In this paper, as well as in [15, 33], we have seen rounding algorithms whose approximation guarantee is closely related to the correlation ratio. Roughly speaking, this correlation ratio describes how districts satisfying a certain composition requirement interact with one another in the worst-case vertex-weight assignment. From a purely graph-theoretical perspective, it gives a flavor of per-graph-class analysis of approximation ratios. For example, in Section 4 we have shown that in planar graphs and bounded expansion graphs have a constant worst-case correlation ratio. In [33] it shows an Ω(n) lower bound ratio on general graphs and a Ω(1) lower bound ratio on planar graphs. It is not hard to verify (using balanced separators) that on constant treedepth graphs the ratio is O(1) as well and on bounded treewidth and pathwidth graphs the ratio is O(logn), but we do not know if this polylogarithmic bound is tight. We are interested in connecting this parameter to other graph parameter and classes in a reversed way, perhaps leading to universal optimal (per-graph topology) analysis on approximation ratios. Finally, we wonder whether there are any interesting observations that can be made from the parametrization of this worst-case correlation ratio.

Open Question 14.

Are there interesting results when defining the graph classes according to the correlation ratio?

References

  • [1] Nesrine Abbas and Lorna Stewart. Clustering bipartite and chordal graphs: Complexity, sequential and parallel algorithms. Discrete applied mathematics, 91(1-3):1–23, 1999.
  • [2] Maxwell Allman, Itai Ashlagi, Irene Lo, Juliette Love, Katherine Mentzer, Lulabel Ruiz-Setz, and Henry O’Connell. Designing school choice for diversity in the San Francisco unified school district. In Proceedings of the 23rd ACM Conference on Economics and Computation, EC ’22, pages 290–291, New York, NY, USA, 2022. Association for Computing Machinery. doi:10.1145/3490486.3538271.
  • [3] Noga Alon, Michael Krivelevich, and Benny Sudakov. Complete minors and average degree: A short proof. J. Graph Theory, 103(3):599–602, 2023. doi:10.1002/JGT.22937.
  • [4] Micah Altman. Traditional districting principles: judicial myths vs. reality. Social Science History, 22(2):159–200, 1998.
  • [5] Micah Altman and Michael P McDonald. Bard: Better automated redistricting. Journal of Statistical Software, 42:1–28, 2011.
  • [6] Maxim Babenko and Alexey Gusakov. New exact and approximation algorithms for the star packing problem in undirected graphs. In Thomas Schwentick and Christoph Dürr, editors, 28th International Symposium on Theoretical Aspects of Computer Science (STACS 2011), volume 9 of Leibniz International Proceedings in Informatics (LIPIcs), pages 519–530, Dagstuhl, Germany, 2011. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.STACS.2011.519.
  • [7] Brenda S Baker. Approximation algorithms for NP-complete problems on planar graphs. J. ACM, 41(1):153–180, January 1994. doi:10.1145/174644.174650.
  • [8] Assaf Bar-Natan, Lorenzo Najt, and Zachary Schutzman. The gerrymandering jumble: map projections permute districts’ compactness scores. Cartography and Geographic Information Science, 47(4):321–335, 2020.
  • [9] Amariah Becker and Justin Solomon. Redistricting algorithms. In Moon Duchin and Olivia Walch, editors, Political Geometry: Rethinking Redistricting in the US with Math, Law, and Everything In Between, pages 303–340. Springer International Publishing, Cham, 2022. doi:10.1007/978-3-319-69161-9_16.
  • [10] Matthias Bentert, Fedor V. Fomin, Petr A. Golovach, Tuukka Korhonen, William Lochet, Fahad Panolan, M. S. Ramanujan, Saket Saurabh, and Kirill Simonov. Packing short cycles. ACM Trans. Algorithms, 22(1):8:1–8:35, 2026. doi:10.1145/3765285.
  • [11] Hans L Bodlaender. A partial k-arboretum of graphs with bounded treewidth. Theor. Comput. Sci., 209(1):1–45, 1998. doi:10.1016/S0304-3975(97)00228-4.
  • [12] Matteo Böhm, Adriano Fazzone, Stefano Leonardi, and Chris Schwiegelshohn. Fair clustering with multiple colors. arXiv 2002.07892.
  • [13] Victor Bucarey, Fernando Ordóñez, and Enrique Bassaletti. Shape and balance in police districting. In Applications of location analysis, pages 329–347. Springer, 2015.
  • [14] Alberto Caprara and Romeo Rizzi. Packing triangles in bounded degree graphs. Inf. Process. Lett., pages 175–180, 2002. doi:10.1016/S0020-0190(02)00274-0.
  • [15] Timothy M. Chan and Sariel Har-Peled. Approximation algorithms for maximum independent set of pseudo-disks. Discret. Comput. Geom., 48(2):373–392, 2012. doi:10.1007/S00454-012-9417-5.
  • [16] Harry Chen, Kamesh Munagala, and Govind S. Sankar. Balanced spanning tree distributions have separation fairness. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2337–2402, 2026. doi:10.1137/1.9781611978971.84.
  • [17] Anshuman Chhabra, Karina Masalkovaitė, and Prasant Mohapatra. An overview of fairness in clustering. IEEE Access, pages 130698–130720, 2021. doi:10.1109/ACCESS.2021.3114099.
  • [18] Flavio Chierichetti, Ravi Kumar, Silvio Lattanzi, and Sergei Vassilvitskii. Fair clustering through fairlets. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 5036–5044, 2017.
  • [19] Gabriel Chuang, Oussama Hanguir, and Clifford Stein. Drawing Competitive Districts in Redistricting. In Guy N. Rothblum, editor, 5th Symposium on Foundations of Responsible Computing (FORC 2024), volume 295 of Leibniz International Proceedings in Informatics (LIPIcs), pages 7:1–7:22, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.FORC.2024.7.
  • [20] Julia Chuzhoy, Merav Parter, and Zihan Tan. On packing low-diameter spanning trees. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, Saarbrücken, Germany (Virtual Conference), July 8-11, 2020, volume 168 of LIPIcs, pages 33:1–33:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.ICALP.2020.33.
  • [21] Carmen Cirincione, Thomas A Darling, and Timothy G O’Rourke. Assessing South Carolina’s 1990s congressional districting. Political Geography, 19(2):189–211, 2000.
  • [22] S Clarke and J Surkis. An operations research approach to racial desegregation of school systems. Socio-Economic Planning Sciences, 1(3):259–272, 1968.
  • [23] Kenneth L. Clarkson. Applications of random sampling in computational geometry, ii. In Proceedings of the Fourth Annual Symposium on Computational Geometry, SCG ’88, pages 1–11, New York, NY, USA, 1988. Association for Computing Machinery. doi:10.1145/73393.73394.
  • [24] Vincent Cohen-Addad, Philip N Klein, and Neal E Young. Balanced power diagrams for redistricting. arXiv preprint, 2017. arXiv:1710.03358.
  • [25] Vincent Cohen-Addad, Philip N. Klein, and Neal E. Young. Balanced centroidal power diagrams for redistricting. In Proceedings of the 26th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, SIGSPATIAL ’18, pages 389–396, New York, NY, USA, 2018. Association for Computing Machinery. doi:10.1145/3274895.3274979.
  • [26] Jessica De Silva, Brady Gales, Bryson Kagy, and David Offner. An analysis of a fair division protocol for drawing legislative districts. arXiv preprint, 2018. arXiv:1811.05705.
  • [27] Daryl DeFord, Moon Duchin, and Justin Solomon. A computational approach to measuring vote elasticity and competitiveness. Statistics and Public Policy, 7(1):69–86, 2020.
  • [28] Daryl DeFord, Moon Duchin, and Justin Solomon. Recombination: A family of Markov chains for redistricting. Harvard Data Science Review, 3(1):3, 2021.
  • [29] Erik D. Demaine and MohammadTaghi Hajiaghayi. Equivalence of local treewidth and linear local treewidth and its algorithmic applications. In Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’04, pages 840–849, USA, 2004. Society for Industrial and Applied Mathematics.
  • [30] Erik D Demaine, MohammadTaghi Hajiaghayi, and Ken-ichi Kawarabayashi. Algorithmic graph minor theory: Decomposition, approximation, and coloring. In 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS’05), pages 637–646. IEEE, 2005.
  • [31] Erik D. Demaine, Felix Reidl, Peter Rossmanith, Fernando Sánchez Villaamil, Somnath Sikdar, and Blair D. Sullivan. Structural sparsity of complex networks: Bounded expansion in random models and real-world graphs. Journal of Computer and System Sciences, 105:199–241, 2019. doi:10.1016/j.jcss.2019.05.004.
  • [32] Palash Dey, Sudeshna Kolay, and Sipra Singh. Knapsack: Connectedness, path, and shortest-path. In Lecture Notes in Computer Science, Lecture notes in computer science, pages 162–176, Cham, 2024. Springer Nature Switzerland. doi:10.1007/978-3-031-55601-2_11.
  • [33] Prathamesh Dharangutte, Jie Gao, Shang-En Huang, and Fang-Yi Yu. Hardness and approximation algorithms for balanced districting problems. In Mark Bun, editor, 6th Symposium on Foundations of Responsible Computing, FORC 2025, Stanford University, CA, USA, June 4-6, 2025, LIPIcs, pages 4:1–4:24. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.FORC.2025.4.
  • [34] Riccardo Dondi and Manuel Lafond. On the tractability of covering a graph with 2-clubs. Algorithmica, 85(4):992–1028, 2023. doi:10.1007/S00453-022-01062-3.
  • [35] Riccardo Dondi, Giancarlo Mauri, Florian Sikora, and Italo Zoppis. Covering a graph with clubs. J. Graph Algorithms Appl., 23(2):271–292, 2019. doi:10.7155/JGAA.00491.
  • [36] Riccardo Dondi, Giancarlo Mauri, and Italo Zoppis. On the tractability of finding disjoint clubs in a network. Theoretical Computer Science, 777:243–251, 2019. doi:10.1016/J.TCS.2019.03.045.
  • [37] David Eppstein. Diameter and treewidth in minor-closed graph families. Algorithmica, 27(3):275–291, June 2000. doi:10.1007/S004530010020.
  • [38] Allen D Franklin and Ernest Koenigsberg. Computed school assignments in a large district. Operations Research, 21(2):413–426, 1973. doi:10.1287/OPRE.21.2.413.
  • [39] Roland G Fryer Jr and Richard Holden. Measuring the compactness of political districting plans. The Journal of Law and Economics, 54(3):493–535, 2011.
  • [40] Nabeel Gillani, Doug Beeferman, Christine Vega-Pourheydarian, Cassandra Overney, Pascal Van Hentenryck, and Deb Roy. Redrawing attendance boundaries to promote racial and ethnic diversity in elementary schools. Educational Researcher, 52(6):348–364, 2023.
  • [41] J Gerald Hebert. The Realist’s Guide to Redistricting: Avoiding the Legal Pitfalls. American Bar Association, 2010.
  • [42] Pavol Hell and David Kirkpatrick. Packings by cliques and by finite families of graphs. Discrete Math., 49(1):45–59, March 1984. doi:10.1016/0012-365X(84)90150-X.
  • [43] Pavol Hell and David Kirkpatrick. Packings by complete bipartite graphs. SIAM J. Algebr. Discrete Methods, pages 199–209, 1986.
  • [44] Pavol Hell, David Kirkpatrick, Jan Kratochvíl, and Igor Kříž. On restricted two-factors. SIAM J. Discrete Math., pages 472–484, 1988.
  • [45] Sidney Wayne Hess, JB Weaver, HJ Siegfeldt, JN Whelan, and PA Zitlau. Nonpartisan political redistricting by computer. Operations Research, 13(6):998–1006, 1965.
  • [46] Ian Holyer. The NP-completeness of some edge-partition problems. SIAM J. Comput., pages 713–717, 1981. doi:10.1137/0210054.
  • [47] Chien-Chung Huang, Mathieu Mari, Claire Mathieu, Kevin Schewior, and Jens Vygen. An approximation algorithm for fully planar edge-disjoint paths. SIAM J. Discrete Math., 35(2):752–769, January 2021. doi:10.1137/20M1319401.
  • [48] Matt Jacobs and Olivia Walch. A partial differential equations approach to defeating partisan gerrymandering. arXiv preprint, 2018. arXiv:1806.07725.
  • [49] Xinrui Jia, Kshiteej Sheth, and Ola Svensson. Fair colorful k-center clustering. In Integer Programming and Combinatorial Optimization, pages 209–222. Springer International Publishing, 2020. doi:10.1007/978-3-030-45771-6_17.
  • [50] Hai Jin. Spatial optimization methods and system for redistricting problems. PhD thesis, University of South Carolina, 2017.
  • [51] Jörg Kalcsics, Stefan Nickel, and Michael Schröder. Towards a unified territorial design approach—applications, algorithms and GIS integration. Top, 13:1–56, 2005.
  • [52] Alexander K Kelmans. Optimal packing of induced stars in a graph. Discrete Math., 173(1):97–127, 1997. doi:10.1016/S0012-365X(96)00121-5.
  • [53] Myung Jin Kim. Optimization approaches to political redistricting problems. PhD thesis, The Ohio State University, 2011.
  • [54] Zeph Landau, Oneil Reid, and Ilona Yershov. A fair division solution to the problem of redistricting. Social Choice and Welfare, 32(3):479–492, 2009. doi:10.1007/S00355-008-0336-6.
  • [55] Shoham Letzter, Abhishek Methuku, and Benny Sudakov. Packing subgraphs in regular graphs, 2026. arXiv:2509.26180.
  • [56] Mengya Li and Wensong Lin. On star family packing of graphs. RAIRO Oper. Res., pages 2129–2140, 2021. doi:10.1051/RO/2021096.
  • [57] Martin Loebl and Svatopluk Poljak. Efficient subgraph packing. J. Combin. Theory Ser. B, pages 106–121, 1993.
  • [58] Angelo Monti and Blerina Sinaimeri. Disjoint covering of bipartite graphs with s-clubs. In Rastislav Královic and Vera Kurková, editors, SOFSEM 2025: Theory and Practice of Computer Science - 50th International Conference on Current Trends in Theory and Practice of Computer Science, SOFSEM 2025, Bratislava, Slovak Republic, January 20-23, 2025, Proceedings, Part II, volume 15539 of Lecture Notes in Computer Science, pages 198–210. Springer, 2025. doi:10.1007/978-3-031-82697-9_15.
  • [59] Elle Najt, Daryl DeFord, and Justin Solomon. Complexity and geometry of sampling connected graph partitions. arXiv preprint, 2019. arXiv:1908.08881.
  • [60] Jaroslav Nešetřil and Patrice Ossona de Mendez. Grad and classes with bounded expansion I. decompositions. Eur. J. Comb., pages 760–776, 2008.
  • [61] Jaroslav Nešetřil and Patrice Ossona de Mendez. Grad and classes with bounded expansion II. algorithmic aspects. Eur. J. Comb., pages 777–791, 2008.
  • [62] Jaroslav Nešetřil and Patrice Ossona de Mendez. Grad and classes with bounded expansion III. restricted graph homomorphism dualities. Eur. J. Comb., pages 1012–1024, 2008.
  • [63] Qi Ning. On the star packing problem. Ann. N. Y. Acad. Sci., 576(1):411–416, December 1989.
  • [64] Wesley Pegden, Ariel D Procaccia, and Dingli Yu. A partisan districting protocol with provably nonpartisan outcomes. arXiv preprint, 2017. arXiv:1710.08781.
  • [65] Andrew Thomason. The extremal function for complete minors. J. Comb. Theory B, 81(2):318–338, 2001. doi:10.1006/JCTB.2000.2013.
  • [66] Santiago Valdés Ravelo and Flávio K. Miyazawa. Packing sets of paths, stars and triangles: Tractability and approximability. In Daya Gaur and Rogers Mathew, editors, Algorithms and Discrete Applied Mathematics, pages 247–257, Cham, 2025. Springer Nature Switzerland.
  • [67] James B Weaver and Sidney W Hess. A procedure for nonpartisan districting: Development of computer techiques. Yale Law Journal, 73(2):288–308, 1963.
  • [68] Wenying Xi, Wensong Lin, and Yuquan Lin. Packing 2- and 3-stars into cubic graphs. Appl. Math. Comput., 460(128287):128287, January 2024. doi:10.1016/J.AMC.2023.128287.
  • [69] Jack Zhang, Lucas Silveira, Hamidreza Validi, Logan Smith, Austin Buchanan, and Illya V Hicks. Partitioning a graph into low-diameter clusters, 2024.

Appendix A Separation Oracle for Districts of Bounded Radius

Here, we outline how to implement separation oracles to search for a weakly violating connected subgraph. The main idea is to formulate the problem as a vector-valued connected subgraph sum problem where each vertex has a vector that captures its objective weight, features, and dual variables. The proofs are deferred to the full version.

Given an undirected graph G=(V,E) where each node vV has a vector-valued weight 𝐰(v)0d, the Connected Subgraph Sum problem defines the set W of all possible total weights achievable by a connected and compact subgraphs of G:

W={𝐰(T)=vT𝐰(v):the induced subgraph G[T] is connected and compact}. (5)

We define the set of feasible weight vectors W only based on the topological constraints (connectivity and compactness). The composition constraints (e.g., balancedness or thresholds) are encoded in the vector values and handled subsequently via the linear score function and the domination idea.

As the set W can be exponentially large, explicitly computing and verifying composition constraints in Equation 5 is infeasible. Instead, we propose the (,ε)-Trimmed Connected Subgraph Sum problem. This seeks a succinct subset that approximates every feasible weight vector multiplicatively, while maximizing a specific linear score , which encodes the necessary information to satisfy the composition requirements.

(,ε)-Trimmed Connected Subgraph Sum
Input: A graph G=(V,E) with a vector-valued weight function 𝐰:V0d, an error parameter ε0, and a linear function :0d.

Goal: Compute a subset W0d such that WW and W is an (,ε)-trimming of W. That is, for every 𝐳=(z1,,zd)W, there exists a representative 𝐳=(z1,,zd)W satisfying:

eε zizieεfor all i=1,,d, and (6)
(𝐳) (𝐳). (7)

We say that 𝐳 ε-approximates 𝐳 if condition (6) holds, and that 𝐳 -dominates 𝐳 if condition (7) holds. Crucially, this problem is computationally tractable on graphs of bounded treewidth. The main result of this section is an FPTAS for the trimmed connected subgraph sum problem, which serves as the tool for our separation oracles.

Lemma 15.

Given G=(V,E), a radius bound k, vector-valued weights 𝐰:V0d, an error parameter ε>0, and a linear function , there is an algorithm for (,ε)-trimmed connected subgraph sum with strong radius bound that has running time

O(n2+2dε2d(k+1)2(tw+1)2O(twlogtw)(lnR)2d),

where n is the number of vertices and tw is the treewidth of G, and R=maxivVwi(v).

Armed with this efficient algorithm, we now demonstrate how the separation oracles for our districting problems can be reduced to instances of the trimmed connected subgraph sum problem.

Lemma 16 (Separation Oracle for c-Balanced Districts).

Consider the c-balanced districting problem where each vertex v has an objective weight w(v) and feature weights w1(v),w2(v). The separation oracle seeks a district Smax maximizing objective weight subject to the balance condition and a violated dual constraint so that

Smaxargmax{w(S):y(S)<(1ε)w(S) and S is c-balanced}.

This can be reduced to solving two instances of the trimmed connected subgraph sum problem. We define the vector-valued weight as 𝐰=(w1,w2,w,y) and use the linear functions:

1(𝐳)=(c1)z1z2and2(𝐳)=(c1)z2z1

By finding an (1,ε)-trimmed and (2,ε)-trimmed subset, we can identify a weakly violating district S that satisfies y(S)<(1ε2)w(S), approximates the optimal weight w(S)12w(Smax), and satisfies the balance condition Equation 1.

Lemma 17 (Separation Oracle for Threshold Districts).

Consider the B-threshold districting problem with objective weight w(v) and feature weight w1(v) subject to w1(S)B. The separation oracle additionally has a dual variable y and seeks a district maximizing objective weight subject to the threshold and dual constraints.

We can reduce this to solving the trimmed connected subgraph sum problem with vector weights 𝐰=(w1,w,y) and the linear function th(𝐳)=z1. The resulting set allows us to compute a weakly violating district satisfying y(S)<(112ε)w(S), approximate objective weight w(S)12w(Smax), and the B-threshold constraint.

Example 18 (Connected Knapsack Problem [32]).

Given a graph G, where each vertex has a value α(v) and a cost β(v), and a global budget B, the goal is to find a connected subgraph U maximizing α(U) subject to β(U)B. This is exactly recovered by setting 𝐰(v)=(α(v),β(v)) and solving for the appropriate approximation with (α,β)=β.

Proofs to Theorem 4 and Theorem 5

Finally, we conclude this section by describing how to apply separation oracles provided in the previous section. In particular, the new separation oracle leads to O(1)-approximation algorithms for bounded strong radius districts on apex-minor-free graphs.

Proof of Theorem 4.

To apply Lemma 15 (with the reduction adapted from Lemma 16 on d=4 and Lemma 17 on d=3) in the separation oracle, the algorithm enumerates all vertices vV as centers and considers the subgraph induced by vertices within distance k of v. As G is apex-minor-free, each such subgraph has bounded treewidth, which makes Lemma 15 applicable, and therefore the theorem follows.

Proof of Theorem 5.

We adopt the implementation of the separation oracle from [33], enumerating each vertex as a star center and invoking an approximate knapsack algorithm. The theorem follows from combining the analysis of Section 4.3.

Appendix B PTAS for 𝜹-Relaxed Districting on Apex-Minor-Free Graphs

In this section, we show that allowing relaxation to the composition requirements helps us obtain PTAS to the districting problem on bounded treewidth graphs. Combining this with the standard Baker’s approach [7], we obtain PTAS for δ-relaxed districting on planar and apex minor-free graphs.

Theorem 19.

There exists a polynomial-time algorithm that computes an (1+ε)-approximate solution for packing δ-relaxed c-balanced or threshold districts with bounded strong or weak radius on planar graphs and apex-minor-free graphs.

We first state the result that obtains a (1+ε)-approximate solution for packing δ-relaxed districts on bounded treewidth graphs. The proof employs dynamic programming, combining Lemma 15 with the techniques of [33] (see Appendix B in full version).

Lemma 20.

There exists a polynomial-time algorithm that computes an (1+ε)-approximate solution for packing δ-relaxed c-balanced or B-threshold districts with bounded strong or weak radius on graphs of bounded treewidth.

Using Lemma 20 as a black box, we prove the main result for δ-relaxed districting.

Proof of Theorem 19.

The algorithm is as follows. Start with an arbitrary vertex r as the root and construct a BFS tree and let Lj be the jth level which are vertices at hop distance j from r. Now, for an integer t>0, and shift i{0,,t1}, remove vertices in level imodt, and let G(i) be the induced graph on remaining vertices. Notice that each connected component in G(i) is fully contained in some (t1) consecutive levels of the BFS tree. For planar or apex-minor-free G, note that each connected component in G(i) now has bounded treewidth [37] (specifically, O(t)). Use the algorithm from Lemma 20 with parameter ε/2 and solve the problem on each connected component separately and let the union of these solutions for a fixed i be 𝒯i. Since districts cannot use vertices from different levels, taking union gives us a valid districting. Return the solution with largest weight w(𝒯i) across all i.

Now, we show that setting t=O(k/ε) suffices. Let 𝒯 be the optimal solution on G with w(𝒯)=OPT. A radius k district in 𝒯 is valid in some connected component in G(i) if no vertex in the district (or the path considered by the optimal solution for weak radius setting) lies in the deleted levels. Hence, for at most 2k+1 different shifts (i values), this particular district (or the path from the center vertex to some vertex in the district) is not valid. Now, for shift i, let Si be the set of districts from 𝒯 that intersect with some deleted layer. The optimal districting in G(i) has weight OPTw(Si). Now consider the total weight lost across different shifts. We have

i=0t1w(Si)(2k+1)T𝒯w(T)(2k+1)OPT.

By pigeonhole principle, for t=2(2k+1)/ε, there is some i such that

w(Si)2k+1tOPTε2OPT

As a result, for this particular shift i, the optimal districting in G(i) has weight at least OPTw(Si)(1ε2)OPT. Combining this with (1ε/2) approximation on G(i) (Lemma 20), we have that the solution has weight at least (1ε2)2OPT(1ε)OPT.

Appendix C Hardness Results

In this section we prove our hardness results. Note that the hardness for maximum packing of c-balanced districts were shown in [33]. Here, we show the hardness of packing under the weight threshold condition.

Hardness of Packing Compact Subgraphs with Weight Threshold

Theorem 21.

The B-threshold districting problem with (weak or strong) radius-k bounded districts is NP-hard when G is a tree.

Proof.

We first focus on star districts and show a reduction from the Knapsack Problem. Given a knapsack problem with n items, where item i has weight wi and utility ui, we want to select items such that utility is at least U, and minimize the total weight of the selected one. This is the dual version of the standard knapsack problem which fixes the cap of the total weight and maximizes utility, and is still NP-hard. Without loss of generality, we can assume that ui>1 and wi<1/n. This can be achieved by scaling up all utility values and the utility goal U and scale down the weights. It does not change the problem structure.

Now we describe the instance for the districting problem. Consider a tree rooted at v with children of v as v1,v2,,vn corresponding to the items. Let w(v)=1, and B=2U. Node vi has two children xi and yi. Define w(xi)=B, w(yi)=wi, w(vi)=ui. Further, we add a separate neighbor/child v0 of v with w(v0)=U1. This is detailed in Figure 1.

Figure 1: Instance for districting on the tree from a given knapsack instance.

Now we consider what are the possible candidate districts that have a total weight at least B. First we can define a district centered at v, including v0 and some set of vertices in {v1,,vn}. The population of v and v0 is U=B/2, so we must include additional vertices from {vi} to gain additional population of at least U. On the other hand, we can also define a district centered at vi, which includes xi,yi (and possibly v). However, we cannot have both a district centered at v including vi and a district centered at vi, as we want disjoint districts. If vi is included in the district at v, then we can still define a district with a solo vertex xi (of population B), but yi cannot be included in any district.

Thus the main decision to make is whether we can include a district centered at v or not. To do so, we select a subset of vertices in {v1,,vn} which has a total weight at least U. For these ones selected, the corresponding vertices yi will not be included anywhere – causing a loss of wi from the potential districts centered at vi. However, since iwi<1, it would always be more beneficial to create a district at v whenever possible. Specifically, the total coverage of the two cases is

  • If we do not have a district in v, the optimal solution is 1+nB+iui+iwi. In the above, the 1 comes from some district at vi that can include v.

  • If we do include a district in v, which includes v0 and a subset of vertices S{v1,,vn}, then the solution is B/2+nB+iui+iwiiSwi.

In other words, the best solution is to try to include a district at v and the set S of children included identifies the items that have the smallest total weight yet have utility to be at least U. Notice that this is precisely the optimal solution for the knapsack problem. Next, we note that the same reduction extends to radius-k districts, for any fixed k1, by replacing every edge of the above tree by a path of length exactly k, and assigning weight 0 to all newly introduced subdivision vertices. The resulting graph is still a tree, and all original districts retain the same weights. The same proof goes through by noting that on a tree, the weak-radius and strong-radius notions are equivalent for connected districts.

Next, we show hardness for general graphs.

Theorem 22.

The B-threshold districting problem with (weak or strong) radius-k bounded districts is NP-hard when G is a bounded degree graph or a planar graph. Moreover, on general graphs, it is NP-hard to approximate better than O(n1/2δ) for any δ>0. The results hold even when each subgraph is required to be a star (radius 1).

Proof.

We show hardness and hardness of approximation for k=1 by using the same reduction from maximum independent set as in [33]. Specifically, given a graph G=(V,E), the maximum independent set problem finds a subset of vertices SV with maximum cardinality such that no vertices in S have edges between them. We now construct a graph G that starts with G. For each edge (u,v) in G, split it into two edges in G – create a new vertex puv which connects to u and v and remove the edge (u,v). In addition, suppose the maximum degree in G is Δ. For a vertex v in G (corresponding to a vertex in G) whose degree d(v) is less than Δ, create Δd(v) additional neighbors (called filler nodes). We then set w(v)=1 for each vertex in G, B=Δ+1 and k=1. Without loss of generality, we can assume that Δ3 and thus B4. This means that any district with weight at least B in G must be at a vertex which corresponds to vertices in G. Further, this district will need to use all Δ neighbors in order to have enough total weight. This means that any two districts in G cannot have their centers to be adjacent in G. Thus any independent set S in G can be translated to a collection star districts in G, with each district centered on a vertex in S with all its Δ neighbors. Similarly, any districting solution will produce a set of vertices in V that are independent. The total weight of the optimal districting problem of G is (Δ+1)|S| where S is the maximum independent set in G. Similar to the argument in [33], since maximum independent set cannot be approximated by a factor of n1δ for any δ>0, this means that our districting problem cannot be approximated better than n1/2δ in a general graph for any δ>0, unless 𝖯=𝖭𝖯. Further, it is 𝖭𝖯-hard to solve the districting problem for graphs of bounded degree or on planar graphs, since the maximum independent set for these graphs remains 𝖭𝖯-hard.

To extend the hardness for radius-k districts, we simply replace the edges we add in constructing G with paths of length k. So, instead of connecting u and puv with a single edge, we connect them with a path of length k (i.e., with k1 new vertices on the path from u to puv). We do the same for v and puv and for each vertex v with their respective Δd(v) filler neighbors. We set B=1+kΔ. A valid district must be centered at a vertex v corresponding to vertices in the original graph G and include Δ paths from v, each of length k. Following the same arguments completes the proof.

 Remark 23.

The reduction in Theorem 22 also works for the relaxed version of B-threshold districting. This is because for fixed δ and radius-k districts, we can always choose B such that Δ<(1δ)BΔ+1, which forces the B-threshold districts to be the exact same as described in the proof.