This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Counting and enumerating optimum cut sets for hypergraph kk-partitioning problems for fixed kk111University of Illinois, Urbana-Champaign. Email: {calvinb2, karthe, weihang3}@illinois.edu. Supported in part by NSF grants CCF-1814613 and CCF-1907937.

Calvin Beideman    Karthekeyan Chandrasekaran    Weihang Wang
Abstract

We consider the problem of enumerating optimal solutions for two hypergraph kk-partitioning problems—namely, Hypergraph-kk-Cut and Minmax-Hypergraph-kk-Partition. The input in hypergraph kk-partitioning problems is a hypergraph G=(V,E)G=(V,E) with positive hyperedge costs along with a fixed positive integer kk. The goal is to find a partition of VV into kk non-empty parts (V1,V2,,Vk)(V_{1},V_{2},\ldots,V_{k})—known as a kk-partition—so as to minimize an objective of interest.

  1. 1.

    If the objective of interest is the maximum cut value of the parts, then the problem is known as Minmax-Hypergraph-kk-Partition. A subset of hyperedges is a minmax-kk-cut-set if it is the subset of hyperedges crossing an optimum kk-partition for Minmax-Hypergraph-kk-Partition.

  2. 2.

    If the objective of interest is the total cost of hyperedges crossing the kk-partition, then the problem is known as Hypergraph-kk-Cut. A subset of hyperedges is a min-kk-cut-set if it is the subset of hyperedges crossing an optimum kk-partition for Hypergraph-kk-Cut.

We give the first polynomial bound on the number of minmax-kk-cut-sets and a polynomial-time algorithm to enumerate all of them in hypergraphs for every fixed kk. Our technique is strong enough to also enable an nO(k)pn^{O(k)}p-time deterministic algorithm to enumerate all min-kk-cut-sets in hypergraphs, thus improving on the previously known nO(k2)pn^{O(k^{2})}p-time deterministic algorithm, where nn is the number of vertices and pp is the size of the hypergraph. The correctness analysis of our enumeration approach relies on a structural result that is a strong and unifying generalization of known structural results for Hypergraph-kk-Cut and Minmax-Hypergraph-kk-Partition. We believe that our structural result is likely to be of independent interest in the theory of hypergraphs (and graphs).

1 Introduction

In hypergraph kk-partitioning problems, the input consists of a hypergraph G=(V,E)G=(V,E) with positive hyperedge-costs c:E+c:E\rightarrow\mathbb{R}_{+} and a fixed positive integer kk (e.g., k=2,3,4,k=2,3,4,\ldots). The goal is to find a partition of the vertex set into kk non-empty parts V1,V2,,VkV_{1},V_{2},\ldots,V_{k} so as to minimize an objective of interest. There are several natural objectives of interest in hypergraph kk-partitioning problems. In this work, we focus on two particular objectives: Minmax-Hypergraph-kk-Partition and Hypergraph-kk-Cut:

  1. 1.

    In Minmax-Hypergraph-kk-Partition, the objective is to minimize the maximum cut value of the parts of the kk-partition—i.e., minimize maxi=1kc(δ(Vi))\max_{i=1}^{k}c(\delta(V_{i})); here δ(Vi)\delta(V_{i}) is the set of hyperedges intersecting both ViV_{i} and VViV\setminus V_{i} and c(δ(Vi))=eδ(Vi)c(e)c(\delta(V_{i}))=\sum_{e\in\delta(V_{i})}c(e) is the total cost of hyperedges in δ(Vi)\delta(V_{i}).

  2. 2.

    In Hypergraph-kk-Cut 222We emphasize that the objective of Hypergraph-kk-Cut is not equivalent to minimizing i=1kc(δ(Vi))\sum_{i=1}^{k}c(\delta(V_{i})). , the objective is to minimize the cost of hyperedges crossing the kk-partition—i.e., minimize c(δ(V1,,Vk))c(\delta(V_{1},\ldots,V_{k})); here δ(V1,,Vk)\delta(V_{1},\ldots,V_{k}) is the set of hyperedges that intersect at least two sets in {V1,,Vk}\{V_{1},\ldots,V_{k}\} and c(δ(V1,,Vk))=eδ(V1,,Vk)c(e)c(\delta(V_{1},\ldots,V_{k}))=\sum_{e\in\delta(V_{1},\ldots,V_{k})}c(e) is the total cost of hyperedges in δ(V1,,Vk)\delta(V_{1},\ldots,V_{k}).

If the input GG is a graph, then we will refer to these problems as Minmax-Graph-kk-Partition and Graph-kk-Cut respectively. We note that the case of k=2k=2 corresponds to global minimum cut in both objectives. In this work, we focus on the problem of enumerating all optimum solutions to Minmax-Hypergraph-kk-Partition and Hypergraph-kk-Cut.

Motivations and Related Problems. We consider the problem of counting and enumerating optimum solutions for partitioning problems over hypergraphs for three reasons. Firstly, hyperedges provide more powerful modeling capabilities than edges and consequently, several problems in hypergraphs become non-trivial in comparison to graphs. Although hypergraphs and partitioning problems over hypergraphs (including Minmax-Hypergraph-kk-Partition) were discussed as early as 1973 by Lawler [43], most of these problems still remain open. The powerful modeling capability of hyperedges has been useful in a variety of modern applications, which in turn, has led to a resurgence in the study of hypergraphs with recent works focusing on min-cuts, cut-sparsifiers, spectral-sparsifiers, etc. [42, 18, 24, 14, 23, 19, 35, 56, 6, 11, 7]. Our work adds to this rich and emerging theory of hypergraphs.

Secondly, hypergraph kk-partitioning problems are special cases of submodular kk-partitioning problems. In submodular kk-partitioning problems, the input is a finite ground set VV, a submodular function333A real-valued set function f:2Vf:2^{V}\rightarrow\mathbb{R} is submodular if f(A)+f(B)f(AB)+f(AB)f(A)+f(B)\geq f(A\cap B)+f(A\cup B) \forall A,BVA,B\subseteq V. f:2Vf:2^{V}\rightarrow\mathbb{R} provided by an evaluation oracle444An evaluation oracle for a set function ff over a ground set VV returns the value of f(S)f(S) given SVS\subseteq V. and a positive integer kk (e.g., k=2,3,4,k=2,3,4,\ldots). The goal is to partition the ground set VV into kk non-empty parts V1,V2,,VkV_{1},V_{2},\ldots,V_{k} so as to minimize an objective of interest. Two natural objectives are of interest: (1) In Minmax-Submod-kk-Partition, the objective is to minimize maxi=1kf(Vi)\max_{i=1}^{k}f(V_{i}) and (2) In Minsum-Submod-kk-Partition, the objective is to minimize i=1kf(Vi)\sum_{i=1}^{k}f(V_{i}). If the given submodular function is symmetric555A real-valued set function f:2Vf:2^{V}\rightarrow\mathbb{R} is symmetric if f(A)=f(VA)f(A)=f(V\setminus A) \forall AVA\subseteq V., then we denote the resulting problems as Minmax-SymSubmod-kk-Partition and Minsum-SymSubmod-kk-Partition respectively. Since the hypergraph cut function is symmetric submodular, it follows that Minmax-Hypergraph-kk-Partition is a special case of Minmax-SymSubmod-kk-Partition. Moreover, Hypergraph-kk-Cut is a special case of Minsum-Submod-kk-Partition (this reduction is slightly non-trivial with the submodular function in the reduction being asymmetric—e.g., see [50] for the reduction). Queyranne claimed, in 1999, a polynomial-time algorithm for Minsum-SymSubmod-kk-Partition for every fixed kk [52], however the claim was retracted subsequently (see [27]). The complexity status of submodular kk-partitioning problems (for fixed k4k\geq 4) are open, so recent works have focused on hypergraph kk-partitioning problems as a stepping stone towards submodular kk-partitioning [61, 60, 50, 27, 11, 12, 7]. Our work contributes to this stepping stone by advancing the state of the art in hypergraph kk-partitioning problems. We emphasize that the complexity status of two other variants of hypergraph kk-partitioning problems which are also special cases of Minsum-Submod-kk-Partition are still open (see [61, 60, 50] for these variants).

Thirdly, counting and enumeration of optimum solutions for graph kk-partitioning problems are fundamental to graph theory and extremal combinatorics. They have found farther reaching applications than initially envisioned. We discuss some of the results and applications for k=2k=2 and k>2k>2 now. For k=2k=2 in connected graphs, it is well-known that the number of min-cuts and the number of α\alpha-approximate min-cuts are at most (n2)\binom{n}{2} and O(n2α)O(n^{2\alpha}) respectively, and they can all be enumerated in polynomial time for constant α\alpha. These combinatorial results have been the crucial ingredients of several algorithmic and representation results in graphs. On the algorithmic front, these results enable fast randomized construction of graph skeletons which, in turn, plays a crucial role in fast algorithms to solve graph min-cut [37]. On the representation front, counting results form the backbone of cut sparsifiers which in turn have found applications in sketching and streaming [2, 3, 4, 42]. A polygon representation of the family of 6/56/5-approximate min-cuts in graphs was given by Benczur and Goemans in 1997 (see [8, 9, 10])—this representation was used in the recent groundbreaking (3/2ϵ)(3/2-\epsilon)-approximation for metric TSP [39]. On the approximation front, in addition to the (3/2ϵ)(3/2-\epsilon)-approximation for metric TSP [39], counting results also led to the recent 1.51.5-approximation for path TSP [59]. For k>2k>2, we note that fast algorithms for Graph-kk-Cut have been of interest since they help in generating cutting planes while solving TSP [20, 5]. A recent series of works aimed towards improving the bounds on the number of optimum solutions for Graph-kk-Cut culminated in a drastic improvement in the run-time to solve Graph-kk-Cut [31, 32, 28]. Given the status of counting and enumeration results for kk-partitioning in graphs and their algorithmic and representation implications that were discovered subsequently, we believe that a similar understanding in hypergraphs could serve as an important ingredient in the algorithmic and representation theory of hypergraphs.

The Enumeration Problem. There is a fundamental structural distinction between hypergraphs and graphs that becomes apparent while enumerating optimum solutions to kk-partitioning problems. In connected graphs, the number of optimum kk-partitions for Graph-kk-Cut and for Minmax-Graph-kk-Partition are nO(k)n^{O(k)} and nO(k2)n^{O(k^{2})} respectively and they can all be enumerated in polynomial time, where nn is the number of vertices in the input graph [38, 57, 17, 32, 28, 13]. In contrast, a connected hypergraph could have exponentially many optimum kk-partitions for both Minmax-Hypergraph-kk-Partition and Hypergraph-kk-Cut even for k=2k=2—e.g., consider the hypergraph with a single hyperedge containing all vertices; we will denote this as the spanning-hyperedge-example. Hence, enumerating all optimum kk-partitions for hypergraph kk-partitioning problems in polynomial time is impossible. Instead, our goal in the enumeration problems is to enumerate kk-cut-sets corresponding to optimum kk-partitions. We will call a subset FEF\subseteq E of hyperedges to be a kk-cut-set if there exists a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) such that F=δ(V1,,Vk)F=\delta(V_{1},\ldots,V_{k}); we will call a 22-cut-set as a cut-set. In the enumeration problems that we will consider, the input consists of a hypergraph G=(V,E)G=(V,E) with positive hyperedge-costs c:E+c:E\rightarrow\mathbb{R}_{+} and a fixed positive integer kk (e.g., k=2,3,4,k=2,3,4,\ldots).

  1. 1.

    For an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Minmax-Hypergraph-kk-Partition in (G,c)(G,c), we will denote δ(V1,,Vk)\delta(V_{1},\ldots,V_{k}) as a minmax-kk-cut-set. In Enum-MinMax-Hypergraph-kk-Partition, the goal is to enumerate all minmax-kk-cut-sets.

  2. 2.

    For an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Hypergraph-kk-Cut in (G,c)(G,c), we will denote δ(V1,,Vk)\delta(V_{1},\ldots,V_{k}) as a min-kk-cut-set. In Enum-Hypergraph-kk-Cut, the goal is to enumerate all min-kk-cut-sets.

We observe that in the spanning-hyperedge-example, although the number of optimum kk-partitions for Minmax-Hypergraph-kk-Partition (as well as Hypergraph-kk-Cut) is exponential, the number of minmax-kk-cut-sets (as well as min-kk-cut-sets) is only one.

1.1 Results

In contrast to graphs, whose representation size is the number of edges, the representation size of a hypergraph G=(V,E)G=(V,E) is p:=eE|e|p:=\sum_{e\in E}|e|. Throughout, our algorithmic discussion will focus on the case of fixed kk (e.g., k=2,3,4,k=2,3,4,\ldots).

There are no prior results regarding Enum-MinMax-Hypergraph-kk-Partition in the literature. We recall the status of Minmax-Hypergraph-kk-Partition. As mentioned earlier, Minmax-Hypergraph-kk-Partition was discussed as early as 1973 by Lawler [43] with its complexity status being open until recently. We note that the objective here could be viewed as aiming to find a fair kk-partition, i.e., a kk-partition where no part pays too much in cut value. Motivated by this connection to fairness, Chandrasekaran and Chekuri (2021) [12] studied the more general problem of Minmax-SymSubmod-kk-Partition. They gave the first (deterministic) polynomial-time algorithm to solve Minmax-SymSubmod-kk-Partition and as a consequence, obtained the first polynomial-time algorithm to solve Minmax-Hypergraph-kk-Partition. Their algorithm does not show any bound on the number of minmax-kk-cut-sets since it solves the more general problem of Minmax-SymSubmod-kk-Partition for which the number of optimum kk-partitions can indeed be exponential (recall the spanning-hyperedge-example). Focusing on hypergraphs raises the question of whether all kk-cut-sets corresponding to optimum solutions can be enumerated efficiently for every fixed kk. We answer this question affirmatively by giving the first polynomial-time algorithm for Enum-MinMax-Hypergraph-kk-Partition.

Theorem 1.1.

There exists a deterministic algorithm to solve Enum-MinMax-Hypergraph-kk-Partition that runs in time O(kn4k22k+1p)O(kn^{4k^{2}-2k+1}p), where nn is the number of vertices and pp is the size of the input hypergraph. Moreover, the number of minmax-kk-cut-sets in a nn-vertex hypergraph is O(n4k22k)O(n^{4k^{2}-2k}).

We emphasize that our result shows the first polynomial bound on the number of minmax-kk-cut-sets in hypergraphs for every fixed kk (in addition to a polynomial-time algorithm to enumerate all of them for every fixed kk). Our upper bound of nO(k2)n^{O(k^{2})} on the number of minmax-kk-cut-sets is tight—there exist nn-vertex connected graphs for which the number of minmax-kk-cut-sets is nΘ(k2)n^{\Theta(k^{2})} (see Section 6).

Next, we briefly recall the status of Hypergraph-kk-Cut and Enum-Hypergraph-kk-Cut. Hypergraph-kk-Cut was shown to be solvable in randomized polynomial time only recently [14, 23]; the randomized algorithms also showed that the number of min-kk-cut-sets is O(n2k2)O(n^{2k-2}) and they can all be enumerated in randomized polynomial time. A subsequent deterministic algorithm was designed to solve Hypergraph-kk-Cut in time nO(k)pn^{O(k)}p by Chandrasekaran and Chekuri [11]. Chandrasekaran and Chekuri’s techniques were extended to design the first deterministic polynomial-time algorithm to solve Enum-Hypergraph-kk-Cut in [7]. The algorithm for Enum-Hypergraph-kk-Cut given in [7] runs in time nO(k2)pn^{O(k^{2})}p. We note that this run-time has a quadratic dependence on kk in the exponent of nn although the number of min-kk-cut-sets has only linear dependence on kk in the exponent of nn (since it is O(n2k2)O(n^{2k-2})). So, an open question that remained from [7] is whether one can obtain an nO(k)pn^{O(k)}p-time deterministic algorithm for Enum-Hypergraph-kk-Cut. We resolve this question affirmatively.

Theorem 1.2.

There exists a deterministic algorithm to solve Enum-Hypergraph-kk-Cut that runs in time O(n16k25p)O(n^{16k-25}p), where nn is the number of vertices and pp is the size of the input hypergraph.

Our algorithms for both Enum-MinMax-Hypergraph-kk-Partition and Enum-Hypergraph-kk-Cut are based on a structural theorem that allows for efficient recovery of optimum kk-cut-sets via minimum (s,t)(s,t)-terminal cuts (see Theorem 1.4). Our structural theorem builds on structural theorems that have appeared in previous works on Minmax-Hypergraph-kk-Partition and Hypergraph-kk-Cut [11, 12, 7]. Our structural theorem may appear to be natural/incremental in comparison to ones that appeared in previous works, but formalizing the theorem and proving it is a significant part of our contribution. Moreover, our single structural theorem is strong enough to enable efficient algorithms for both Enum-Hypergraph-kk-Cut as well as Enum-MinMax-Hypergraph-kk-Partition in contrast to previously known structural theorems. In this sense, our structural theorem can be viewed as a strong and unifying generalization of structural theorems that have appeared in previous works. We believe that our structural theorem will be of independent interest in the theory of cuts and partitioning in hypergraphs (as well as graphs).

1.2 Technical overview and main structural result

We focus on the unit-cost variant of Enum-Hypergraph-kk-Cut and Enum-MinMax-Hypergraph-kk-Partition in the rest of this work for the sake of notational simplicity—i.e., the cost of every hyperedge is 11. Throughout, we will allow multigraphs and hence, this is without loss of generality. Our algorithms extend in a straightforward manner to arbitrary hyperedge costs. They rely only on minimum (s,t)(s,t)-terminal cut computations and hence, they are strongly polynomial-time algorithms.

Notation and background. Let G=(V,E)G=(V,E) be a hypergraph. Throughout this work, nn will denote the number of vertices in GG, mm will denote the number of hyperedges in GG, and p:=eE|e|p:=\sum_{e\in E}|e| will denote the representation size of GG. We will denote a partition of the vertex set into hh non-empty parts by an ordered tuple (V1,,Vh)(V_{1},\ldots,V_{h}) and call such an ordered tuple as an hh-partition. For a partition 𝒫=(V1,V2,,Vh)\mathcal{P}=(V_{1},V_{2},\ldots,V_{h}), we will say that a hyperedge ee crosses the partition 𝒫\mathcal{P} if it intersects at least two parts of the partition. We will refer to a 22-partition as a cut. For a non-empty proper subset UU of vertices, we will use U¯\overline{U} to denote VUV\setminus U, δ(U)\delta(U) to denote the set of hyperedges crossing the cut (U,U¯)(U,\overline{U}), and d(U):=|δ(U)|d(U):=|\delta(U)| to denote the cut value of UU. We observe that δ(U)=δ(U¯)\delta(U)=\delta(\overline{U}), so we will use d(U)d(U) to denote the value of the cut (U,U¯)(U,\overline{U}). More generally, given a partition 𝒫=(V1,V2,,Vh)\mathcal{P}=(V_{1},V_{2},\ldots,V_{h}), we denote the set of hyperedges crossing the partition by δ(V1,V2,,Vh)\delta(V_{1},V_{2},\ldots,V_{h}) (also by δ(𝒫)\delta(\mathcal{P}) for brevity) and the number of hyperedges crossing the partition by |δ(V1,V2,,Vh)||\delta(V_{1},V_{2},\ldots,V_{h})|. We will denote the optimum value of Minmax-Hypergraph-kk-Partition and Hypergraph-kk-Cut respectively by

OPTminmax-k-partition\displaystyle OPT_{\text{minmax-}k\text{-partition}} :=min{maxi[k]|δ(Vi)|:(V1,,Vk) is a k-partition of V} and\displaystyle:=\min\left\{\max_{i\in[k]}|\delta(V_{i})|:(V_{1},\ldots,V_{k})\text{ is a $k$-partition of $V$}\right\}\text{ and}
OPTk-cut\displaystyle OPT_{k\text{-cut}} :=min{|δ(V1,,Vk)|:(V1,,Vk) is a k-partition of V}.\displaystyle:=\min\left\{\left|\delta(V_{1},\ldots,V_{k})\right|:(V_{1},\ldots,V_{k})\text{ is a $k$-partition of $V$}\right\}.

A key algorithmic tool will be the use of fixed-terminal cuts. Let SS, TT be disjoint non-empty subsets of vertices. A 22-partition (U,U¯)(U,\overline{U}) is an (S,T)(S,T)-terminal cut if SUVTS\subseteq U\subseteq V\setminus T. Here, the set UU is known as the source set and the set U¯\overline{U} is known as the sink set. A minimum-valued (S,T)(S,T)-terminal cut is known as a minimum (S,T)(S,T)-terminal cut. Since there could be multiple minimum (S,T)(S,T)-terminal cuts, we will be interested in source minimal minimum (S,T)(S,T)-terminal cuts. For every pair of disjoint non-empty subsets SS and TT of vertices, there exists a unique source minimal minimum (S,T)(S,T)-terminal cut and it can be found in deterministic polynomial time via standard maxflow algorithms. In particular, the source minimal minimum (S,T)(S,T)-terminal cut can be found in time O(np)O(np) [18].

Our technique to enumerate all minmax-kk-cut-sets and all min-kk-cut-sets will build on the approaches of Chandrasekaran and Chekuri for Hypergraph-kk-Cut and Minmax-SymSubmod-kk-Partition [11, 12, 7]. We need the following structural theorem that was shown in [7].

Theorem 1.3.

[7] Let G=(V,E)G=(V,E) be a hypergraph and let OPTk-cutOPT_{k\text{-cut}} be the optimum value of Hypergraph-kk-Cut in GG for some integer k2k\geq 2. Suppose (U,U¯)(U,\overline{U}) is a 22-partition of VV with d(U)<OPTk-cutd(U)<OPT_{k\text{-cut}}. Then, for every pair of vertices sUs\in U and tU¯t\in\overline{U}, there exist subsets SU{s}S\subseteq U\setminus\{s\} and TU¯{t}T\subseteq\overline{U}\setminus\{t\} with |S|2k3|S|\leq 2k-3 and |T|2k3|T|\leq 2k-3 such that (U,U¯)(U,\overline{U}) is the unique minimum (S{s},T{t})(S\cup\{s\},T\cup\{t\})-terminal cut in GG.

Enum-Hypergraph-kk-Cut. We first focus on Enum-Hypergraph-kk-Cut. We note that Theorem 1.3 will allow us to recover those parts ViV_{i} of an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for which d(Vi)<OPTk-cutd(V_{i})<OPT_{k\text{-cut}}. However, recall that our goal is not to recover all optimum kk-partitions for Hypergraph-kk-Cut, but rather to recover all min-kk-cut-sets (i.e., not to recover the parts of every optimum kk-partition, but rather only to recover the kk-cut-set of every optimum kk-partition). The previous work [7] that designed an nO(k2)pn^{O(k^{2})}p-time deterministic enumeration algorithm achieved this by proving the following structural result: suppose (V1,,Vk)(V_{1},\ldots,V_{k}) is an optimum kk-partition for Hypergraph-kk-Cut for which d(V1)=OPTk-cutd(V_{1})=OPT_{k\text{-cut}}. Then, they showed that for every subset TV1¯T\subseteq\overline{V_{1}} satisfying TVjT\cap V_{j}\neq\emptyset for all j{2,,k}j\in\{2,\ldots,k\}, there exists a subset SV1S\subseteq V_{1} with |S|2k|S|\leq 2k such that the source minimal minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A}) satisfies δ(A)=δ(V1)\delta(A)=\delta(V_{1}). This structural theorem in conjunction with Theorem 1.3 allows one to enumerate a candidate family \mathcal{F} of nO(k2)n^{O(k^{2})} subsets of hyperedges such that every min-kk-cut-set is present in the family. The drawback of their structural theorem is that it is driven towards recovering the cut-set δ(Vi)\delta(V_{i}) of every part ViV_{i} of every optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}). Hence, their algorithmic approach ends up with a run-time of nO(k2)pn^{O(k^{2})}p. In order to improve the run-time, we prove a stronger result: we show that for an arbitrary cut (U,U¯)(U,\overline{U}) with cut value OPTk-cutOPT_{k\text{-cut}} (as opposed to only those sets ViV_{i} of an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k})), its cut-set δ(U)\delta(U) can be recovered as the cut-set of any minimum (S,T)(S,T)-terminal cut for some SS and TT of small size. The following is the main structural theorem of this work.

Theorem 1.4.

Let G=(V,E)G=(V,E) be a hypergraph and let OPTk-cutOPT_{k\text{-cut}} be the optimum value of Hypergraph-kk-Cut in GG for some integer k2k\geq 2. Suppose (U,U¯)(U,\overline{U}) is a 22-partition of VV with d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}}. Then, there exist sets SUS\subseteq U, TU¯T\subseteq\overline{U} with |S|2k1|S|\leq 2k-1 and |T|2k1|T|\leq 2k-1 such that every minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A}) satisfies δ(A)=δ(U)\delta(A)=\delta(U).

We encourage the reader to compare and contrast Theorems 1.3 and 1.4. The former helps to recover cuts whose cut value is strictly smaller than OPTk-cutOPT_{k\text{-cut}} while the latter helps to recover cut-sets whose size is equal to OPTk-cutOPT_{k\text{-cut}}. So, the latter theorem is weaker since it only recovers cut-sets, but we emphasize that this is the best possible that one can hope to do (as seen from the spanning-hyperedge-example). However, proving the latter theorem requires us to work with cut-sets (as opposed to cuts) which is a technical barrier to overcome. Indeed, our proof of Theorem 1.4 deviates significantly from the proof of Theorem 1.3 since we have to work with cut-sets. Our proof also deviates from the structural result in [7] that was mentioned in the paragraph above Theorem 1.4 since our result is stronger than their result—our result helps to recover the cut-set δ(U)\delta(U) of an arbitrary cut (U,U¯)(U,\overline{U}) whose cut value is d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}} while their result helps only to recover the cut-set δ(Vi)\delta(V_{i}) of a part ViV_{i} of an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Hypergraph-kk-Cut whose cut value is d(Vi)=OPTk-cutd(V_{i})=OPT_{k\text{-cut}}; moreover, their proof technique crucially relies on a containment property with respect to the part ViV_{i}, whereas under the hypothesis of our structural theorem, the containment property fails with respect to the set UU and consequently, our proof technique differs from theirs.

Theorems 1.3 and 1.4 lead to a deterministic nO(k)n^{O(k)}-time algorithm to enumerate all min-kk-cut-sets via a divide-and-conquer approach. We describe this algorithm now: For each pair (S,T)(S,T) of disjoint subsets of vertices SS and TT with |S||S|, |T|2k1|T|\leq 2k-1, compute the source minimal minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A}); (i) if Gδ(A)G-\delta(A) has at least kk connected components, then add δ(A)\delta(A) to the candidate family \mathcal{F}; (ii) otherwise, add the set AA to a collection 𝒞\mathcal{C}. We note that the sizes of the family \mathcal{F} and the collection 𝒞\mathcal{C} are O(n4k2)O(n^{4k-2}). Next, for each subset AA in the collection 𝒞\mathcal{C}, recursively enumerate all min-k/2k/2-cut-sets in the subhypergraphs induced by AA and A¯\overline{A} respectively666Subhypergraph G[A]G[A] has vertex set AA and contains all hyperedges of GG which are entirely contained within AA.—denoted G[A]G[A] and G[A¯]G[\overline{A}] respectively—and add δ(A)F1F2\delta(A)\cup F_{1}\cup F_{2} to the family \mathcal{F} for each F1F_{1} and F2F_{2} being min-k/2k/2-cut-set in G[A]G[A] and G[A¯]G[\overline{A}] respectively. Finally, return the subfamily of kk-cut-sets from the family \mathcal{F} that are of smallest size.

We sketch the correctness analysis of the above approach: let F=δ(V1,,Vk)F=\delta(V_{1},\ldots,V_{k}) be a min-kk-cut-set with (V1,,Vk)(V_{1},\ldots,V_{k}) being an optimum kk-partition for Hypergraph-kk-Cut. We will show that the family \mathcal{F} contains FF. Let U:=i=1k/2ViU:=\cup_{i=1}^{k/2}V_{i}. We note that δ(U)F\delta(U)\subseteq F. We have two possibilities: (1) Say d(U)=|F|d(U)=|F|. Then, d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}}. Consequently, by Theorem 1.4, the min-kk-cut-set FF will be added to the family \mathcal{F} by step (i). (2) Say d(U)<|F|d(U)<|F|. Then, by Theorem 1.3, the set U=i=1k/2ViU=\cup_{i=1}^{k/2}V_{i} will be added to the collection 𝒞\mathcal{C} by step (ii); moreover, F1:=FE(G[U])F_{1}:=F\cap E(G[U]) and F2:=FE(G[U¯])F_{2}:=F\cap E(G[\overline{U}]) are min-k/2k/2-cut-sets in G[U]G[U] and G[U¯]G[\overline{U}] respectively and they would have been enumerated by recursion, and hence, the set δ(U)F1F2=F\delta(U)\cup F_{1}\cup F_{2}=F will be added to the family \mathcal{F}. The size of the family \mathcal{F} can be shown to be nO(klogk)n^{O(k\log{k})} and the run-time is nO(klogk)pn^{O(k\log{k})}p (see Theorem 4.1). Using the known fact that the number of min-kk-cut-sets in a nn-vertex hypergraph is O(n2k2)O(n^{2k-2}), we can improve the run-time analysis of this approach to nO(k)pn^{O(k)}p (see Lemma 4.1).

Enum-MinMax-Hypergraph-kk-Partition. Next, we focus on Enum-MinMax-Hypergraph-kk-Partition. There is a fundamental technical issue in enumerating minmax-kk-cut-sets as opposed to min-kk-cut-sets. We highlight this technical issue now. Suppose we find an optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Minmax-Hypergraph-kk-Partition (say via Chandrasekaran and Chekuri’s algorithm [12]) and store only the minmax-kk-cut-set F=δ(V1,,Vk)F=\delta(V_{1},\ldots,V_{k}) but forget to store the partition (V1,,Vk)(V_{1},\ldots,V_{k}); now, by knowing a minmax-kk-cut-set FF, can we recover some optimum kk-partition for Minmax-Hypergraph-kk-Partition (not necessarily (V1,,Vk)(V_{1},\ldots,V_{k}))? Or by knowing a minmax-kk-cut-set FF, is it even possible to find the value OPTminmax-k-partitionOPT_{\text{minmax-}k\text{-partition}} without solving Minmax-Hypergraph-kk-Partition from scratch again—i.e., is there an advantage to knowing a minmax-kk-cut-set in order to solve Minmax-Hypergraph-kk-Partition? We are not aware of such an advantage. This is in stark contrast to Hypergraph-kk-Cut where knowing a min-kk-cut-set enables a linear-time solution to Hypergraph-kk-Cut 777Suppose we know a min-kk-cut-set FF. Then consider the connected components Q1,,QtQ_{1},\ldots,Q_{t} in GFG-F and create a partition (P1,,Pk)(P_{1},\ldots,P_{k}) by taking Pi=QiP_{i}=Q_{i} for every i[k1]i\in[k-1] and Pk=j=ktQjP_{k}=\cup_{j=k}^{t}Q_{j}; such a kk-partition (P1,,Pk)(P_{1},\ldots,P_{k}) will be an optimum kk-partition for Hypergraph-kk-Cut..

Why is this issue significant while solving Enum-MinMax-Hypergraph-kk-Partition? We recall that in our approach for Enum-Hypergraph-kk-Cut, the algorithm computed a polynomial-sized family \mathcal{F} containing all min-kk-cut-sets and returned the ones with smallest size—the smallest size ones will exactly be min-kk-cut-sets. It is unclear if a similar approach could work for enumerating minmax-kk-cut-sets: suppose we do have an algorithm to enumerate a polynomial-sized family \mathcal{F} containing all minmax-kk-cut-sets; now, in order to return all minmax-kk-cut-sets (which is a subfamily of \mathcal{F}), note that we need to identify them among the ones in the family \mathcal{F}—i.e., we need to verify if a given subset FF\in\mathcal{F} of hyperedges is a minmax-kk-cut-set; this verification problem is closely related to the question mentioned in the previous paragraph. We do not know how to address this verification problem directly. So, our algorithmic approach for Enum-MinMax-Hypergraph-kk-Partition has to overcome this technical issue.

Our ingredient to overcome this technical issue is to enumerate representatives for minmax-kk-cut-sets. For a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) and disjoint subsets U1,,UkVU_{1},\ldots,U_{k}\subseteq V, we will call the kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) to be a kk-cut-set representative of (V1,,Vk)(V_{1},\ldots,V_{k}) if UiViU_{i}\subseteq V_{i} and δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}) for all i[k]i\in[k]. We note that a fixed kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) could have several kk-cut-set representatives and a fixed kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) could be the kk-cut-set representative of several kk-partitions. Yet, it is possible to efficiently verify if a given kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative (Theorem 5.1). Moreover, knowing a kk-cut-set representative (U1,,Uk)(U_{1},\ldots,U_{k}) of a kk-partition (V1,V2,,Vk)(V_{1},V_{2},\ldots,V_{k}) allows one to recover the kk-cut-set F:=δ(V1,,Vk)F:=\delta(V_{1},\ldots,V_{k}) since F=i=1kδ(Ui)F=\cup_{i=1}^{k}\delta(U_{i}). Thus, in order to enumerate all minmax-kk-cut-sets, it suffices to enumerate kk-cut-set representatives of all optimum kk-partitions for Minmax-Hypergraph-kk-Partition. At this point, the astute reader may wonder if there exists a polynomial-sized family of kk-cut-set representatives of all optimum kk-partitions for Minmax-Hypergraph-kk-Partition given that the number of optimum kk-partitions for Minmax-Hypergraph-kk-Partition could be exponential. For example, is there a polynomial-sized family of kk-cut-set representatives of all optimum kk-partitions for Minmax-Hypergraph-kk-Partition in the spanning-hyperedge-example? Indeed, in the spanning-hyperedge-example, even though the number of optimum kk-partitions for Minmax-Hypergraph-kk-Partition is exponential, there exists a (k!(nk))(k!\binom{n}{k})-sized family of kk-cut-set representatives of all optimum kk-partitions: consider the family {({v1},,{vk}):v1,,vkV,vivjdistinct i,j[k]}\{(\{v_{1}\},\ldots,\{v_{k}\}):v_{1},\ldots,v_{k}\in V,v_{i}\neq v_{j}\ \forall\ \text{distinct }i,j\in[k]\}.

It turns out that Theorems 1.3 and 1.4 are strong enough to enable efficient enumeration of kk-cut-set representatives of all optimum kk-partitions for Minmax-Hypergraph-kk-Partition. We describe the algorithm to achieve this: For each pair (S,T)(S,T) of disjoint subsets of vertices with |S||S|, |T|2k1|T|\leq 2k-1, compute the source minimal minimum (S,T)(S,T)-terminal cut (U,U¯)(U,\overline{U}) and add UU to a candidate collection 𝒞\mathcal{C}. We note that the size of the collection 𝒞\mathcal{C} is O(n4k2)O(n^{4k-2}). Next, for each kk-tuple (U1,,Uk)𝒞k(U_{1},\ldots,U_{k})\in\mathcal{C}^{k}, verify if (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative (using Theorem 5.1) and if so, then add the kk-tuple to the candidate family 𝒟\mathcal{D}. Finally, return argmin{maxi=1kd(Ui):(U1,,Uk)𝒟}\arg\min\{\max_{i=1}^{k}d(U_{i}):(U_{1},\ldots,U_{k})\in\mathcal{D}\}, i.e., prune and return the subfamily of kk-cut-set representatives (U1,,Uk)(U_{1},\ldots,U_{k}) from the family 𝒟\mathcal{D} that have minimum maxi=1kd(Ui)\max_{i=1}^{k}d(U_{i}).

We note that the size of the family 𝒟\mathcal{D} is nO(k2)n^{O(k^{2})} and consequently, the run-time is nO(k2)pn^{O(k^{2})}p. We sketch the correctness analysis of the above approach: let (V1,,Vk)(V_{1},\ldots,V_{k}) be an optimum kk-partition for Minmax-Hypergraph-kk-Partition. We will show that the family 𝒟\mathcal{D} contains a kk-cut-set representative of (V1,,Vk)(V_{1},\ldots,V_{k}). By noting that OPTminmax-k-partitionOPTk-cutOPT_{\text{minmax-}k\text{-partition}}\leq OPT_{k\text{-cut}} and by Theorems 1.3 and 1.4, for every i[k]i\in[k], we have a set UiU_{i} in the collection 𝒞\mathcal{C} with UiViU_{i}\subseteq V_{i} and δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}). Hence, the kk-tuple (U1,,Uk)𝒞k(U_{1},\ldots,U_{k})\in\mathcal{C}^{k} is a kk-cut-set representative and it will be added to the family 𝒟\mathcal{D}. The final pruning step will not remove (U1,,Uk)(U_{1},\ldots,U_{k}) from the family 𝒟\mathcal{D} and hence, it will be in the subfamily returned by the algorithm.

Significance of our technique. As mentioned earlier, our techniques build on the structural theorems that appeared in previous works [11, 12, 7]. The main technical novelty of our contribution lies in Theorem 1.4 which can be viewed as the culmination of structural theorems developed in those previous works. We also emphasize that using minimum (s,t)(s,t)-terminal cuts to solve global partitioning problems is not a new technique per se (e.g., minimum (s,t)(s,t)-terminal cut is the first and most natural approach to solve global minimum cut). This technique of using minimum (s,t)(s,t)-terminal cuts to solve global partitioning problems has a rich variety of applications in combinatorial optimization: e.g., (1) it was used to design the first efficient algorithm for Graph-kk-Cut for fixed kk [26], (2) it was used to design efficient algorithms for certain constrained submodular minimization problems [25, 49], and (3) more recently, it was used to design fast algorithms for global minimum cut in graphs as well as to obtain fast Gomory-Hu trees in unweighted graphs [44, 1]. The applicability of this technique relies on identifying and proving appropriate structural results. Our Theorem 1.4 is such a structural result. The merit of the structural result lies in its ability to solve two different enumeration problems in hypergraph kk-partitioning which was not possible via structural theorems that were developed before. Moreover, it leads to the first polynomial bound on the number of minmax-kk-cut-sets in hypergraphs for every fixed kk.

Organization. We discuss related work in Section 1.3. In Section 1.4, we recall properties of the hypergraph cut function. In Section 2, we prove a special case of Theorem 1.4. In Section 3, we use this special case to prove Theorem 1.4. In Section 4, we design an efficient algorithm for Enum-Hypergraph-kk-Cut and prove Theorem 1.2. In Section 5, we design an efficient algorithm for Enum-MinMax-Hypergraph-kk-Partition and prove Theorem 1.1. We present a lower bound example in Section 6. We conclude with an open question in Section 7.

1.3 Related work

We briefly discuss the status of the enumeration problems for k=2k=2 followed by the status for k2k\geq 2 in graphs and hypergraphs.

Enumeration problems for k=2k=2. For k=2k=2, both Enum-MinMax-Hypergraph-kk-Partition and Enum-Hypergraph-kk-Cut are equivalent to enumerating optimum solutions for global minimum cut in hypergraphs. For graphs that are connected, it is well-known that the number of minimum cuts and the number of α\alpha-approximate minimum cuts are at most (n2)\binom{n}{2} and O(n2α)O(n^{2\alpha}) respectively and they can all be enumerated in polynomial time for constant α\alpha [21, 36, 25, 48, 33, 17]. For connected hypergraphs, the number of minimum cuts can be exponential as seen from the spanning-hyperedge-example. However, recent results have shown that the number of minimum cut-sets in a hypergraph is at most (n2)\binom{n}{2} via several different techniques and they can all be enumerated in polynomial time [18, 24, 14, 23, 7]. On the other hand, there exist hypergraphs with exponential number of 22-approximate minimum cut-sets.888Consider the nn-vertex hypergraph G=(V,E)G=(V,E) obtained from the complete bipartite graph Kn/2,n/2=(LR,E)K_{n/2,n/2}=(L\cup R,E^{\prime}) by adding n2/4n^{2}/4 copies of two hyperedges e1e_{1} and e2e_{2}, where e1:=Le_{1}:=L and e2:=Re_{2}:=R.

Graph-kk-Cut and Enum-Graph-kk-Cut. When kk is part of input, Graph-kk-Cut is NP-hard [26] and admits a 2(11/k)2(1-1/k)-approximation [55, 54, 61, 30, 51]. Manurangsi [47] showed that there is no polynomial-time (2ϵ)(2-\epsilon)-approximation for any constant ϵ>0\epsilon>0 assuming the Small Set Expansion Hypothesis [53]. We note that Graph-kk-Cut is W[1]W[1]-hard when parameterized by kk [22] and admits a fixed-parameter approximation scheme when parameterized by kk [29, 30, 41, 45], and is fixed-parameter tractable when parameterized by kk and the solution size [40].

Graph-kk-Cut for fixed kk was shown to be polynomial-time solvable by Goldschmidt and Hochbaum [26]. Subsequently, Karger and Stein [38] gave a randomized polynomial-time algorithm whose analysis also showed that the number of optimum kk-partitions in a connected graph is O(n2k2)O(n^{2k-2}) and they can all be enumerated in polynomial time for every fixed kk (also see [34, 58, 57, 17]). The number of optimum kk-partitions has recently been improved to O(nk)O(n^{k}) for fixed kk thereby leading to a faster algorithm for Graph-kk-Cut for fixed kk [31, 32, 28].

Hypergraph-kk-Cut and Enum-Hypergraph-kk-Cut. When kk is part of input, Hypergraph-kk-Cut is at least as hard as the densest kk-subgraph problem [16]. Combined with results in [46], this implies that Hypergraph-kk-Cut is unlikely to have a sub-polynomial factor approximation ratio. Moreover, Hypergraph-kk-Cut is W[1]W[1]-hard even when parameterized by kk and the solution size (see [11]). These two hardness results illustrate that Hypergraph-kk-Cut differs significantly from Graph-kk-Cut in complexity.

Hypergraph-kk-Cut for fixed kk was recently shown to be polynomial-time solvable via a randomized algorithm [14, 23]. The analysis of the randomized algorithm also showed that the number of min-kk-cut-sets is O(n2k2)O(n^{2k-2}) and they can all be enumerated in randomized polynomial time. A deterministic polynomial-time algorithm was given by Chandrasekaran and Chekuri [11]. Subsequently, a deterministic polynomial-time algorithm for Enum-Hypergraph-kk-Cut for fixed kk was given by Beideman, Chandrasekaran, and Wang [7].

Minmax-Graph-kk-Partition and Enum-MinMax-Graph-kk-Partition. When kk is part of input, Minmax-Graph-kk-Partition is NP-hard [13] while its approximability is open—we do not yet know if it admits a constant factor approximation. When parameterized by kk, it is W[1]W[1]-hard and admits a fixed-parameter approximation scheme [13].

Minmax-Graph-kk-Partition for fixed kk is polynomial-time solvable via the following observation (see [13, 12]): in connected graphs, an optimum kk-partition for Minmax-Graph-kk-Partition is a kk-approximate solution to Graph-kk-Cut. The randomized algorithm of Karger and Stein implies that the number of kk-approximate solutions to Graph-kk-Cut is nO(k2)n^{O(k^{2})} and they can all be enumerated in polynomial time [38, 17, 32, 28]. These two facts together imply that Minmax-Graph-kk-Partition can be solved in time nO(k2)n^{O(k^{2})} and moreover, the number of optimum kk-partitions for Minmax-Graph-kk-Partition in a connected graph is nO(k2)n^{O(k^{2})} and they can all be enumerated in polynomial time for constant kk.

Minmax-Hypergraph-kk-Partition and Enum-MinMax-Hypergraph-kk-Partition. Minmax-Hypergraph-kk-Partition was discussed as early as 1973 by Lawler [43]. When kk is part of input, Minmax-Hypergraph-kk-Partition is at least as hard as the densest kk-subgraph problem (this follows from the reduction in [16] and was observed by [15]). For fixed kk, the approach for Minmax-Graph-kk-Partition described above does not extend to Minmax-Hypergraph-kk-Partition. This is because, the number of kk-approximate solutions to Hypergraph-kk-Cut can be exponential and hence, they cannot be enumerated efficiently (e.g., we have already seen that the number of 22-approximate minimum cut-sets in a hypergraph can be exponential). Chandrasekaran and Chekuri [12] gave a deterministic polynomial-time algorithm for the more general problem of Minmax-SymSubmod-kk-Partition for fixed kk which in turn, implies that Minmax-Hypergraph-kk-Partition is also solvable efficiently for fixed kk. Their algorithm finds an optimum kk-partition for Minmax-Hypergraph-kk-Partition and is not conducive to enumerate all minmax-kk-cut-sets. We emphasize that no polynomial bound on the number of minmax-kk-cut-sets for fixed kk was known prior to our work.

For a detailed discussion on other hypergraph kk-partitioning problems that are special cases of Minsum-Submod-kk-Partition, we refer the reader to [61, 60, 50].

1.4 Preliminaries

Let G=(V,E)G=(V,E) be a hypergraph. Throughout, we will follow the notation mentioned in the second paragraph of Section 1.2. For disjoint A,BVA,B\subseteq V, we define E(A,B):={eE:eAB,eA,eB}E(A,B):=\{e\in E:e\subseteq A\cup B,e\cap A\neq\emptyset,e\cap B\neq\emptyset\}, and E[A]:={eE:eA}E[A]:=\{e\in E:e\subseteq A\}. We will repeatedly rely on the fact that the hypergraph cut function d:2V+d:2^{V}\rightarrow\mathbb{R}_{+} is symmetric and submodular. We recall that a set function f:2Vf:2^{V}\rightarrow\mathbb{R} is symmetric if f(U)=f(U¯)f(U)=f(\overline{U}) for all subsets UVU\subseteq V and is submodular if f(A)+f(B)f(AB)+f(AB)f(A)+f(B)\geq f(A\cap B)+f(A\cup B) for all subsets A,BVA,B\subseteq V.

We will need the following partition uncrossing theorem that was proved in previous works on Hypergraph-kk-Cut and Enum-Hypergraph-kk-Cut (see Figure 1 for an illustration of the sets that appear in the statement of Theorem 1.5):

Theorem 1.5.

[11, 7] Let G=(V,E)G=(V,E) be a hypergraph, k2k\geq 2 be an integer and RUV\emptyset\neq R\subsetneq U\subsetneq V. Let S={u1,,up}URS=\{u_{1},\ldots,u_{p}\}\subseteq U\setminus R for p2k2p\geq 2k-2. Let (Ai¯,Ai)(\overline{A_{i}},A_{i}) be a minimum ((SR){ui},U¯)((S\cup R)\setminus\{u_{i}\},\overline{U})-terminal cut. Suppose that uiAi(j[p]{i}Aj)u_{i}\in A_{i}\setminus(\cup_{j\in[p]\setminus\{i\}}A_{j}) for every i[p]i\in[p]. Then, the following two hold:

  1. 1.

    There exists a kk-partition (P1,,Pk)(P_{1},\ldots,P_{k}) of VV with U¯Pk\overline{U}\subsetneq P_{k} such that

    |δ(P1,,Pk)|12min{d(Ai)+d(Aj):i,j[p],ij}.|\delta(P_{1},\ldots,P_{k})|\leq\frac{1}{2}\min\{d(A_{i})+d(A_{j}):i,j\in[p],i\neq j\}.
  2. 2.

    Moreover, if there exists a hyperedge eEe\in E such that ee intersects W:=1i<jp(AiAj)W:=\cup_{1\leq i<j\leq p}(A_{i}\cap A_{j}), ee intersects Z:=i[p]Ai¯Z:=\cap_{i\in[p]}\overline{A_{i}}, and ee is contained in WZW\cup Z, then the inequality in the previous conclusion is strict.

Refer to caption
Figure 1: Illustration of the sets that appear in the statement of Theorem 1.5.

2 A special case of Theorem 1.4

The following is the main theorem of this section. Theorem 2.1 implies Theorem 1.4 in the special case where the 22-partition (U,U¯)(U,\overline{U}) of interest to Theorem 1.4 is such that |U¯|2k1|\overline{U}|\leq 2k-1.

Theorem 2.1.

Let G=(V,E)G=(V,E) be a hypergraph and let OPTk-cutOPT_{k\text{-cut}} be the optimum value of Hypergraph-kk-Cut in GG for some integer k2k\geq 2. Suppose (U,U¯)(U,\overline{U}) is a 22-partition of VV with d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}}. Then, there exists a set SUS\subseteq U with |S|2k1|S|\leq 2k-1 such that every minimum (S,U¯)(S,\overline{U})-terminal cut (A,A¯)(A,\overline{A}) satisfies δ(A)=δ(U)\delta(A)=\delta(U).

Proof.

Consider the collection

𝒞:={QV:U¯Q,d(Q)d(U), and δ(Q)δ(U)}.\mathcal{C}:=\{Q\subseteq V\colon\ \overline{U}\subsetneq Q,\ d(Q)\leq d(U),\text{ and }\delta(Q)\neq\delta(U)\}.

Let SS be an inclusion-wise minimal subset of UU such that SQS\cap Q\neq\emptyset for all Q𝒞Q\in\mathcal{C}, i.e., the set SS is completely contained in UU and is a minimal transversal of the collection 𝒞\mathcal{C}. Proposition 2.1 and Lemma 2.1 complete the proof of Theorem 2.1 for this choice of SS. ∎

Proposition 2.1.

Every minimum (S,U¯)(S,\overline{U})-terminal cut (A,A¯)(A,\overline{A}) has δ(A)=δ(U)\delta(A)=\delta(U).

Proof.

Let (A,A¯)(A,\overline{A}) be a minimum (S,U¯)(S,\overline{U})-terminal cut. If A=UA=U, then we are done, so we may assume that AUA\neq U. This implies that SAS\subseteq A and U¯A¯\overline{U}\subsetneq\overline{A}. Since (U,U¯)(U,\overline{U}) is a (S,U¯)(S,\overline{U})-terminal cut, we have that d(A¯)=d(A)d(U)d(\overline{A})=d(A)\leq d(U). Since SS intersects every set in the collection 𝒞\mathcal{C}, we have that A¯𝒞\overline{A}\not\in\mathcal{C}. Hence, δ(A¯)=δ(U)\delta(\overline{A})=\delta(U), and by symmetry of cut-sets, δ(A)=δ(U)\delta(A)=\delta(U).

Lemma 2.1.

The size of the subset SS is at most 2k12k-1.

Proof.

For the sake of contradiction, suppose |S|2k|S|\geq 2k. Our proof strategy is to show the existence of a kk-partition with fewer crossing hyperedges than OPTk-cutOPT_{k\text{-cut}}, thus contradicting the definition of OPTk-cutOPT_{k\text{-cut}}. Let S:={u1,u2,,up}S:=\{u_{1},u_{2},\ldots,u_{p}\} for some p2kp\geq 2k. For notational convenience, we will use SuiS-u_{i} to denote S{ui}S\setminus\{u_{i}\} and SuiujS-u_{i}-u_{j} to denote S{ui,uj}S\setminus\{u_{i},u_{j}\}. For a subset XUX\subseteq U, we denote the source minimal minimum (X,U¯)(X,\overline{U})-terminal cut by (HX,HX¯)(H_{X},\overline{H_{X}}).

Our strategy to arrive at a kk-partition with fewer crossing hyperedges than OPTk-cutOPT_{k\text{-cut}} is to apply the second conclusion of Theorem 1.5. The next few claims will set us up to obtain sets that satisfy the hypothesis of Theorem 1.5.

Claim 2.1.

For every i[p]i\in[p], we have HSui¯𝒞\overline{H_{S-u_{i}}}\in\mathcal{C}.

Proof.

Let i[p]i\in[p]. Since SS is a minimal transversal of the collection 𝒞\mathcal{C}, there exists a set Bi𝒞B_{i}\in\mathcal{C} such that BiS={ui}B_{i}\cap S=\{u_{i}\}. Hence, (Bi¯,Bi)(\overline{B_{i}},B_{i}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut. Therefore,

d(HSui¯)d(Bi)d(U).d(\overline{H_{S-u_{i}}})\leq d(B_{i})\leq d(U).

Since (HSui,HSui¯)(H_{S-u_{i}},\overline{H_{S-u_{i}}}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut, we have that U¯HSui¯\overline{U}\subseteq\overline{H_{S-u_{i}}}. If d(HSui¯)<d(U)d(\overline{H_{S-u_{i}}})<d(U), then δ(HSui¯)δ(U)\delta(\overline{H_{S-u_{i}}})\neq\delta(U) and U¯HSui¯\overline{U}\subsetneq\overline{H_{S-u_{i}}}, and consequently, HSui¯𝒞\overline{H_{S-u_{i}}}\in\mathcal{C}. So, we will assume henceforth that d(HSui¯)=d(U)d(\overline{H_{S-u_{i}}})=d(U).

Since (HSuiBi¯,HSuiBi¯¯)(H_{S-u_{i}}\cap\overline{B_{i}},\overline{H_{S-u_{i}}\cap\overline{B_{i}}}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut, we have that

d(HSuiBi¯)d(HSui).d(H_{S-u_{i}}\cap\overline{B_{i}})\geq d(H_{S-u_{i}}).

Since (HSuiBi¯,HSuiBi¯¯)(H_{S-u_{i}}\cup\overline{B_{i}},\overline{H_{S-u_{i}}\cup\overline{B_{i}}}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut, we have that

d(HSuiBi¯)d(HSui).d(H_{S-u_{i}}\cup\overline{B_{i}})\geq d(H_{S-u_{i}}).

Therefore, by submodularity of the hypergraph cut function, we have that

2d(U)d(HSui)+d(Bi)d(HSuiBi¯)+d(HSuiBi¯)2d(HSui)=2d(U).2d(U)\geq d(H_{S-u_{i}})+d(B_{i})\geq d(H_{S-u_{i}}\cap\overline{B_{i}})+d(H_{S-u_{i}}\cup\overline{B_{i}})\geq 2d(H_{S-u_{i}})=2d(U). (1)

Therefore, all inequalities above should be equations. In particular, we have that d(HSuiBi¯)=d(U)=d(Bi)=d(HSui)d(H_{S-u_{i}}\cap\overline{B_{i}})=d(U)=d(B_{i})=d(H_{S-u_{i}}) and hence, (HSuiBi¯,HSuiBi¯¯)(H_{S-u_{i}}\cap\overline{B_{i}},\overline{H_{S-u_{i}}\cap\overline{B_{i}}}) is a minimum (Sui,U¯)(S-u_{i},\overline{U})-terminal cut. Since (HSui,HSui¯)(H_{S-u_{i}},\overline{H_{S-u_{i}}}) is a source minimal minimum (Sui,U¯)(S-u_{i},\overline{U})-terminal cut, we must have HSuiBi¯=HSuiH_{S-u_{i}}\cap\overline{B_{i}}=H_{S-u_{i}}, and thus HSuiBi¯H_{S-u_{i}}\subseteq\overline{B_{i}}. Therefore, BiHSui¯B_{i}\subseteq\overline{H_{S-u_{i}}}. Since Bi𝒞B_{i}\in\mathcal{C}, we have δ(Bi)δ(U)\delta(B_{i})\neq\delta(U). However, d(Bi)=d(U)d(B_{i})=d(U). Therefore δ(U)δ(Bi)\delta(U)\setminus\delta(B_{i})\neq\emptyset. Let eδ(U)δ(Bi)e\in\delta(U)\setminus\delta(B_{i}). Since eδ(U¯)e\in\delta(\overline{U}), but eδ(Bi)e\not\in\delta(B_{i}), and U¯Bi\overline{U}\subseteq B_{i}, we have that eBie\subseteq B_{i}, and thus eHSui¯e\subseteq\overline{H_{S-u_{i}}}. Thus, we conclude that δ(U)δ(HSui¯)\delta(U)\setminus\delta(\overline{H_{S-u_{i}}})\neq\emptyset, and so δ(HSui¯)δ(U)\delta(\overline{H_{S}-u_{i}})\neq\delta(U). This also implies that U¯HSui¯\overline{U}\subsetneq\overline{H_{S-u_{i}}}. Thus, HSui¯𝒞\overline{H_{S-u_{i}}}\in\mathcal{C}. ∎

Claim 2.1 implies the following Corollary.

Corollary 2.1.

For every i[p]i\in[p], we have uiHSui¯u_{i}\in\overline{H_{S-u_{i}}}.

Proof.

By definition, SuiHSuiS-u_{i}\subseteq H_{S-u_{i}}, so SHSui¯{ui}S\cap\overline{H_{S-u_{i}}}\subseteq\{u_{i}\}. By Claim 2.1 we have that HSui¯𝒞\overline{H_{S-u_{i}}}\in\mathcal{C}. Since SS is a transversal of the collection 𝒞\mathcal{C}, we have that SHSui¯S\cap\overline{H_{S-u_{i}}}\neq\emptyset. So, the vertex uiu_{i} must be in HSui¯\overline{H_{S-u_{i}}}. ∎

Having obtained Corollary 2.1, the next few claims (Claims 2.2, 2.3, 2.4, and 2.5) are similar to the claims appearing in the proof of a structural theorem that appeared in [7]. Since the hypothesis of the structural theorem that we are proving here is different from theirs, we present the complete proofs of these claims here. The way in which we use the claims will also be different from [7].

The following claim will help in showing that ui,ujHSuiuju_{i},u_{j}\not\in H_{S-u_{i}-u_{j}}, which in turn, will be used to show that the hypothesis of Theorem 1.5 is satisfied by suitably chosen sets.

Claim 2.2.

For every i,j[p]i,j\in[p], we have HSuiujHSuiH_{S-u_{i}-u_{j}}\subseteq H_{S-u_{i}}.

Proof.

We may assume that iji\neq j. We note that (HSuiujHSui,HSuiujHSui¯)(H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}},\overline{H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}}}) is a (Suiuj,U¯)(S-u_{i}-u_{j},\overline{U})-terminal cut. Therefore,

d(HSuiujHSui)d(HSuiuj).d(H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}})\geq d(H_{S-u_{i}-u_{j}}). (2)

Also, (HSuiujHSui,HSuiujHSui¯)(H_{S-u_{i}-u_{j}}\cup H_{S-u_{i}},\overline{H_{S-u_{i}-u_{j}}\cup H_{S-u_{i}}}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut. Therefore,

d(HSuiujHSui)d(HSui).d(H_{S-u_{i}-u_{j}}\cup H_{S-u_{i}})\geq d(H_{S-u_{i}}). (3)

By submodularity of the hypergraph cut function and inequalities (2) and (3), we have that

d(HSuiuj)+d(HSui)\displaystyle d(H_{S-u_{i}-u_{j}})+d(H_{S-u_{i}}) d(HSuiujHSui)+d(HSuiujHSui)\displaystyle\geq d(H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}})+d(H_{S-u_{i}-u_{j}}\cup H_{S-u_{i}})
d(HSuiuj)+d(HSui).\displaystyle\geq d(H_{S-u_{i}-u_{j}})+d(H_{S-u_{i}}).

Therefore, inequality (2) is an equation, and consequently, (HSuiujHSui,HSuiujHSui¯)(H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}},\overline{H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}}}) is a minimum (Suiuj,U¯)(S-u_{i}-u_{j},\overline{U})-terminal cut. If HSuiujHSuiH_{S-u_{i}-u_{j}}\setminus H_{S-u_{i}}\neq\emptyset, then
(HSuiujHSui,HSuiujHSui¯)(H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}},\overline{H_{S-u_{i}-u_{j}}\cap H_{S-u_{i}}}) contradicts source minimality of the minimum (Suiuj,U¯)(S-u_{i}-u_{j},\overline{U})-terminal cut (HSuiuj,HSuiuj¯)(H_{S-u_{i}-u_{j}},\overline{H_{S-u_{i}-u_{j}}}). Hence, HSuiujHSui=H_{S-u_{i}-u_{j}}\setminus H_{S-u_{i}}=\emptyset and consequently, HSuiujHSuiH_{S-u_{i}-u_{j}}\subseteq H_{S-u_{i}}. ∎

Claim 2.2 implies the following Corollary.

Corollary 2.2.

For every i,j[p]i,j\in[p], we have ui,ujHSuiuju_{i},u_{j}\not\in H_{S-u_{i}-u_{j}}.

Proof.

By Corollary 2.1, we have that uiHSuiu_{i}\not\in H_{S-u_{i}}. Therefore, ui,ujHSuiHSuju_{i},u_{j}\not\in H_{S-u_{i}}\cap H_{S-u_{j}}. By Claim 2.2, HSuiujHSuiH_{S-u_{i}-u_{j}}\subseteq H_{S-u_{i}} and HSuiujHSujH_{S-u_{i}-u_{j}}\subseteq H_{S-u_{j}}. Therefore, HSuiujHSuiHSujH_{S-u_{i}-u_{j}}\subseteq H_{S-u_{i}}\cap H_{S-u_{j}}, and thus, ui,ujHSuiuju_{i},u_{j}\not\in H_{S-u_{i}-u_{j}}. ∎

The next claim will help in controlling the cost of the kk-partition that we will obtain by applying Theorem 1.5.

Claim 2.3.

For every i,j[p]i,j\in[p], we have d(HSui)=d(U)=d(HSuiuj)d(H_{S-u_{i}})=d(U)=d(H_{S-u_{i}-u_{j}}).

Proof.

Let a,b[p]a,b\in[p]. We will show that d(HSua)=d(U)=d(HSuaub)d(H_{S-u_{a}})=d(U)=d(H_{S-u_{a}-u_{b}}). Since (U,U¯)(U,\overline{U}) is a (Sua,U¯)(S-u_{a},\overline{U})-terminal cut, we have that d(HSua)d(U)d(H_{S-u_{a}})\leq d(U). Since (HSua,HSua¯)(H_{S-u_{a}},\overline{H_{S-u_{a}}}) is a (Suaub,U¯)(S-u_{a}-u_{b},\overline{U})-terminal cut, we have that d(HSuaub)d(HSua)d(U)d(H_{S-u_{a}-u_{b}})\leq d(H_{S-u_{a}})\leq d(U). Thus, in order to prove the claim, it suffices to show that d(HSuaub)d(U)d(H_{S-u_{a}-u_{b}})\geq d(U).

Suppose for contradiction that d(HSuaub)<d(U)d(H_{S-u_{a}-u_{b}})<d(U). Let [p]{a,b}\ell\in[p]\setminus\{a,b\} be an arbitrary element (which exists since we have assumed that p2kp\geq 2k and k2k\geq 2). Let R:={u}R:=\{u_{\ell}\}, S:=SuauS^{\prime}:=S-u_{a}-u_{\ell} , and Ai:=HSuaui¯A_{i}:=\overline{H_{S-u_{a}-u_{i}}} for every i[p]{a,}i\in[p]\setminus\{a,\ell\}. We note that |S|=p22k2|S^{\prime}|=p-2\geq 2k-2. By definition, (Ai¯,Ai)(\overline{A_{i}},A_{i}) is a minimum (Suaui,U¯)(S-u_{a}-u_{i},\overline{U})-terminal cut for every i[p]{a,}i\in[p]\setminus\{a,\ell\}. Moreover, by Corollary 2.2, we have that uiAi(j[p]{a,i,}Aj)u_{i}\in A_{i}\setminus(\cup_{j\in[p]\setminus\{a,i,\ell\}}A_{j}) for every i[p]{a,}i\in[p]\setminus\{a,\ell\}. Hence, the sets UU, RR, and SS^{\prime}, and the cuts (Ai¯,Ai)(\overline{A_{i}},A_{i}) for i[p]{a,}i\in[p]\setminus\{a,\ell\} satisfy the conditions of Theorem 1.5. Therefore, by the first conclusion of Theorem 1.5, there exists a kk-partition 𝒫\mathcal{P}^{\prime} with

|δ(𝒫)|12min{d(HSuaui)+d(HSuauj):i,j[p]{a,}}.|\delta(\mathcal{P}^{\prime})|\leq\frac{1}{2}\min\{d(H_{S-u_{a}-u_{i}})+d(H_{S-u_{a}-u_{j}})\colon i,j\in[p]\setminus\{a,\ell\}\}.

By assumption, d(HSuaub)<d(U)d(H_{S-u_{a}-u_{b}})<d(U) and b[p]{a,}b\in[p]\setminus\{a,\ell\}, so min{d(HSuaui):i[p]{a,}}<d(U)\min\{d(H_{S-u_{a}-u_{i}})\colon i\in[p]\setminus\{a,\ell\}\}<d(U). Since (U,U¯)(U,\overline{U}) is a (Suaui,U¯)(S-u_{a}-u_{i},\overline{U})-terminal cut, we have that d(HSuaui)d(U)d(H_{S-u_{a}-u_{i}})\leq d(U) for every i[p]{a,}i\in[p]\setminus\{a,\ell\}. Therefore,

12min{d(HSuaui)+d(HSuauj):i,j[p]{a,}}<d(U)=OPTk-cut.\frac{1}{2}\min\{d(H_{S-u_{a}-u_{i}})+d(H_{S-u_{a}-u_{j}})\colon i,j\in[p]\setminus\{a,\ell\}\}<d(U)=OPT_{k\text{-cut}}.

Thus, we have that |δ(𝒫)|<OPTk-cut|\delta(\mathcal{P^{\prime}})|<OPT_{k\text{-cut}}, which is a contradiction. ∎

The next two claims will help in arguing the existence of a hyperedge satisfying the conditions of the second conclusion of Theorem 1.5. In particular, we will need Claim 2.5. The following claim will help in proving Claim 2.5.

Claim 2.4.

For every i,j[p]i,j\in[p], we have

d(HSuiHSuj)=d(U)=d(HSuiHSuj).d(H_{S-u_{i}}\cap H_{S-u_{j}})=d(U)=d(H_{S-u_{i}}\cup H_{S-u_{j}}).
Proof.

Since (HSuiHSuj,HSuiHSuj¯)(H_{S-u_{i}}\cap H_{S-u_{j}},\overline{H_{S-u_{i}}\cap H_{S-u_{j}}}) is a (Suiuj,U¯)(S-u_{i}-u_{j},\overline{U})-terminal cut, we have that d(HSuiHSuj)d(HSuiuj)d(H_{S-u_{i}}\cap H_{S-u_{j}})\geq d(H_{S-u_{i}-u_{j}}). By Claim 2.3, we have that d(HSuiuj)=d(U)=d(HSui)d(H_{S-u_{i}-u_{j}})=d(U)=d(H_{S-u_{i}}). Therefore,

d(HSuiHSuj)d(HSui).d(H_{S-u_{i}}\cap H_{S-u_{j}})\geq d(H_{S-u_{i}}). (4)

Since (HSuiHSuj,HSuiHSuj¯)(H_{S-u_{i}}\cup H_{S-u_{j}},\overline{H_{S-u_{i}}\cup H_{S-u_{j}}}) is a (Suj,U¯)(S-u_{j},\overline{U})-terminal cut, we have that

d(HSuiHSuj)d(HSuj).d(H_{S-u_{i}}\cup H_{S-u_{j}})\geq d(H_{S-u_{j}}). (5)

By submodularity of the hypergraph cut function and inequalities (4) and (5), we have that

d(HSui)+d(HSuj)d(HSuiHSuj)+d(HSuiHSuj)d(HSui)+d(HSuj).d(H_{S-u_{i}})+d(H_{S-u_{j}})\geq d(H_{S-u_{i}}\cap H_{S-u_{j}})+d(H_{S-u_{i}}\cup H_{S-u_{j}})\geq d(H_{S-u_{i}})+d(H_{S-u_{j}}).

Therefore, inequalities (4) and (5) are equations. Thus, by Claim 2.3, we have that

d(HSuiHSuj)=d(HSui)=d(U),d(H_{S-u_{i}}\cap H_{S-u_{j}})=d(H_{S-u_{i}})=d(U),

and

d(HSuiHSuj)=d(HSuj)=d(U).d(H_{S-u_{i}}\cup H_{S-u_{j}})=d(H_{S-u_{j}})=d(U).

Claim 2.5.

For every i,j,[p]i,j,\ell\in[p] with iji\neq j, we have HSuHSuiHSujH_{S-u_{\ell}}\subseteq H_{S-u_{i}}\cup H_{S-u_{j}}.

Proof.

If =i\ell=i or =j\ell=j the claim is immediate. Thus, we assume that {i,j}\ell\not\in\{i,j\}. Let Q:=HSu(HSuiHSuj)Q:=H_{S-u_{\ell}}\setminus(H_{S-u_{i}}\cup H_{S-u_{j}}). We need to show that Q=Q=\emptyset. We will show that (HSuQ,HSuQ¯)(H_{S-u_{\ell}}\setminus Q,\overline{H_{S-u_{\ell}}\setminus Q}) is a minimum (Su,U¯)(S-u_{\ell},\overline{U})-terminal cut. Consequently, QQ must be empty (otherwise, HSuQHSuH_{S-u_{\ell}}\setminus Q\subsetneq H_{S-u_{\ell}} and hence, (HSuQ,HSuQ¯)(H_{S-u_{\ell}}\setminus Q,\overline{H_{S-u_{\ell}}\setminus Q}) contradicts source minimality of the minimum (Su,U¯)(S-u_{\ell},\overline{U})-terminal cut (HSu,HSu¯)(H_{S-u_{\ell}},\overline{H_{S-u_{\ell}}})).

We now show that (HSuQ,HSuQ¯)(H_{S-u_{\ell}}\setminus Q,\overline{H_{S-u_{\ell}}\setminus Q}) is a minimum (Su,U¯)(S-u_{\ell},\overline{U})-terminal cut. Since HSuQ=HSu(HSuiHSuj)H_{S-u_{\ell}}\setminus Q=H_{S-u_{\ell}}\cap(H_{S-u_{i}}\cup H_{S-u_{j}}), we have that SuiujuHSuQS-u_{i}-u_{j}-u_{\ell}\subseteq H_{S-u_{\ell}}\setminus Q. We also know that uiu_{i} and uju_{j} are contained in both HSuH_{S-u_{\ell}} and HSuiHSujH_{S-u_{i}}\cup H_{S-u_{j}}. Therefore, SuHSuQS-u_{\ell}\subseteq H_{S-u_{\ell}}\setminus Q. Thus, (HSuQ,HSuQ¯)(H_{S-u_{\ell}}\setminus Q,\overline{H_{S-u_{\ell}}\setminus Q}) is a (Su,U¯)(S-u_{\ell},\overline{U})-terminal cut. Therefore,

d(HSu(HSuiHSuj))=d(HSuQ)d(HSu).d(H_{S-u_{\ell}}\cap(H_{S-u_{i}}\cup H_{S-u_{j}}))=d(H_{S-u_{\ell}}\setminus Q)\geq d(H_{S-u_{\ell}}). (6)

We also have that (HSu(HSuiHSuj),HSu(HSuiHSuj)¯)(H_{S-u_{\ell}}\cup(H_{S-u_{i}}\cup H_{S-u_{j}}),\overline{H_{S-u_{\ell}}\cup(H_{S-u_{i}}\cup H_{S-u_{j}})}) is a (Sui,U¯)(S-u_{i},\overline{U})-terminal cut. Therefore, d(HSu(HSuiHSuj))d(HSui)d(H_{S-u_{\ell}}\cup(H_{S-u_{i}}\cup H_{S-u_{j}}))\geq d(H_{S-u_{i}}). By Claims 2.3 and 2.4, we have that d(HSui)=d(V1)=d(HSuiHSuj)d(H_{S-u_{i}})=d(V_{1})=d(H_{S-u_{i}}\cup H_{S-u_{j}}). Therefore,

d(HSu(HSuiHSuj))d(HSuiHSuj).d(H_{S-u_{\ell}}\cup(H_{S-u_{i}}\cup H_{S-u_{j}}))\geq d(H_{S-u_{i}}\cup H_{S-u_{j}}). (7)

By submodularity of the hypergraph cut function and inequalities (6) and (7), we have that

d(HSu)+d(HSuiHSuj)\displaystyle d(H_{S-u_{\ell}})+d(H_{S-u_{i}}\cup H_{S-u_{j}}) d(HSu(HSuiHSuj))+d(HSu(HSuiHSuj))\displaystyle\geq d(H_{S-u_{\ell}}\cap(H_{S-u_{i}}\cup H_{S-u_{j}}))+d(H_{S-u_{\ell}}\cup(H_{S-u_{i}}\cup H_{S-u_{j}}))
d(HSu)+d(HSuiHSuj).\displaystyle\geq d(H_{S-u_{\ell}})+d(H_{S-u_{i}}\cup H_{S-u_{j}}).

Therefore, inequalities (6) and (7) are equations, so (HSuQ,HSuQ¯)(H_{S-u_{\ell}}\setminus Q,\overline{H_{S-u_{\ell}}\setminus Q}) is a minimum (Su,U¯)(S-u_{\ell},\overline{U})-terminal cut. ∎

Let R:={up}R:=\{u_{p}\}, S:=SupS^{\prime}:=S-u_{p}, and (Ai¯,Ai):=(HSui,HSui¯)(\overline{A_{i}},A_{i}):=(H_{S-u_{i}},\overline{H_{S-u_{i}}}) for every i[p1]i\in[p-1]. By definition, (Ai¯,Ai)(\overline{A_{i}},A_{i}) is a minimum (Sui,U¯)(S-u_{i},\overline{U})-terminal cut for every i[p1]i\in[p-1]. Moreover, by Corollary 2.1, we have that uiAi(j[p1]{i}Aj)u_{i}\in A_{i}\setminus(\cup_{j\in[p-1]\setminus\{i\}}A_{j}). Hence, the sets UU, RR, and SS^{\prime}, and the cuts (Ai¯,Ai)(\overline{A_{i}},A_{i}) for i[p1]i\in[p-1] satisfy the conditions of Theorem 1.5. We will use the second conclusion of Theorem 1.5. We now show that there exists a hyperedge satisfying the conditions mentioned in the second conclusion of Theorem 1.5. We will use Claim 2.6 below to prove this. Let W:=1i<jp1(AiAj)W:=\cup_{1\leq i<j\leq p-1}(A_{i}\cap A_{j}) and Z:=i[p1]Ai¯Z:=\cap_{i\in[p-1]}\overline{A_{i}} as in the statement of Theorem 1.5.

Claim 2.6.

There exists a hyperedge eEe\in E such that eWe\cap W\neq\emptyset, eZe\cap Z\neq\emptyset, and eWZe\subseteq W\cup Z.

Proof.

We note that S(Sui)(Suj)HSuiHSujS\subseteq(S-u_{i})\cup(S-u_{j})\subseteq H_{S-u_{i}}\cup H_{S-u_{j}} for every distinct i,j[p1]i,j\in[p-1]. Therefore, S(AiAj)=S\cap(A_{i}\cap A_{j})=\emptyset for every distinct i,j[p1]i,j\in[p-1], and thus SW=S\cap W=\emptyset. Since SS is a transversal of the collection 𝒞\mathcal{C}, it follows that the set WW is not in the collection 𝒞\mathcal{C}.

By definition, U¯Ai\overline{U}\subseteq A_{i} for every i[p1]i\in[p-1], and thus U¯W\overline{U}\subseteq W. Since W𝒞W\not\in\mathcal{C}, either d(W)>d(U)d(W)>d(U) or δ(W)=δ(U)\delta(W)=\delta(U). By Claim 2.1, we have that HSup¯𝒞\overline{H_{S-u_{p}}}\in\mathcal{C}, and thus, d(HSup¯)d(U)d(\overline{H_{S-u_{p}}})\leq d(U) and δ(HSup¯)δ(U)\delta(\overline{H_{S-u_{p}}})\neq\delta(U). Consequently, d(W)d(HSup¯)d(W)\geq d(\overline{H_{S-u_{p}}}), and δ(W)δ(HSup¯)\delta(W)\neq\delta(\overline{H_{S-u_{p}}}), and thus, δ(W)δ(HSup¯)\delta(W)\setminus\delta(\overline{H_{S-u_{p}}})\neq\emptyset. Let eδ(W)δ(HSup¯)e\in\delta(W)\setminus\delta(\overline{H_{S-u_{p}}}). We will show that this choice of ee achieves the desired properties.

For each i[p]i\in[p], let Yi:=HSui¯WY_{i}:=\overline{H_{S-u_{i}}}\setminus W. By Claim 2.5, for every i,j,[p]i,j,\ell\in[p] with iji\neq j we have that HSuHSuiHSujH_{S-u_{\ell}}\subseteq H_{S-u_{i}}\cup H_{S-u_{j}}. Therefore HSui¯HSuj¯HSu¯\overline{H_{S-u_{i}}}\cap\overline{H_{S-u_{j}}}\subseteq\overline{H_{S-u_{\ell}}} for every such i,j,[p]i,j,\ell\in[p], and hence WHSu¯W\subseteq\overline{H_{S-u_{\ell}}} for every [p]\ell\in[p]. Thus, WHSup¯W\subseteq\overline{H_{S-u_{p}}}. Since eδ(W)δ(HSup¯)e\in\delta(W)\setminus\delta(\overline{H_{S-u_{p}}}), we have that eWYpe\subseteq W\cup Y_{p}, eWe\cap W\neq\emptyset and eYpe\cap Y_{p}\neq\emptyset. Therefore, in order to show that ee has the three desired properties as in the claim, it suffices to show that YpZY_{p}\subseteq Z. We prove this next.

By definition, YpW=Y_{p}\cap W=\emptyset. By Claim 2.5, for every i[p1]i\in[p-1], we have that HSup¯HSui¯HSu1¯\overline{H_{S-u_{p}}}\cap\overline{H_{S-u_{i}}}\subseteq\overline{H_{S-u_{1}}} and HSup¯HSui¯HSu2¯\overline{H_{S-u_{p}}}\cap\overline{H_{S-u_{i}}}\subseteq\overline{H_{S-u_{2}}}, so HSup¯HSui¯HSu1¯HSu2¯W\overline{H_{S-u_{p}}}\cap\overline{H_{S-u_{i}}}\subseteq\overline{H_{S-u_{1}}}\cap\overline{H_{S-u_{2}}}\subseteq W. Thus, for every i[p1]i\in[p-1], YpYiHSup¯HSui¯WY_{p}\cap Y_{i}\subseteq\overline{H_{S-u_{p}}}\cap\overline{H_{S-u_{i}}}\subseteq W, so since YpW=Y_{p}\cap W=\emptyset, we have that YpYi=Y_{p}\cap Y_{i}=\emptyset for every i[p1]i\in[p-1]. Therefore,

YpW(i=1p1Yi)¯=i=1p1HSui¯¯=i=1p1HSui=Z.Y_{p}\subseteq\overline{W\cup\left(\bigcup_{i=1}^{p-1}Y_{i}\right)}=\overline{\bigcup_{i=1}^{p-1}\overline{H_{S-u_{i}}}}=\bigcap_{i=1}^{p-1}H_{S-u_{i}}=Z.

By Claim 2.6, there is a hyperedge ee satisfying the conditions of the second conclusion of Theorem 1.5. Therefore, by Theorem 1.5, there exists a kk-partition 𝒫\mathcal{P^{\prime}} with

|δ(𝒫)|\displaystyle|\delta(\mathcal{P^{\prime}})| <12min{d(Ai)+d(Aj):i,j[p1],ij}\displaystyle<\frac{1}{2}\min\{d(A_{i})+d(A_{j}):i,j\in[p-1],i\neq j\}
=d(U)(By Claim 2.3)\displaystyle=d(U)\quad\quad\quad\quad\quad\quad\text{(By Claim \ref{clm:div-and-conq-eqd})}
=OPTk-cut.(By assumption of the theorem)\displaystyle=OPT_{k\text{-cut}}.\quad\quad\quad\quad\text{(By assumption of the theorem)}

Thus, we have obtained a kk-partition 𝒫\mathcal{P}^{\prime} with |δ(𝒫)|<OPTk-cut|\delta(\mathcal{P}^{\prime})|<OPT_{k\text{-cut}}, which is a contradiction.

3 Proof of Theorem 1.4

We prove Theorem 1.4 in this section. Applying Theorem 2.1 to (U¯,U)(\overline{U},U) yields the following corollary.

Corollary 3.1.

Let G=(V,E)G=(V,E) be a hypergraph and let OPTk-cutOPT_{k\text{-cut}} be the optimum value of Hypergraph-kk-Cut in GG for some integer k2k\geq 2. Suppose (U,U¯)(U,\overline{U}) is a 22-partition of VV with d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}}. Then, there exists a set TU¯T\subseteq\overline{U} with |T|2k1|T|\leq 2k-1 such that every minimum (U,T)(U,T)-terminal cut (A,A¯)(A,\overline{A}) satisfies δ(A)=δ(U)\delta(A)=\delta(U).

We now restate Theorem 1.4 and prove it using Theorem 2.1 and Corollary 3.1.

See 1.4

Proof.

By Theorem 2.1, there exists a subset SUS\subseteq U with |S|2k1|S|\leq 2k-1 such that every minimum (S,U¯)(S,\overline{U})-terminal cut (A,A¯)(A,\overline{A}) has δ(A)=δ(U)\delta(A)=\delta(U). By Corollary 3.1, there exists a subset TU¯T\subseteq\overline{U} with |T|2k1|T|\leq 2k-1 such that every minimum (U,T)(U,T)-terminal cut (A,A¯)(A,\overline{A}) has δ(A)=δ(U)\delta(A)=\delta(U). We will show that every minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A}) has δ(A)=δ(U)\delta(A)=\delta(U). We will need the following claim.

Claim 3.1.

Let (Y,Y¯)(Y,\overline{Y}) be the source minimal minimum (S,T)(S,T)-terminal cut. Then δ(Y)=δ(U)\delta(Y)=\delta(U).

Proof.

Since (U,U¯)(U,\overline{U}) is a (S,T)(S,T)-terminal cut, and (Y,Y¯)(Y,\overline{Y}) is a minimum (S,T)(S,T)-terminal cut, we have that

d(U)d(Y).d(U)\geq d(Y).

Since (UY,UY¯)(U\cap Y,\overline{U\cap Y}) is a (S,U¯)(S,\overline{U})-terminal cut, we have that

d(UY)d(U).d(U\cap Y)\geq d(U).

Since (UY,UY¯)(U\cup Y,\overline{U\cup Y}) is a (U,T)(U,T)-terminal cut, we have that

d(UY)d(U).d(U\cup Y)\geq d(U).

Thus, by the submodularity of the hypergraph cut function we have that

2d(U)d(U)+d(Y)d(UY)+d(UY)2d(U).2d(U)\geq d(U)+d(Y)\geq d(U\cap Y)+d(U\cup Y)\geq 2d(U).

Therefore, we have that d(UY)=d(U)d(U\cap Y)=d(U), so (UY,UY¯)(U\cap Y,\overline{U\cap Y}) is a minimum (S,T)(S,T)-terminal cut. Since (Y,Y¯)(Y,\overline{Y}) is the source minimal (S,T)(S,T)-terminal cut, we have that UY=YU\cap Y=Y, and hence YUY\subseteq U. Therefore, (Y,Y¯)(Y,\overline{Y}) is a minimum (S,U¯)(S,\overline{U})-terminal cut. By the choice of SS, we have that δ(Y)=δ(U)\delta(Y)=\delta(U). ∎

Applying Claim 3.1 to both sides of the partition (U,U¯)(U,\overline{U}), we have that the source minimal minimum (S,T)(S,T)-terminal cut (Y,Y¯)(Y,\overline{Y}) has δ(Y)=δ(U)\delta(Y)=\delta(U), and the source minimal minimum (T,S)(T,S)-terminal cut (Z,Z¯)(Z,\overline{Z}) has δ(Z)=δ(U)\delta(Z)=\delta(U). Therefore, for every eδ(U)e\in\delta(U), we have that eYe\cap Y\neq\emptyset and eZe\cap Z\neq\emptyset.

Let (A,A¯)(A,\overline{A}) be a minimum (S,T)(S,T)-terminal cut. Since (Y,Y¯)(Y,\overline{Y}) is the source minimal minimum (S,T)(S,T)-terminal cut, we have that YAY\subseteq A. Since (Z,Z¯)(Z,\overline{Z}) is the source minimal minimum (T,S)(T,S)-terminal cut, we have that ZA¯Z\subseteq\overline{A}. Since every eδ(U)e\in\delta(U) intersects both YY and ZZ, it follows that every eδ(U)e\in\delta(U) intersects both AA and A¯\overline{A}, and hence, δ(U)δ(A)\delta(U)\subseteq\delta(A). Since (A,A¯)(A,\overline{A}) is a minimum (S,T)(S,T)-terminal cut, d(A)d(U)d(A)\leq d(U), and thus we have that δ(A)=δ(U)\delta(A)=\delta(U).

4 Algorithm for Enum-Hypergraph-kk-Cut

In this section, we design a deterministic algorithm for Enum-Hypergraph-kk-Cut that is based on divide and conquer and has a run-time of nO(k)n^{O(k)} source minimal minimum (s,t)(s,t)-terminal cut computations, where nn is the number of vertices in the input hypergraph. The high-level idea is to use minimum (S,T)(S,T)-terminal cuts to enumerate a collection of candidate cuts such that for every optimum kk-partition for Hypergraph-kk-Cut, either the union of some k/2k/2 parts of the optimum kk-partition is contained in the candidate collection or we find the set of hyperedges crossing this optimum kk-partition. This helps in cutting the recursion depth to logk\log{k} which saves on overall run-time. We describe the algorithm in Figure 2 and its guarantees in Theorem 4.1. We recall that for a hypergraph G=(V,E)G=(V,E) and a subset AVA\subseteq V, the subgraph G[A]G[A] induced by AA is given by G[A]=(A,E)G[A]=(A,E^{\prime}), where E:={eE:eA}E^{\prime}:=\{e\in E:e\subseteq A\}.

Theorem 4.1 is a self-contained proof that the number of min-kk-cut-sets in a nn-vertex hypergraph is O(n8klogk)O(n^{8k\log{k}}) and the run-time of the algorithm in Figure 2 is O(n8klogk)O(n^{8k\log{k}}) source minimal minimum (s,t)(s,t)-terminal cut computations. In Lemma 4.1, we improve the run-time analysis of the same algorithm to O(n16k)O(n^{16k}) source minimal minimum (s,t)(s,t)-terminal cut computations. For this, we exploit the known fact that the number of min-kk-cut-sets in a nn-vertex hypergraph is O(n2k2)O(n^{2k-2}) (via the randomized algorithm in [14]).

Theorem 4.1 and Lemma 4.1 together imply Theorem 1.2 since the source minimal minimum (s,t)(s,t)-terminal cut in a nn-vertex hypergraph of size pp can be computed in time O(np)O(np) [18].

Theorem 4.1.

Let G=(V,E)G=(V,E) be a nn-vertex hypergraph of size pp and let kk be a positive integer. Then, Algorithm Enum-Cut-Sets(G,k)(G,k) in Figure 2 returns the family of all min-kk-cut-sets in GG and it can be implemented to run in time O(n(8k6)logk)T(n,p)O(n^{(8k-6)\log k})T(n,p), where T(n,p)T(n,p) denotes the time complexity for computing the source minimal minimum (s,t)(s,t)-terminal cut in a nn-vertex hypergraph of size pp. Moreover, the cardinality of the family returned by the algorithm is O(n(8k6)logk)O(n^{(8k-6)\log k}).

Algorithm Enum-Cut-Sets(G=(V,E),k)(G=(V,E),k).
Input: Hypergraph G=(V,E)G=(V,E) and an integer k1k\geq 1
Output: Family of all min-kk-cut-sets in GG
If k=1k=1
Return {}\{\emptyset\}
Else
Initialize 𝒞\mathcal{C}\leftarrow\emptyset, \mathcal{F}\leftarrow\emptyset
For each pair (S,T)(S,T) such that S,TVS,T\subseteq V with ST=S\cap T=\emptyset and |S|,|T|2k1|S|,|T|\leq 2k-1
Compute the source minimal minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A})
If Gδ(A)G-\delta(A) has at least kk connected components
{δ(A)}\mathcal{F}\leftarrow\mathcal{F}\cup\{\delta(A)\}
Else
𝒞𝒞{A}\mathcal{C}\leftarrow\mathcal{C}\cup\{A\}
For each A𝒞A\in\mathcal{C} such that |A|k/2|A|\geq\lfloor k/2\rfloor and |A¯|kk/2|\overline{A}|\geq k-\lfloor k/2\rfloor
A\mathcal{F}_{A}\leftarrowEnum-Cut-Sets(G[A],k/2)(G[A],\lfloor k/2\rfloor)
A\mathcal{F}^{\prime}_{A}\leftarrowEnum-Cut-Sets(G[A¯],kk/2)(G[\overline{A}],k-\lfloor k/2\rfloor)
{δ(A)FF:FA,FA}\mathcal{F}\leftarrow\mathcal{F}\cup\{\delta(A)\cup F\cup F^{\prime}:F\in\mathcal{F}_{A},F^{\prime}\in\mathcal{F}^{\prime}_{A}\}
Among all kk-cut-sets in the family \mathcal{F}, return the subfamily that are of smallest size
Figure 2: Divide-and-conquer algorithm to enumerate hypergraph minimum kk-cut-sets
Proof.

We begin by showing correctness. The last step of the algorithm considers only kk-cut-sets in the family \mathcal{F}, so the algorithm returns a subfamily of kk-cut-sets. We only have to show that every min-kk-cut-set is in the family \mathcal{F}; this will also guarantee that every kk-cut-set in the returned subfamily is indeed a min-kk-cut-set. We show this by induction on kk.

For the base case of k=1k=1, the only min-kk-cut-set is the empty set which is contained in the returned family. We now show the induction step. Assume that k2k\geq 2. Let FEF\subseteq E be a min-kk-cut-set in GG and let (V1,,Vk)(V_{1},\ldots,V_{k}) be an optimum kk-partition for Hypergraph-kk-Cut such that F=δ(V1,,Vk)F=\delta(V_{1},\ldots,V_{k}). We will show that FF is in the family returned by the algorithm. Let U:=i=1k/2ViU:=\cup_{i=1}^{\lfloor k/2\rfloor}V_{i}. We distinguish between the following two cases:

  1. 1.

    Suppose d(U)<OPTk-cutd(U)<OPT_{k\text{-cut}}.

    By Theorem 1.3, there exist disjoint subsets S,TVS,T\subseteq V with |S|,|T|2k2|S|,|T|\leq 2k-2 such that (U,U¯)(U,\overline{U}) is the unique minimum (S,T)(S,T)-terminal cut. Hence, the set UU is in the collection 𝒞\mathcal{C} Moreover, UU contains k/2\lfloor k/2\rfloor non-empty sets V1,V2,,Vk/2V_{1},V_{2},\ldots,V_{\lfloor k/2\rfloor}, so we have |U|k/2|U|\geq\lfloor k/2\rfloor. Similarly, we have |U¯|kk/2|\overline{U}|\geq k-\lfloor k/2\rfloor. Since (V1,,Vk)(V_{1},\ldots,V_{k}) is an optimum kk-partition for Hypergraph-kk-Cut, the set {eF\δ(U):eU}\{e\in F\backslash\delta(U):e\subseteq U\} is a min-k/2\lfloor k/2\rfloor-cut-set in G[U]G[U]. Similarly, the set {eF\δ(U):eU¯}\{e\in F\backslash\delta(U):e\subseteq\overline{U}\} is a min-(kk/2)(k-\lfloor k/2\rfloor)-cut-set in G[U¯]G[\overline{U}]. Since d(U)<OPTk-cutd(U)<OPT_{k\text{-cut}}, we know that Gδ(U)G-\delta(U) has less than kk connected components. Therefore, the set UU is in the collection 𝒞\mathcal{C}. By induction hypothesis, we know that the set {eF\δ(U):eU}\{e\in F\backslash\delta(U):e\subseteq U\} is contained in the family U\mathcal{F}_{U} and the set {eF\δ(U):eU¯}\{e\in F\backslash\delta(U):e\subseteq\overline{U}\} is contained in the family U\mathcal{F}^{\prime}_{U}. Therefore, the set FF is added to the family \mathcal{F} in the second for-loop.

  2. 2.

    Suppose d(U)=OPTk-cutd(U)=OPT_{k\text{-cut}}.

    By Theorem 1.4, there exist sets SUS\subseteq U and TU¯T\subseteq\overline{U} with |S|,|T|2k1|S|,|T|\leq 2k-1 such that the source minimal minimum (S,T)(S,T)-terminal cut (A,A¯)(A,\overline{A}) satisfies δ(A)=δ(U)=F\delta(A)=\delta(U)=F. Therefore, the set AA is in the collection 𝒞\mathcal{C}. Since F=δ(A)F=\delta(A), the hypergraph Gδ(A)G-\delta(A) contains at least kk connected components. Therefore, the set F=δ(A)F=\delta(A) is added to the family \mathcal{F} in the first for-loop.

Thus, in both cases, we have shown that the set FF is contained in the family \mathcal{F}. Since the algorithm returns the subfamily of hyperedge sets in \mathcal{F} that are min-kk-cut-sets, the set FF is in the family returned by the algorithm.

Next, we bound the run time of the algorithm. Let N(k,n)N(k,n) denote the run time of the algorithm for a nn-vertex hypergraph. Then, we have N(1,n)=O(1)N(1,n)=O(1). For k2k\geq 2, there are O(n4k2)O(n^{4k-2}) pairs of subsets S,TVS,T\subseteq V with |S|,|T|2k1|S|,|T|\leq 2k-1 and ST=S\cap T=\emptyset. Hence, the first for-loop performs O(n4k2)O(n^{4k-2}) source minimal minimum (S,T)(S,T)-terminal cut computations. The collection 𝒞\mathcal{C} and the family \mathcal{F} at the end of the first for-loop each have O(n4k2)O(n^{4k-2}) sets. This implies that the first for-loop can be implemented to run in O(n4k2)T(n,p)O(n^{4k-2})T(n,p) time. For each A𝒞A\in\mathcal{C}, the computation of Enum-Cut-Sets(G[A],k/2)(G[A],\lfloor k/2\rfloor) in the second for-loop runs in N(k/2,n)N(\lfloor k/2\rfloor,n) time. The computation of Enum-Cut-Sets(G[A¯],kk/2)(G[\overline{A}],k-\lfloor k/2\rfloor) in the second for-loop runs in N(kk/2,n)N(k-\lfloor k/2\rfloor,n) time. Hence, the second for-loop can be implemented to run in O(n4k2)N(k/2,n)N(kk/2,n)O(n^{4k-2})N(\lfloor k/2\rfloor,n)N(k-\lfloor k/2\rfloor,n) time. The last step to prune the family \mathcal{F} can be implemented to run in time that is linear in the time to implement the first and second for-loops: this is because for each member of \mathcal{F}, we can decide whether it is a minimum kk-cut-set in time linear in the time to write this member in \mathcal{F}. Therefore, we have

N(k,n)=O(n4k2)T(n,p)+O(n4k2)N(k2,n)N(kk2,n).N(k,n)=O\left(n^{4k-2}\right)T(n,p)+O\left(n^{4k-2}\right)N\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)N\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right).

Since N(1,n)=O(1)N(1,n)=O(1), we have that N(k,n)=O(n(8k6)logk)T(n,p)N(k,n)=O(n^{(8k-6)\log k})T(n,p).

Finally, we bound the cardinality of the family returned by the algorithm. Let f(k,n)f(k,n) be the cardinality of the family returned by the algorithm for a nn-vertex hypergraph. We note that f(k,n)f(k,n) is at most the cardinality of the family \mathcal{F} computed by the algorithm. There are O(n4k2)O(n^{4k-2}) pairs of subsets S,TVS,T\subseteq V with |S|,|T|2k1|S|,|T|\leq 2k-1 and ST=S\cap T=\emptyset. Hence, the total cardinality of the collection 𝒞\mathcal{C} and the family \mathcal{F} at the end of the first for-loop is O(n4k2)O(n^{4k-2}). Consequently, for k2k\geq 2, by the recursion, we have that

f(k,n)=O(n4k2)f(k2,n)f(kk2,n)f(k,n)=O(n^{4k-2})f\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)f\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right)

and f(1,n)=1f(1,n)=1. So, f(k,n)=O(n(8k6)logk)f(k,n)=O(n^{(8k-6)\log k}).

We recall that the number of min-kk-cut-sets in a nn-vertex hypergraph is O(n2k2)O(n^{2k-2}) [14]. Assuming this bound improves the run-time of Algorithm Enum-Cut-Sets(G,k)(G,k) in Figure 2.

Lemma 4.1.

Algorithm Enum-Cut-Sets(G,k)(G,k) in Figure 2 can be implemented to run in time O(n16k26)T(n,p)O(n^{16k-26})T(n,p), where nn is the number of vertices, pp is the size of the input hypergraph GG, and T(n,p)T(n,p) denotes the time complexity for computing the source minimal minimum (s,t)(s,t)-terminal cut in a nn-vertex hypergraph of size pp.

Proof.

Let N(k,n)N(k,n) denote the run time of the algorithm for a nn-vertex hypergraph. Then, we have N(1,n)=O(1)N(1,n)=O(1). For k2k\geq 2, there are O(n4k2)O(n^{4k-2}) pairs of subsets S,TVS,T\subseteq V with |S|,|T|2k1|S|,|T|\leq 2k-1 and ST=S\cap T=\emptyset. Hence, the first for-loop performs O(n4k2)O(n^{4k-2}) source minimal minimum (S,T)(S,T)-terminal cut computations. The collection 𝒞\mathcal{C} and the family \mathcal{F} at the end of the first for-loop each have O(n4k2)O(n^{4k-2}) sets. This implies that the first for-loop can be implemented to run in O(n4k2)T(n,p)O(n^{4k-2})T(n,p) time. For each A𝒞A\in\mathcal{C}, the computation of Enum-Cut-Sets(G[A],k/2)(G[A],\lfloor k/2\rfloor) in the second for-loop runs in N(k/2,n)N(\lfloor k/2\rfloor,n) time. The computation of Enum-Cut-Sets(G[A¯],kk/2)(G[\overline{A}],k-\lfloor k/2\rfloor) in the second for-loop runs in N(kk/2,n)N(k-\lfloor k/2\rfloor,n) time. We recall that A\mathcal{F}_{A} consists of all minimum k/2\lfloor k/2\rfloor-cut-sets in a nn-vertex graph and hence, has size O(n2k/22)O(n^{2\lfloor k/2\rfloor-2}). Similarly, A\mathcal{F}^{\prime}_{A} has size O(n2(kk/2)2)O(n^{2(k-\lfloor k/2\rfloor)-2}). Hence, the second for-loop can be implemented to run in time

O(n4k2)(N(k2,n)+N(kk2,n)+O(n2k/22)O(n2(kk/2)2))O\left(n^{4k-2}\right)\left(N\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)+N\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right)+O(n^{2\lfloor k/2\rfloor-2})O(n^{2(k-\lfloor k/2\rfloor)-2})\right)
=O(n4k2)(N(k2,n)+N(kk2,n)+O(n2k4)).=O\left(n^{4k-2}\right)\left(N\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)+N\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right)+O(n^{2k-4})\right).

Moreover, the size of the family \mathcal{F} at the end of the second for-loop is O(n4k2)+O(n4k2)|A||A|=O(n2)O(n2k4)=O(n6k6)O(n^{4k-2})+O(n^{4k-2})|\mathcal{F}_{A}|\cdot|\mathcal{F}^{\prime}_{A}|=O(n^{-2})O(n^{2k-4})=O(n^{6k-6}). Hence, the last step to prune the family \mathcal{F} can be implemented to run in time O(n6k6)O(n^{6k-6}). Hence, the second for-loop and the last step can together be implemented to run in time

O(n4k2)(N(k2,n)+N(kk2,n)+O(n2k4)).O\left(n^{4k-2}\right)\left(N\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)+N\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right)+O(n^{2k-4})\right).

Therefore, we have

N(k,n)=O(n4k2)(T(n,p)+N(k2,n)+N(kk2,n)+O(n2k4)).N(k,n)=O\left(n^{4k-2}\right)\left(T(n,p)+N\left(\left\lfloor\frac{k}{2}\right\rfloor,n\right)+N\left(k-\left\lfloor\frac{k}{2}\right\rfloor,n\right)+O(n^{2k-4})\right).

Solving the recursive relation gives N(k,n)=O(n16k26)T(n,p)N(k,n)=O(n^{16k-26})T(n,p). ∎

5 Algorithm for Enum-MinMax-Hypergraph-kk-Partition

In this section, we design a deterministic algorithm for Enum-MinMax-Hypergraph-kk-Partition that runs in time nO(k2)pn^{O(k^{2})}p, where nn is the number of vertices and pp is the size of the input hypergraph. For this, we rely on the notion of kk-cut-set representatives.

We recall that for a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) and disjoint subsets U1,,UkVU_{1},\ldots,U_{k}\subseteq V, the kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) is defined to be a kk-cut-set representative of (V1,,Vk)(V_{1},\ldots,V_{k}) if UiViU_{i}\subseteq V_{i} and δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}) for all i[k]i\in[k]. We first show that there exists a polynomial-time algorithm to verify whether a given kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative.

Theorem 5.1.

Let G=(V,E)G=(V,E) be a nn-vertex hypergraph of size pp and let kk be a positive integer. Then, there exists an algorithm that takes as input the hypergraph GG and disjoint subsets U1,,UkVU_{1},\ldots,U_{k}\subseteq V and runs in time O(knp)O(knp) to decide if (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative of some kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) and if so, then return such a kk-partition.

Proof.

We will use Algorithm Recover-Partition(G,U1,,Uk)(G,U_{1},\ldots,U_{k}) in Figure 3.

Algorithm Recover-Partition(G=(V,E),U1,,Uk)(G=(V,E),U_{1},\ldots,U_{k}).
Input: Hypergraph G=(V,E)G=(V,E) and disjoint subsets U1,,UkVU_{1},\ldots,U_{k}\subseteq V
Output: Decide if there exists a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) of VV
  with UiViU_{i}\subseteq V_{i} and δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}) i[k]\forall i\in[k], and return one if it exists
Initialize PiUiP_{i}\leftarrow U_{i} for all i[k]i\in[k]
Let C1,,CtVC_{1},\ldots,C_{t}\subseteq V be the components of Gi=1kδ(Ui)G-\cup_{i=1}^{k}\delta(U_{i}) that are disjoint from i=1kUi\cup_{i=1}^{k}U_{i}
For j=1,,tj=1,\ldots,t
If i[k]\exists i\in[k] such that δ(PiCj)=δ(Pi)\delta(P_{i}\cup C_{j})=\delta(P_{i})
PiPiCjP_{i}\leftarrow P_{i}\cup C_{j}
If (P1,,Pk)(P_{1},\ldots,P_{k}) is a kk-partition of VV
Return (P1,,Pk)(P_{1},\ldots,P_{k})
Else
Return NO
Figure 3: Algorithm in Theorem 5.1

We begin by showing correctness. Since Algorithm 3 maintains UiPiU_{i}\subseteq P_{i} and δ(Ui)=δ(Pi)\delta(U_{i})=\delta(P_{i}) for all i[k]i\in[k], if it returns a kk-partition, then the kk-partition necessarily satisfies the required conditions. Next, we show that if (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative of a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}), then the algorithm will indeed return a kk-partition (P1,,Pk)(P_{1},\ldots,P_{k}) with UiPiU_{i}\subseteq P_{i} and δ(Ui)=δ(Pi)\delta(U_{i})=\delta(P_{i}) for all i[k]i\in[k] (however, (P1,,Pk)(P_{1},\ldots,P_{k}) may not necessarily be the same as (V1,,Vk)(V_{1},\ldots,V_{k})).

Let (V1,,Vk)(V_{1},\ldots,V_{k}) be a kk-partition such that UiViU_{i}\subseteq V_{i} and δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}) for all i[k]i\in[k]. Let (P1,,Pk)(P_{1},\ldots,P_{k}) be the sequence of subsets at the end of the for-loop. Moreover, for each j[t]j\in[t], let (P1j,,Pkj)(P^{j}_{1},\ldots,P^{j}_{k}) be the sequence of subsets at the end of the jjth iteration of the for-loop. For notational convenience, for i[k]i\in[k], we will define Pi0:=UiP_{i}^{0}:=U_{i}. We note that (P1,,Pk)=(P1t,,Pkt)(P_{1},\ldots,P_{k})=(P^{t}_{1},\ldots,P^{t}_{k}) and that Pi0Pi1PitP_{i}^{0}\subseteq P_{i}^{1}\subseteq\ldots\subseteq P_{i}^{t} for every i[k]i\in[k]. We observe that UiPijU_{i}\subseteq P_{i}^{j} and δ(Ui)=δ(Pij)\delta(U_{i})=\delta(P_{i}^{j}) for all j{0,1,2,,t}j\in\{0,1,2,\ldots,t\}. Moreover, the subsets P1j,,PkjP_{1}^{j},\ldots,P_{k}^{j} are pairwise disjoint for each j{0,1,2,,t}j\in\{0,1,2,\ldots,t\}. Therefore, it suffices to show that i=1kPi=V\cup_{i=1}^{k}P_{i}=V.

We claim that C1Cji=1kPijC_{1}\cup\ldots\cup C_{j}\subseteq\cup_{i=1}^{k}P_{i}^{j} for each j{0,1,,t}j\in\{0,1,\ldots,t\}. Applying this claim for j=tj=t gives that i=1kPi=V\cup_{i=1}^{k}P_{i}=V as desired. We now show the claim by induction on jj. The base case of j=0j=0 holds by definition. We now prove the induction step. By induction hypothesis, we have that C1Cj1i=1kPij1C_{1}\cup\ldots\cup C_{j-1}\subseteq\cup_{i=1}^{k}P_{i}^{j-1}. We will show that there exists i[k]i\in[k] such that δ(Pij1Cj)=δ(Pij1)\delta(P_{i}^{j-1}\cup C_{j})=\delta(P_{i}^{j-1}). We know that CjC_{j} is contained in one of the sets in {V1,,Vk}\{V_{1},\ldots,V_{k}\}, say CjVC_{j}\subseteq V_{\ell} for some [k]\ell\in[k]. We will prove that δ(Pj1Cj)=δ(Pj)\delta(P_{\ell}^{j-1}\cup C_{j})=\delta(P_{\ell}^{j}) to complete the proof of the claim. Since CjC_{j} is a component of Gi=1kδ(Ui)=Gi=1kδ(Vi)G-\cup_{i=1}^{k}\delta(U_{i})=G-\cup_{i=1}^{k}\delta(V_{i}), we know that each hyperedge in δ(Cj)\delta(C_{j}) crosses the kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}). Moreover, each hyperedge in δ(Cj)\delta(C_{j}) intersects CjVC_{j}\subseteq V_{\ell}, and hence, δ(Cj)δ(V)\delta(C_{j})\subseteq\delta(V_{\ell}). Therefore,

δ(Pj1Cj)δ(Pj1)δ(Cj)δ(V)=δ(U)=δ(Pj1).\delta(P_{\ell}^{j-1}\cup C_{j})-\delta(P_{\ell}^{j-1})\subseteq\delta(C_{j})\subseteq\delta(V_{\ell})=\delta(U_{\ell})=\delta(P_{\ell}^{j-1}).

This is possible only if δ(Pj1Cj)δ(Pj1)=\delta(P_{\ell}^{j-1}\cup C_{j})-\delta(P_{\ell}^{j-1})=\emptyset, i.e., δ(Pj1Cj)δ(Pj1)\delta(P_{\ell}^{j-1}\cup C_{j})\subseteq\delta(P_{\ell}^{j-1}). We now show show the reverse inclusion. We have that

δ(Pj1)δ(Pj1Cj)\displaystyle\delta(P_{\ell}^{j-1})-\delta(P_{\ell}^{j-1}\cup C_{j}) =δ(U)δ(Pj1Cj)\displaystyle=\delta(U_{\ell})-\delta(P_{\ell}^{j-1}\cup C_{j})
=δ(V)δ(Pj1Cj)\displaystyle=\delta(V_{\ell})-\delta(P_{\ell}^{j-1}\cup C_{j})
=E(VPj1Cj,VVPj1)E(VPj1,Pj1V)\displaystyle=E(V_{\ell}-P_{\ell}^{j-1}-C_{j},V-V_{\ell}-P_{\ell}^{j-1})\cup E(V_{\ell}\cap P_{\ell}^{j-1},P_{\ell}^{j-1}-V_{\ell})
E[VPj1]E[Pj1].\displaystyle\subseteq E[V-P_{\ell}^{j-1}]\cup E[P_{\ell}^{j-1}].

We note that the LHS is a subset of δ(Pj1)\delta(P_{\ell}^{j-1}) while the RHS is disjoint from δ(Pj1)\delta(P_{\ell}^{j-1}) since E[VPj1]δ(Pj1)=E[V-P_{\ell}^{j-1}]\cap\delta(P_{\ell}^{j-1})=\emptyset and E[Pj1]δ(Pj1)=E[P_{\ell}^{j-1}]\cap\delta(P_{\ell}^{j-1})=\emptyset. Hence, the above containment is possible only if δ(Pj1)δ(Pj1Cj)=\delta(P_{\ell}^{j-1})-\delta(P_{\ell}^{j-1}\cup C_{j})=\emptyset and hence, δ(Pj1)δ(Pj1Cj)\delta(P_{\ell}^{j-1})\subseteq\delta(P_{\ell}^{j-1}\cup C_{j}). Consequently, δ(Pj1Cj)=δ(Pj1)\delta(P_{\ell}^{j-1}\cup C_{j})=\delta(P_{\ell}^{j-1}).

We now bound the run-time. We can verify if there exists i[k]i\in[k] such that δ(PiCj)=δ(Pi)\delta(P_{i}\cup C_{j})=\delta(P_{i}) in time O(kp)O(kp). The number of iterations of the for-loop is tnt\leq n. Hence, the total run-time is O(knp)O(knp). ∎

Next, we address the problem of enumerating all minmax-kk-cut-sets. For this, we define a sub-problem—namely Enum-MinMax-Hypergraph-kk-Cut-Set-Reps. The input here is a hypergraph G=(V,E)G=(V,E) and a fixed positive integer kk (e.g., k=2,3,4,k=2,3,4,\ldots). The goal is to enumerate a family \mathcal{F} of kk-cut-set representatives satisfying the following two properties:

  1. (1)

    every kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) in the family \mathcal{F} is a kk-cut-set representative of some optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Minmax-Hypergraph-kk-Partition and

  2. (2)

    for every optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Minmax-Hypergraph-kk-Partition, the family \mathcal{F} contains a kk-cut-set representative (U1,,Uk)(U_{1},\ldots,U_{k}) of (V1,,Vk)(V_{1},\ldots,V_{k}).

We note that if a family \mathcal{F} is a solution to Enum-MinMax-Hypergraph-kk-Cut-Set-Reps, then returning {i=1kδ(Ui):(U1,,Uk)}\{\cup_{i=1}^{k}\delta(U_{i}):(U_{1},\ldots,U_{k})\in\mathcal{F}\} solves Enum-MinMax-Hypergraph-kk-Partition. Hence, it suffices to solve Enum-MinMax-Hypergraph-kk-Cut-Set-Reps in order to solve Enum-MinMax-Hypergraph-kk-Partition. We describe our algorithm for Enum-MinMax-Hypergraph-kk-Cut-Set-Reps in Figure 4 and its guarantees in Theorem 5.2. Theorem 1.1 follows from Theorem 5.2.

Theorem 5.2.

Let G=(V,E)G=(V,E) be a nn-vertex hypergraph of size pp and let kk be a positive integer. Then, Algorithm Enum-MinMax-Reps(G,k)(G,k) in Figure 4 solves Enum-MinMax-Hypergraph-kk-Cut-Set-Reps and it can be implemented to run in time O(kn4k22k+1p)O(kn^{4k^{2}-2k+1}p). Moreover, the cardinality of the family returned by the algorithm is O(n4k22k)O(n^{4k^{2}-2k}).

Algorithm Enum-MinMax-Reps(G=(V,E),k)(G=(V,E),k).
Input: Hypergraph G=(V,E)G=(V,E) and an integer k2k\geq 2
Output: Family \mathcal{F} of kk-cut-set representatives of all optimum kk-partitions
  for Minmax-Hypergraph-kk-Partition
Initialize 𝒞\mathcal{C}\leftarrow\emptyset, 𝒟\mathcal{D}\leftarrow\emptyset, and \mathcal{F}\leftarrow\emptyset
For each pair (S,T)(S,T) such that S,TVS,T\subseteq V with ST=S\cap T=\emptyset and |S||S|, |T|2k1|T|\leq 2k-1
Compute the source minimal minimum (S,T)(S,T)-terminal cut (U,U¯)(U,\overline{U})
𝒞𝒞{U}\mathcal{C}\leftarrow\mathcal{C}\cup\{U\}
For all (U1,,Uk)𝒞k(U_{1},\ldots,U_{k})\in\mathcal{C}^{k} such that U1,,UkU_{1},\ldots,U_{k} are pairwise disjoint
If Recover-Partition(G,U1,,Uk)(G,U_{1},\ldots,U_{k}) returns a kk-partition
𝒟𝒟{(U1,,Uk)}\mathcal{D}\leftarrow\mathcal{D}\cup\{(U_{1},\ldots,U_{k})\}
λmin{maxi[k]d(Ui):(U1,,Uk)𝒟}\lambda\leftarrow\min\{\max_{i\in[k]}d(U_{i}):(U_{1},\ldots,U_{k})\in\mathcal{D}\}
For all (U1,,Uk)𝒟(U_{1},\ldots,U_{k})\in\mathcal{D} such that maxi[k]d(Ui)=λ\max_{i\in[k]}d(U_{i})=\lambda:
{(U1,,Uk)}\mathcal{F}\leftarrow\mathcal{F}\cup\{(U_{1},\ldots,U_{k})\}
Return \mathcal{F}
Figure 4: Algorithm in Theorem 5.2
Proof.

We begin by showing correctness—i.e., the family \mathcal{F} returned by the algorithm satisfies properties (1) and (2) mentioned in the definition of Enum-MinMax-Hypergraph-kk-Cut-Set-Reps. By the second for-loop, each kk-tuple added to the collection 𝒟\mathcal{D} is a kk-cut-set representative of some kk-partition (it need not necessarily be a kk-cut-set representative of an optimum kk-partition for Minmax-Hypergraph-kk-Partition). The algorithm returns a subfamily of 𝒟\mathcal{D} and hence, it returns a subfamily of kk-cut-set representatives. We only have to show that a kk-cut-set representative of an arbitrary optimum kk-partition for Minmax-Hypergraph-kk-Partition is present in the family 𝒟\mathcal{D}; this will guarantee that the value λ\lambda computed by the algorithm will exactly be OPTminmax-k-partitionOPT_{\text{minmax-}k\text{-partition}} and owing to the way in which the algorithm constructs the family \mathcal{F} from the family 𝒟\mathcal{D}, it follows that the family \mathcal{F} satisfies properties (1) and (2).

Let OPTminmax-k-partitionOPT_{\text{minmax-}k\text{-partition}} denote the optimum value of a minmax kk-partition in GG and let OPTk-cutOPT_{k\text{-cut}} denote the optimum value of a minimum kk-cut in GG. We note that OPTminmax-k-partitionOPTk-cutOPT_{\text{minmax-}k\text{-partition}}\leq OPT_{k\text{-cut}}. This is because, if (P1,,Pk)(P_{1},\ldots,P_{k}) is a kk-partition with minimum |δ(P1,,Pk)||\delta(P_{1},\ldots,P_{k})| (i.e., an optimum kk-partition for Hypergraph-kk-Cut), then

OPTminmax-k-partitionmaxi[k]|δ(Pi)||δ(P1,,Pk)|=OPTk-cut.OPT_{\text{minmax-}k\text{-partition}}\leq\max_{i\in[k]}|\delta(P_{i})|\leq|\delta(P_{1},\ldots,P_{k})|=OPT_{k\text{-cut}}.

Let (V1,,Vk)(V_{1},\ldots,V_{k}) be an arbitrary optimum kk-partition for Minmax-Hypergraph-kk-Partition. We will show that the family \mathcal{F} returned by the algorithm contains a kk-cut-set representative of (V1,,Vk)(V_{1},\ldots,V_{k}). We have that d(Vi)OPTminmax-k-partitionOPTk-cutd(V_{i})\leq OPT_{\text{minmax-}k\text{-partition}}\leq OPT_{k\text{-cut}} for all i[k]i\in[k]. Hence, by Theorems 1.3 and 1.4, there exist subsets SiViS_{i}\subseteq V_{i}, TiVViT_{i}\subseteq V-V_{i} with |Si|,|Ti|2k1|S_{i}|,|T_{i}|\leq 2k-1 such that the source minimal minimum (Si,Ti)(S_{i},T_{i})-terminal cut (Ui,Ui¯)(U_{i},\overline{U_{i}}) satisfies δ(Ui)=δ(Vi)\delta(U_{i})=\delta(V_{i}) for all i[k]i\in[k]. Source minimality of the cut (Ui,Ui¯)(U_{i},\overline{U_{i}}) also guarantees that UiViU_{i}\subseteq V_{i} for all i[k]i\in[k]. Hence, the kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative of (V1,,Vk)(V_{1},\ldots,V_{k}). It remains to show that this kk-tuple is indeed present in the families 𝒟\mathcal{D} and \mathcal{F}. We note that the sets U1,,UkU_{1},\ldots,U_{k} are added to the collection 𝒞\mathcal{C} in the first for-loop. Since the kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) is a kk-cut-set representative of the kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}), the kk-tuple (U1,,Uk)(U_{1},\ldots,U_{k}) will be added to the family 𝒟\mathcal{D} in the second for-loop. Since the family 𝒟\mathcal{D} contains only kk-cut-set representatives of kk-partitions, it follows that λ=OPTminmax-k-partition\lambda=OPT_{\text{minmax-}k\text{-partition}} and (U1,,Uk)(U_{1},\ldots,U_{k}) will be added to the family \mathcal{F} in the third for-loop. Hence, the kk-cut-set representative (U1,,Uk)(U_{1},\ldots,U_{k}) of the optimum kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) for Minmax-Hypergraph-kk-Partition is present in the family \mathcal{F} returned by the algorithm.

The bound on the size of the family \mathcal{F} returned by the algorithm is

|||𝒟||𝒞|k=O(nk(4k2)).|\mathcal{F}|\leq|\mathcal{D}|\leq|\mathcal{C}|^{k}=O(n^{k(4k-2)}).

Next, we bound the run time of the algorithm. The first for-loop can be implemented to run in time O(n4k2)T(n,p)O(n^{4k-2})T(n,p). The second for-loop executes the algorithm from Theorem 5.1 O(n4k22k)O(n^{4k^{2}-2k}) times and hence, the second for-loop can be implemented to run in time O(kn4k22k+1p)O(kn^{4k^{2}-2k+1}p). The computation of λ\lambda and the third for-loop can be implemented to run in time O(|𝒟|)=O(n4k22k)O(|\mathcal{D}|)=O(n^{4k^{2}-2k}). Hence, the total run-time is O(n4k2)T(n,p)+O(kn4k22k+1p)O(n^{4k-2})T(n,p)+O(kn^{4k^{2}-2k+1}p). We recall that T(n,p)=O(np)T(n,p)=O(np) and hence, the total run-time is O(kn4k22k+1p)O(kn^{4k^{2}-2k+1}p).

6 A lower bound on the number of minmax-kk-cut-sets

In this section, we show that there exist nn-vertex connected graphs for which the number of minmax-kk-cut-sets is nΩ(k2)n^{\Omega(k^{2})}. In particular, we show the following result.

Lemma 6.1.

For every positive integer k2k\geq 2, there exists a positive integer nn such that the number of optimum kk-partitions for Minmax-Graph-kk-Partition in the nn-vertex complete graph is nΩ(k2)n^{\Omega(k^{2})}.

Proof.

Let k2k\geq 2 be fixed, and let G=(V,E)G=(V,E) be the complete graph on n=k(k1)n=k(k-1) vertices (with all edge weights being uniformly 11). We will show that OPTminmax-k-partition=(k1)3OPT_{\text{minmax-}k\text{-partition}}=(k-1)^{3} and every partition of VV into kk parts of equal size is an optimum kk-partition for Minmax-Graph-kk-Partition. Since the number of partitions of VV into kk parts of equal size is Ω(kn)=Ω(nk2/2)\Omega(k^{n})=\Omega(n^{k^{2}/2}), the lemma follows.

First, we show that OPTminmax-k-partition(k1)3OPT_{\text{minmax-}k\text{-partition}}\geq(k-1)^{3}. For every partition of VV into kk non-empty parts, the largest part has at least k1k-1 vertices by pigeonhole principle, and at most k(k1)(k1)=(k1)2k(k-1)-(k-1)=(k-1)^{2} vertices since each of the remaining k1k-1 parts contain at least one vertex. Therefore, the cut value of the largest part is at least

minx{k1,,(k1)2}x(nx)=(k1)3.\min_{x\in\{k-1,\ \ldots,\ (k-1)^{2}\}}x(n-x)=(k-1)^{3}.

The equality follows since n=k(k1)n=k(k-1) and the function f(x)=x(nx)f(x)=x(n-x) is convex and is minimized at the boundaries. This implies that OPTminmax-k-partition(k1)3OPT_{\text{minmax-}k\text{-partition}}\geq(k-1)^{3}.

Next, we show that OPTminmax-k-partition(k1)3OPT_{\text{minmax-}k\text{-partition}}\leq(k-1)^{3} and every partition of VV into kk parts of equal size is an optimum kk-partition for Minmax-Graph-kk-Partition. Let (V1,,Vk)(V_{1},\ldots,V_{k}) be an arbitrary kk-partition of VV such that |Vi|=k1|V_{i}|=k-1 for all i[k]i\in[k]. The Minmax-Graph-kk-Partition objective value of this kk-partition is (k1)(n(k1))=(k1)3(k-1)(n-(k-1))=(k-1)^{3}. Thus, (V1,,Vk)(V_{1},\ldots,V_{k}) is an optimum kk-partition for Minmax-Graph-kk-Partition in GG.

We note that our example exhibiting nΩ(k2)n^{\Omega(k^{2})} optimum kk-partitions for Minmax-Graph-kk-Partition has the number of vertices nn upper bounded by a function of kk. We are not aware of examples that exhibit nΩ(k2)n^{\Omega(k^{2})} optimum kk-partitions for Minmax-Graph-kk-Partition for fixed kk but arbitrary nn (e.g., k=2,3,4,k=2,3,4,... but nn is arbitrary).

7 Conclusion

We showed the first polynomial bound on the number of minmax-kk-cut-sets in hypergraphs for every fixed kk and gave a polynomial-time algorithm to enumerate all minmax-kk-cut-sets as well as all min-kk-cut-sets in hypergraphs for every fixed kk. Our main contribution is a structural theorem that is the backbone of the correctness analysis of our enumeration algorithms. In order to enumerate minmax-kk-cut-sets in hypergraphs, we introduced the notion of kk-cut-set representatives and enumerated kk-cut-set representatives of all optimum kk-partitions for Minmax-Hypergraph-kk-Partition. Our technique builds on known structural results for Hypergraph-kk-Cut and Minmax-Hypergraph-kk-Partition [11, 12, 7].

The technique underlying our enumeration algorithms is not necessarily novel—we simply rely on minimum (s,t)(s,t)-terminal cuts. Using fixed-terminal cuts to address global partitioning problems is not a novel technique by itself—it is common knowledge that minimum (s,t)(s,t)-terminal cuts can be used to solve global minimum cut. However, there are several problems where naive use of this technique fails to lead to efficient algorithms: e.g., multiway cut does not help in solving Graph-kk-Cut since multiway cut is NP-hard. Adapting this technique for specific partitioning problems requires careful identification of structural properties. In fact, beautiful structural properties have been shown for a rich variety of partitioning problems in combinatorial optimization in order to exploit this technique: for example, it was used (1) to design the first efficient algorithm for Graph-kk-Cut [26], (2) to solve certain constrained submodular minimization problems [25, 49], and (3) more recently, to design fast algorithms for global minimum cut in graphs and for Gomory-Hu tree in unweighted graphs [44, 1]. Our use of this technique also relies on identifying and proving a suitable structural property, namely Theorem 1.4. The advantage of our structural property is that it simultaneously enables enumeration of min-kk-cut-sets as well as minmax-kk-cut-sets in hypergraphs which was not possible via structural theorems that were developed before. Furthermore, it helps in showing the first polynomial bound on the number of minmax-kk-cut-sets in hypergraphs for every fixed kk.

We also emphasize a limitation of our technique. Although it helps in solving Enum-Hypergraph-kk-Cut and Enum-MinMax-Hypergraph-kk-Partition, it does not help in solving a seemingly related hypergraph kk-partitioning problem—namely, given a hypergraph G=(V,E)G=(V,E) and a fixed integer kk, find a kk-partition (V1,,Vk)(V_{1},\ldots,V_{k}) of the vertex set that minimizes i=1k|δ(Vi)|\sum_{i=1}^{k}|\delta(V_{i})|. Natural variants of our structural theorem fail to hold for this objective. Resolving the complexity of this variant of the hypergraph kk-partitioning problem for k5k\geq 5 remains open.

We mention an open question concerning Hypergraph-kk-Cut and the enumeration of min-kk-cut-sets in hypergraphs for fixed kk. We recall the status in graphs: the number of minimum kk-partitions in a connected graph was known to be O(n2k2)O(n^{2k-2}) via Karger-Stein’s algorithm [38] and Ω(nk)\Omega(n^{k}) via the cycle example, where nn is the number of vertices; recent works have improved on the upper bound to match the lower bound for fixed kk—this improvement in upper bound also led to the best possible O(nk)O(n^{k})-time algorithm for Graph-kk-Cut for fixed kk [31, 32, 28]. For hypergraphs, the number of min-kk-cut-sets is known to be O(n2k2)O(n^{2k-2}) and Ω(nk)\Omega(n^{k}). Can we improve the upper/lower bound? Is it possible to design an algorithm for Hypergraph-kk-Cut that runs in time O(nkp)O(n^{k}p)?

References

  • [1] A. Abboud, R. Krauthgamer, and O. Trabelsi, Subcubic algorithms for gomory–hu tree in unweighted graphs, Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC, 2021, p. 1725–1737.
  • [2] K. Ahn and S. Guha, Graph sparsification in the semi-streaming model, Proceeings of the 36th International Colloquium on Automata, Languages and Programming: Part II, ICALP, 2009, pp. 328–338.
  • [3] K. Ahn, S. Guha, and A. McGregor, Analyzing graph structure via linear measurements, Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2012, pp. 459–467.
  • [4]  , Graph sketches: Sparsification, spanners, and subgraphs, Proceedings of the 31st Symposium on Principles of Database Systems, PODS, 2012, pp. 5–14.
  • [5] D. Applegate, R. Bixby, V. Chvátal, and W. Cook, The Traveling Salesman Problem: A Computational Study, Princeton University Press, 2006.
  • [6] N. Bansal, O. Svensson, and L. Trevisan, New notions and constructions of sparsification for graphs and hypergraphs, Proceedings of the 60th Annual IEEE Symposium on Foundations of Computer Science, FOCS, 2019, pp. 910–928.
  • [7] C. Beideman, K. Chandrasekaran, and W. Wang, Deterministic enumeration of all minimum kk-cut-sets in hypergraphs for fixed kk, Proceedings of the 33rd Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2022.
  • [8] A. Benczur, A representation of cuts within 6/5 times the edge connectivity with applications, Proceedings of the 36th Annual IEEE Foundations of Computer Science, FOCS, 1995, pp. 92–102.
  • [9]  , Cut structures and randomized algorithms in edge-connectivity problems, Ph.D. thesis, MIT, 1997.
  • [10] A. Benczur and M. Goemans, Deformable polygon representation and near-mincuts, Building Bridges: Between Mathematics and Computer Science, M. Groetschel and G.O.H. Katona, Eds., Bolyai Society Mathematical Studies 19 (2008), 103–135.
  • [11] K. Chandrasekaran and C. Chekuri, Hypergraph kk-cut for fixed kk in deterministic polynomial time, Proceedings of the 61st Annual Symposium on Foundations of Computer Science, FOCS, 2020, pp. 810–821.
  • [12]  , Min-max partitioning of hypergraphs and symmetric submodular functions, Proceedings of the 32nd annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2021, pp. 1026–1038.
  • [13] K. Chandrasekaran and W. Wang, Fixed Parameter Approximation Scheme for Min-max kk-cut, Integer Programming and Combinatorial Optimization, IPCO, 2021, pp. 354–367.
  • [14] K. Chandrasekaran, C. Xu, and X. Yu, Hypergraph kk-cut in randomized polynomial time, Mathematical Programming (Preliminary version in SODA 2018) 186 (2019), 85–113.
  • [15] K. Chandrasekaran and X. Zhang, Private communication.
  • [16] C. Chekuri and S. Li, On the hardness of approximating the kk-way hypergraph cut problem, Theory of Computing 16 (2020), no. 14, 1–8.
  • [17] C. Chekuri, K. Quanrud, and C. Xu, LP relaxation and tree packing for minimum kk-cut, SIAM Journal on Discrete Mathematics 34 (2020), no. 2, 1334–1353.
  • [18] C. Chekuri and C. Xu, Minimum cuts and sparsification in hypergraphs, SIAM Journal on Computing 47 (2018), no. 6, 2118–2156.
  • [19] Y. Chen, S. Khanna, and A. Nagda, Near-linear size hypergraph cut sparsifiers, Proceedings of the 61st Annual IEEE Symposium on Foundations of Computer Science, FOCS, 2020, pp. 61–72.
  • [20] W. Cook, W. Cunningham, W. Pulleyblank, and A. Schrijver, Combinatorial Optimization, Wiley, 1997.
  • [21] E. A. Dinitz, A. V. Karzanov, and M. V. Lomonosov, On the structure of a family of minimum weighted cuts in a graph, Studies in Discrete Optimization (A. A. Fridman, ed.), Nauka Publishers, 1976.
  • [22] R. Downey, V. Estivill-Castro, M. Fellows, E. Prieto, and F. Rosamund, Cutting up is hard to do: The parameterised complexity of k-cut and related problems, Electronic Notes in Theoretical Computer Science 78 (2003), 209–222.
  • [23] K. Fox, D. Panigrahi, and F. Zhang, Minimum cut and minimum kk-cut in hypergraphs via branching contractions, Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2019, pp. 881–896.
  • [24] M. Ghaffari, D. Karger, and D. Panigrahi, Random contractions and sampling for hypergraph and hedge connectivity, Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2017, p. 1101–1114.
  • [25] M. X. Goemans and V. S. Ramakrishnan, Minimizing submodular functions over families of sets, Combinatorica 15 (1995), 499–513.
  • [26] O. Goldschmidt and D. Hochbaum, A Polynomial Algorithm for the kk-cut Problem for Fixed kk, Mathematics of Operations Research (Preliminary version in FOCS 1988) 19 (1994), no. 1, 24–37.
  • [27] F. Guinez and M. Queyranne, The size-constrained submodular k-partition problem, Unpublished manuscript. Available at https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxmbGF2aW9ndWluZXpob21lcGFnZXxneDo0NDVlMThkMDg4ZWRlOGI1. See also https://smartech.gatech.edu/bitstream/handle/1853/43309/Queyranne.pdf, 2012.
  • [28] A. Gupta, D. Harris, E. Lee, and J. Li, Optimal Bounds for the kk-cut Problem, Preprint in arXiv: 2005.08301, 2020.
  • [29] A. Gupta, E. Lee, and J. Li, An FPT Algorithm Beating 2-Approximation for kk-Cut, Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2018, pp. 2821–2837.
  • [30]  , Faster exact and approximate algorithms for k-cut, Proceedings of the 59th IEEE annual Symposium on Foundations of Computer Science, FOCS, 2018, pp. 113–123.
  • [31]  , The number of minimum kk-cuts: improving the Karger-Stein bound, Proceedings of the 51st ACM Symposium on Theory of Computing, STOC, 2019, pp. 229–240.
  • [32]  , The Karger-Stein algorithm is optimal for kk-cut, Proceedings of the 52nd Annual ACM Symposium on Theory of Computing, STOC, 2020, pp. 473–484.
  • [33] M. Henzinger and D. Williamson, On the number of small cuts in a graph, Information Processing Letters 59 (1996), 41–44.
  • [34] Y. Kamidoi, N. Yoshida, and H. Nagamochi, A Deterministic Algorithm for Finding All Minimum kk-Way Cuts, SIAM Journal on Computing 36 (2007), no. 5, 1329–1341.
  • [35] M. Kapralov, R. Krauthgamer, J. Tardos, and Y. Yoshida, Towards tight bounds for spectral sparsification of hypergraphs, Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC, 2021, pp. 598––611.
  • [36] D. Karger, Global min-cuts in RNC, and other ramifications of a simple min-cut algorithm, Proceedings of the 4th annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 1993, pp. 21–30.
  • [37]  , Minimum cuts in near-linear time, Journal of the ACM 47 (2000), no. 1, 46–76.
  • [38] D. Karger and C. Stein, A new approach to the minimum cut problem, Journal of the ACM 43 (1996), no. 4, 601–640.
  • [39] A. Karlin, N. Klein, and S-O. Gharan, A (slightly) improved approximation algorithm for metric tsp, Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC, 2021, p. 32–45.
  • [40] K. Kawarabayashi and M. Thorup, The minimum k-way cut of bounded size is fixed-parameter tractable, Proceedings of the 52nd Annual Symposium on Foundations of Computer Science, FOCS, 2011, pp. 160–169.
  • [41] K-i Kawarabayashi and B. Lin, A nearly 5/3-approximation FPT Algorithm for Min-kk-Cut, Proceedings of the 31st ACM-SIAM Symposium on Discrete Algorithms, SODA, 2020, pp. 990–999.
  • [42] D. Kogan and R. Krauthgamer, Sketching cuts in graphs and hypergraphs, Proceedings of the 2015 Conference on Innovations in Theoretical Computer Science, ITCS ’15, 2015, pp. 367–376.
  • [43] E. Lawler, Cutsets and Partitions of Hypergraphs, Networks 3 (1973), 275–285.
  • [44] J. Li and D. Panigrahi, Deterministic Min-cut in Poly-logarithmic Max-flows, Proceedings of the 61st Annual Symposium on Foundations of Computer Science, FOCS, 2020, pp. 85–92.
  • [45] D. Lokshtanov, S. Saurabh, and V. Surianarayanan, A Parameterized Approximation Scheme for Min kk-Cut, Proceedings of the 61st IEEE annual Symposium on Foundations of Computer Science, FOCS, 2020, pp. 798–809.
  • [46] P. Manurangsi, Almost-polynomial Ratio ETH-hardness of Approximating Densest kk-subgraph, Proceedings of the 49th Annual ACM Symposium on Theory of Computing, STOC, 2017, pp. 954–961.
  • [47]  , Inapproximability of Maximum Biclique Problems, Minimum kk-Cut and Densest At-Least-kk-Subgraph from the Small Set Expansion Hypothesis, Algorithms 11(1) (2018), 10.
  • [48] H. Nagamochi, K. Nishimura, and T. Ibaraki, Computing all small cuts in an undirected network, SIAM Journal on Discrete Mathematics 10 (1997), no. 3, 469–481.
  • [49] M. Nägele, B. Sudakov, and R. Zenklusen, Submodular minimization under congruency constraints, Combinatorica 39 (2019), 1351–1386.
  • [50] K. Okumoto, T. Fukunaga, and H. Nagamochi, Divide-and-conquer algorithms for partitioning hypergraphs and submodular systems, Algorithmica 62 (2012), no. 3, 787–806.
  • [51] K. Quanrud, Fast and Deterministic Approximations for k-Cut, Proceedings of Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX, 2019, pp. 23:1–23:20.
  • [52] M. Queyranne, On optimum size-constrained set partitions, 1999, Talk at Aussiois workshop on Combinatorial Optimization.
  • [53] P. Raghavendra and D. Steurer, Graph Expansion and the Unique Games Conjecture, Proceedings of the 42nd Annual ACM Symposium on Theory of Computing, STOC, 2010, pp. 755–764.
  • [54] R. Ravi and A. Sinha, Approximating k-cuts using network strength as a lagrangean relaxation, European Journal of Operational Research 186 (2008), no. 1, 77–90.
  • [55] H. Saran and V. Vazirani, Finding k Cuts within Twice the Optimal, SIAM Journal on Computing 24 (1995), no. 1, 101–108.
  • [56] T. Soma and Y. Yoshida, Spectral sparsification of hypergraphs, Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2019, pp. 2570–2581.
  • [57] M. Thorup, Minimum kk-way Cuts via Deterministic Greedy Tree Packing, Proceedings of the 40th Annual ACM Symposium on Theory of Computing, STOC, 2008, pp. 159–166.
  • [58] M. Xiao, An Improved Divide-and-Conquer Algorithm for Finding All Minimum k-Way Cuts, Proceedings of 19th International Symposium on Algorithms and Computation, ISAAC, 2008, pp. 208–219.
  • [59] R. Zenklusen, A 1.51.5-Approximation for Path TSP, Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, 2019, pp. 1539–1549.
  • [60] L. Zhao, Approximation algorithms for partition and design problems in networks, Ph.D. thesis, Graduate School of Informatics, Kyoto University, Japan, 2002.
  • [61] L. Zhao, H. Nagamochi, and T. Ibaraki, Greedy splitting algorithms for approximating multiway partition problems, Mathematical Programming 102 (2005), no. 1, 167–183.