Abstract 1 Introduction 2 Preliminaries 3 Maximum Minimal 𝒔𝒕-Separator parameterized by the solution size 4 MAXIMUM MINIMAL OCT parameterized by solution size 5 Conclusion References

MaxMin Separation Problems: FPT Algorithms for st-Separator and Odd Cycle Transversal

Ajinkya Gaikwad ORCID Indian Institute of Science Education and Research, Pune, India Hitendra Kumar Indian Institute of Science Education and Research, Pune, India Soumen Maity Indian Institute of Science Education and Research, Pune, India Saket Saurabh ORCID The Institute of Mathematical Sciences, Chennai, India
University of Bergen, Norway
Roohani Sharma ORCID University of Bergen, Norway
Abstract

In this paper, we study the parameterized complexity of the MaxMin versions of two fundamental separation problems: Maximum Minimal st-Separator and Maximum Minimal Odd Cycle Transversal (OCT), both parameterized by the solution size. In the Maximum Minimal st-Separator problem, given a graph G, two distinct vertices s and t and a positive integer k, the goal is to determine whether there exists a minimal st-separator in G of size at least k. Similarly, the Maximum Minimal OCT problem seeks to determine if there exists a minimal set of vertices whose deletion results in a bipartite graph, and whose size is at least k. We demonstrate that both problems are fixed-parameter tractable parameterized by k. Our FPT algorithm for Maximum Minimal st-Separator answers the open question by Hanaka, Bodlaender, van der Zanden & Ono [TCS 2019].

One unique insight from this work is the following. We use the meta-result of Lokshtanov, Ramanujan, Saurabh & Zehavi [ICALP 2018] that enables us to reduce our problems to highly unbreakable graphs. This is interesting, as an explicit use of the recursive understanding and randomized contractions framework of Chitnis, Cygan, Hajiaghayi, Pilipczuk & Pilipczuk [SICOMP 2016] to reduce to the highly unbreakable graphs setting (which is the result that Lokshtanov et al. tries to abstract out in their meta-theorem) does not seem obvious because certain “extension” variants of our problems are W[1]-hard.

Keywords and phrases:
Parameterized Complexity, FPT, MaxMin problems, Maximum Minimal st-separator, Maximum Minimal Odd Cycle Transversal, Unbreakable Graphs, CMSO, Long Induced Odd Cycles, Sunflower Lemma
Funding:
Ajinkya Gaikwad: The author is supported by the Ministry of Human Resource Development, Government of India, under Prime Minister’s Research Fellowship Scheme (No. MRF-192002-211).
Saket Saurabh: The author is supported by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 819416); and he also acknowledges the support of Swarnajayanti Fellowship grant DST/SJF/MSA-01/2017-18.
Copyright and License:
[Uncaptioned image] © Ajinkya Gaikwad, Hitendra Kumar, Soumen Maity, Saket Saurabh, and
Roohani Sharma; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Fixed parameter tractability
Editors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim Thắng

1 Introduction

In this work we study fixed-parameter tractability of two fundamental MaxMin separation problems: Maximum Minimum st-Separator (MaxMin st-Sep) and Maximum Minimum Odd Cycle Transversal (MaxMin OCT). In the MaxMin st-Sep problem, the input is an undirected graph G, two distinct vertices s,t of G and a positive integer k. The goal is to determine if there exists a subset of vertices Z, of size at least k, such that Z is a minimal st-separator in G. That is, the deletion of Z disconnects s and t and the deletion of any proper subset of Z results in a graph where s and t are connected. Similarly, in the MaxMin OCT problem, given G,k, the goal is to determine if there exists a set of vertices Z, of size at least k, such that Z intersects all odd length cycles in G and Z is minimal, that is no proper subset of Z intersects all odd length cycles in G.

In contrast to the classical polynomial-time solvable st-Separator problem, where the goal is to find an st-separator of size at most k, the MaxMin st-Sep problem is NP-hard [20]. The MaxMin OCT problem can also be shown to be NP-hard by giving a reduction from the MaxMin st-Sep problem (see Section 2.1).

In this work we show that both MaxMin st-Sep and MaxMin OCT are fixed-parameter tractable with respect to the parameter k. The first result, in fact, resolves an open problem which was explicitly posed by Hanaka, Bodlaender, van der Zanden & Ono [20].

MaxMin versions of several classical vertex/edge deletion minimization problems have been studied in the literature. The original motivation behind studying such versions is that the size of the solution of the MaxMin versions reflects on the worst-case guarantees of a greedy heuristic. In addition to this, the MaxMin problems have received a lot of attention also because of their deep combinatorial structure which makes them stubborn even towards basic algorithmic ideas. As we will highlight later, neither greedy, nor an exhaustive-search strategy like branching, works for the MaxMin versions of even the “simplest” problems without significant effort. The MaxMin versions are even harder to approximate. For example, the classic Vertex Cover and Feedback Vertex Set problems admit 2-approximation algorithms [4], which are tight under the Unique Games Conjecture [21]. But the MaxMin Vertex Cover admits a n1/2-approximation, which is tight unless P=NP [8, 31], and the MaxMin Feedback Vertex Set admits a tight n2/3-approximation [13].

We note here that the study of MaxMin versions of classical deletion problems is not the only proposed way of understanding worst-case heursitics guarantees (though in this work we only focus on such versions). Several variations of different problems have been defined whose core is similar. This includes problems like b-Coloring, Grundy Coloring etc, which are analogs for the classic Chromatic Number problem.

Parameterized Complexity of MaxMin problems in literature.

Given the extensive study of the Vertex Cover problem in parameterized complexity, the parameterized complexity MaxMin Vertex Cover has naturally garnered significant attention [30, 8, 31, 2]. More recently, MaxMin Feedback Vertex Set problem has also been explored in [13, 24], where several faster FPT algorithms are proposed. The MaxMin Upper Dominating Set problem has been studied in [1, 3, 5, 14], and its edge variant, the MaxMin Upper Edge Dominating Set, is addressed in [28, 17]. Additionally, MaxMin and MinMax formulations have been investigated for a range of other problems, including cut and separation problems [23, 12], knapsack problems [18, 16], matching problems [9], and coloring problems [6]. We elaborate more on the literature around MaxMin versions of cut and separation problems in the later paragraph.

We remark that for most problems mentioned in the paragraph above, showing that they are FPT parameterized by the solution size is not very difficult (though designing faster FPT algorithms could be much challenging and require deep problem-specific combinatorial insights). The reason is that it is easy to bound the treewidth of the input graph: find a greedy packing of obstructions (edges for MaxMin Vertex Cover and cycles for MaxMin Feedback Vertex Set); if the packing size is at least k, then the instance is a yes-instance, otherwise there exists a vertex cover (resp. feedback vertex set) of the input graph, of size at most 2k (resp. 𝒪(klogk) from the Erdös-Pósa theorem). In both case, the treewidth of the graph is bounded by a function of k. Since these problems are expressible in Monadic Second Order (MSO) Logic, from Courcelle’s theorem a linear-time FPT in k algorithm follows.

Parameterized Complexity of MaxMin cut and separation problems in literature.

The key challenge in the study of cut and separation problems, in contrast to the vertex/edge-deletion problems mentioned in the paragraph above, is that it is not always easy to bound the treewidth of the instances. Having said that the existing work on MaxMin versions of cut and separation problems are still based on treewidth win-win approaches as explained below.

Hanaka et al. [20] studied the parameterized complexity of the MaxMin Separator problem. Here the input is only a connected graph G and a positive integer k, and the goal is to find a minimal vertex set of size at least k whose deletion disconnects the graph. This problem has an easy FPT algorithm parameterized by k based on a win-win approach: if the input graph has large treewidth, then it has a large grid-minor which implies the existence of a large solution; otherwise the treewidth is bounded and since the problem is expressible in MSO, one can solve the problem in linear time on bounded treewidth graphs. Note that this approach completely fails when we are looking for an st-separator (which is the problem we attack in the present work) for fixed vertices s and t. In particular, a large grid minor does not necessarily imply a large st-separator.

In the same work Hanaka et al. designed an explicit FPT algorithm parameterized by treewidth for the MaxMin st-Sep problem and left open the question of determining the parameterized complexity of MaxMin st-Sep parameterized by the solution size k.

Common techniques like flow augmentation [22] and treewidth reduction [27] are not suitable for solving the Maximum Minimal st-Separator problem. This is because the size of the solution in this problem can be arbitrarily large, rather than being bounded by a function of k. When the solution size is unbounded, these methods fail to simplify the problem or give meaningful reductions. We also considered the idea to reduce the problem to a scenario where the solution size is bounded by some function of k using some win-win approach, and then use techniques like treewidth-reduction, unbreakable tree decompositions or even flow-augmentation. But showing the first part seemed tricky and even if one shows that the solution size is bounded, it is still not straightforward to use these classical cut-based techniques as maintaining certificates of minimality of a partial solution is hard in general.

Later Duarte et al. [12] studied the edge-deletion variant of the MaxMin st-Sep problem. They termed it the Largest st-Bond problem and showed, amongst other results, that it is FPT parameterized by the solution size k. At the core of this algorithm is another treewidth-based win-win approach, which seems hard to generalize to the vertex-deletion case.

Problem 1: MaxMin 𝒔𝒕-Sep.

In this work, for the first time, we use the power of highly unbreakable instances to show fixed-parameter tractability of some MaxMin separation problems. For two positive integers q,k, a graph G is called (q,k)-unbreakable if no vertex set of size at most k can disconnect two (large) sets of size at least q each. For the purposes of an informal discussion, we say a graph is unbreakable if it is (q,k)-unbreakable for some values of q and k.

Chitnis et al. [10] developed a win-win approach based on this unbreakable structure of the graph. The approach has two parts: recursive understanding and randomized contractions. In the first part, a large enough part of the input graph is detected that is unbreakable and has small boundary to the rest of the graph. In the second part, a family of “partial solutions” are computed for this unbreakable part of the graph depending on how the solution for the whole graph interacts with its boundary. If the unbreakable part is large enough, then there exists an irrelevant edge/vertex that does not participate in the computed partial solutions, which helps in reducing the size of the graph.

Unfortunately, at the first glance it looks impossible to use this approach for solving any of the two problems MaxMin st-Sep and MaxMin OCT. The problem is that in the above approach one needs to find partial solutions on unbreakable graphs for a more general “extension-kind” of problem. In particular, the family of partial solutions should be such that if there exists a solution for the whole graph, then one should be able to replace the part of this solution that intersects with the unbreakable part, with one of the computed partial solutions. To do so, for example, it seems necessary to, in some implicit way at least, guess how an optimum solution of the whole graph intersects with the boundary of this unbreakable part and the partial solution should at least try to be “compatible” with this guess. The bottleneck here is that given a vertex v, finding whether the graph G has any minimal st-separator containing v is NP-hard (see Lemmas 1 and 2). Thus, the problem of determining, given a subset of vertices X, whether G has a minimal st-separator of size at least k, that contains X, is W[1]-hard (it is in fact para-NP-hard).

Lemma 1.

Let G be a graph containing vertices s and t. A vertex vV(G) is in some minimal st-separator Z if and only if there is an induced path between s and t containing v.

Proof.

For the first part, assume there exists a minimal st-separator Z that contains v. By the minimality of Z, there must be a path P between s and t in the graph G(Z{v}), which passes through v. In other words, path P is such that no vertex in Z other than v appears on it. However, since there is no induced path between s and t through v, two vertices, say a and b, on P must be adjacent, with a lying between s and v, and b lying between v and t. This creates a new path between s and t that does not include any vertex from Z, contradicting the assumption that Z is an st-separator.

For the second part, if there exists an induced path between s and t passing through v, we can construct a minimal st-separator Z that includes v. According to Definition 13, let S be the set of all vertices on the induced path from s to a, and T the set of all vertices on the induced path from b to t, where a is a predecessor of v and b a successor of v. These sets, S and T, serve as a certificate for the st-separator minimality for v. By Lemma 14, we can then construct a minimal st-separator that contains v.

Lemma 2 ([19]).

Given a graph G and any three arbitrary vertices s,t and v, determining if there exist an induced path between s and t through v is NP-hard.

Therefore, a first glance suggests that computing “partial solutions” may be W[1]-hard in general. One can ask if the hardness holds even when the graph is unbreakable (which is our scenario). It turns out yes, because a result by Lokshtanov et al. [26], shows that the FPT algorithm for unbreakable graphs can be lifted to an FPT algorithm on general graphs for problems definable in Counting Monadic Second Order (CMSO) Logic. Since the extension version is also CMSO definable, there shouldn’t be an FPT algorithm for the extension version even on unbreakable graphs.

Despite this issue, we show that the core lies in solving the problem on unbreakable graphs, and in fact the problem on unbreakable graphs is FPT using non-trivial insights. In fact the result of Lokshtanov et al. [26] comes to rescue. In [26] Lokshtanov et al. show that, in order to show fixed-parameter tractability of CMSO definable problems parameterized by the solution size (say k), it is enough to design FPT algorithms for such problems when the input graph is (q,k)-unbreakable, for some large enough q that depends only on k and the problem. The highlight of this result, compared to explicitly doing the above-mentioned approach of recursive understanding and randomized contractions is that, this results says that it is enough to solve the same problem on unbreakable graphs. This allows us to skip taking the provably hard route of dealing with extension-kind problems.

After overcoming the above issues, we can safely say that the core lies in designing an FPT algorithm for the unbreakable case, which itself is far from obvious. We give a technical overview of this phase in Section 1.1.

Problem 2: MaxMin OCT.

The challenges continue for the MaxMin OCT problem. In parameterized complexity, the first FPT algorithm for the classical Odd Cycle Transversal (OCT) problem parameterized by the solution size, introduced the technique of Iterative Compression [29]. Using this, it was shown that OCT reduces to solving at most 3kn instances of the polynomial-time st-Separator problem. Most algorithms for different variants of the OCT problem, like Independent OCT, use the same framework and reduce to essentially solving the variant of st-Separator, like Independent st-Separator [25].

For the MaxMin variant, unfortunately this is not the case. In fact our FPT algorithm for MaxMin OCT is independent of our FPT algorithm for MaxMin st-Sep. The reason is again that finding a minimal odd cycle transversal set (oct) that extends a given vertex is NP-hard (see Observation 3 and Lemma 4).

Observation 3.

A vertex vV(G) does not participate in any induced odd cycle of G if and only if v is not in any minimal OCT.

Proof.

For the forward direction, let Z be a minimal oct of G of size at least k. Then GZ is bipartite. Additionally, for any zZ, the graph G(Z{z}) contains an odd cycle through z, implying the existence of an induced odd cycle Cz containing z. As the cycle is an induced odd cycle, we know that the vertex v does not lie on this cycle. We will show that Z is also a minimal oct in Gv. Clearly, G(Z{v}) is a bipartite graph. Therefore, Z is an oct of Gv. For any vertex zZ, there is an induced odd cycle Cz in G(Z{v}). Therefore, Z is also a minimal odd cycle traversal of Gv.

For the other direction, let Z be a minimal oct of Gv with |Z|k. Then, G(Z{v}) is bipartite. For each zZ, the graph G((Z{z}){v}) contains an induced odd cycle Cz. Since v is not part of any induced odd cycle, GZ is bipartite, and Z remains a minimal odd cycle transversal in G.

Lemma 4.

Given a graph G and a vertex vV(G), determining whether there is an induced odd cycle containing a given vertex is NP-complete.

Proof.

We know that given two vertices a and b, determining if a graph contains an induced path of odd length between a and b is NP-complete [7]. Construct a graph G by adding a new vertex x to G and making it adjacent to vertices a and b. It is clear that there exists an induced odd cycle through x in G if and only if there is an induced path of odd length between a and b in G. This finishes the proof.

At the core of the Iterative Compression based approach for OCT, a subset of vertices X is guessed to be in the solution, and after deleting X, the problem reduces to finding an st-separator, for some s,t. In particular, the final solution is this set X union a minimum st-separator. For the MaxMin case, this amounts to finding a minimal st-separator that together with X forms a minimal oct. Since the extension version of both the MaxMin st-Separator and MaxMin OCT are para-NP-hard, this leaves little hope to use the same approach for MaxMin versions.

Having eliminated this approach, we again go back to the approach via unbreakable graphs. This time again the core lies in designing an FPT algorithm when the graph is highly unbreakable and this algorithm require lot more insights than that of the MaxMin st-Sep. We give a technical overview of this stage in Section 1.1.

1.1 Our results and technical overview

Below we state two main theorems of this work.

Theorem 5.

Maximum Minimal st-Separator parameterized by k is FPT.

Theorem 6.

Maximum Minimal OCT parameterized by k is FPT.

As discussed earlier, to prove both our theorems we first show that both MaxMin st-Sep and MaxMin OCT are CMSO definable. We then use Proposition 7, to reduce to solving the problem on unbreakable graphs.

Proposition 7 (Theorem 1, [26]).

Let ψ be a CMSO formula. For all c, there exists s such that if there exists an algorithm that solves CMSO[ψ] on (s,c)-unbreakable structures in time 𝒪(nd) for some d>4, then there exists an algorithm that solves CMSO[ψ] on general structures in time 𝒪(nd).

In particular, to prove Theorems 5 and 6, it is enough to prove Theorems 8 and 9.

Theorem 8.

For positive integers q,k1, Maximum Minimal st-Separator on (q,k)-unbreakable graphs on n vertices can be solved in time (k1)2qn𝒪(1).

Theorem 9.

For any positive integers q,k1, Maximum Minimal OCT on (q,k)-unbreakable graphs on n vertices can be solved in time 2(qk)𝒪(q)n𝒪(1).

MaxMin 𝒔𝒕-Sep on (𝒒,𝒌)-unbreakable graphs.

To prove Theorem 8, we develop a branching algorithm which exploits the unbreakability of the input graph. The key observation behind the algorithm is that for any two vertex sets S and T such that sS, tT and G[S] and G[T] are connected, every minimal ST-separator is also a minimal st-separator. As we are working on (q,k)-unbreakable graphs, if we manage to find such sets where |S|>q and |T|>q, then every minimal ST-separator has size at least k. In this case, we can construct a minimal ST-separator greedily in polynomial time, which can then be returned as a solution. Therefore, the goal of our branching algorithm is to construct such sets S and T.

The algorithm begins with S={s} and T={t}. We use a reduction rule which ensures that at any point N(S) and N(T) (the neighborhoods of S and T) are minimal ST-separators in G. Clearly, we can assume that |N(S)|<k and |N(T)|<k; otherwise, we have already found a solution. A crucial observation is that if there exists a minimal ST-separator Z of size at least k, then there exists a vertex uN(S)N(T) (resp. uN(T)N(S)) such that uZ. This implies that such a vertex u remains reachable from S even after removing the solution Z. This observation allows us to grow the set S to S{u} (resp. T to T{u}). Since |N(S)|<k (resp. |N(T)|<k), one can branch on all possible vertices uN(S) (resp. uN(T)) and in each branch grow S (resp. T). Based on whether min(|S|,|T|) is |S| or |T|, we branch on the vertices in N(S)N(T) or N(T)N(S), respectively, to increase the size of these sets. Once both S and T have sizes of at least q, we can greedily construct and output a minimal ST-separator (which is also a minimal st-separator) of size at least k.

MaxMin OCT on (𝒒,𝒌)-unbreakable graphs.

The algorithm for this case uses two key lemmas, both of which provide sufficient conditions for a yes instance. Here the input is a (q,2k)-unbreakable graph.

Our first key lemma (Lemma 26) says that if there exists an induced odd cycle of length at least 2q+2 in G, then there always exist a minimal oct in G of size at least k. The proof of this result is based on a branching algorithm, which works similarly to the branching algorithm for the MaxMin st-Separator problem on (q,k)-unbreakable graphs, by carefully selecting the sets S and T at the beginning of the algorithm. Note that we cannot use this lemma, on its own as a a stopping criterion, because one does not know how to find a long induced odd length cycle efficiently. Nevertheless, as we see later it becomes useful together with our second sufficient condition.

Our second key lemma (Lemma 28), which states a second sufficient condition, says that if there exists a large enough family of distinct (and not necessarily disjoint) induced odd cycles in G of lengths at most 2q+1, then there always exists a minimal oct in G of size at least k. The proof of this result relies on the Sunflower Lemma [15, 11], along with the observation that the subgraph induced by the core of the sunflower must be bipartite. Such a large sunflower then serves as a certificate that any oct which is disjoint from the core of the sunflower is large. Also since the core is bipartite, there exists an oct that is disjoint from it.

Another simple, yet important observation is that, if a vertex is not part of any induced odd cycle, then deleting this vertex from the graph does not affect the solution. Again, the problem here is that determining whether a vertex passes through an induced odd cycle is NP-hard (see Lemma 4), therefore we cannot use it as a reduction rule.

Finally, using these two sufficient conditions and the observation above, we provide an FPT algorithm that, given a vertex x, either outputs an induced odd cycle containing x if it exists, or concludes correctly that one of the two scenarios mentioned above occurs. In the later situation we are done. Also if the induced odd cycle containing x, which is returned, is long, then also we are done because of the first sufficient condition. If the algorithm outputs, that there is no induced odd cycle through x, then we can safely delete x from the graph and reduce its size. Because of deleting such vertices, the new graph may no longer be unbreakable, in which case we start solving the problem on the reduced graph completely from scratch.

By running this algorithm for each xV(G), we reduce the graph to one where each vertex is contained in some small induced odd cycle. If such a graph contains a sufficiently large number of vertices, it guarantees the existence of a large family of distinct small induced odd cycles in G, each of length at most 2q+2, in which case we can return a yes instance because of the second sufficient condition. This result finally allows us to bound the number of vertices in the graph by (qk)𝒪(q). We can then solve the problem using a brute-force algorithm on this graph.

2 Preliminaries

Throughout this article, G=(V,E) denotes a finite, simple and undirected graph of order |V|=n. The (open) neighbourhood NG(v) of a vertex vV(G) is the set {u|(u,v)E(G)}. The closed neighbourhood NG[v] of a vertex vV(G) is the set {v}NG(v). The degree of vV(G) is |NG(v)| and is denoted by dG(v). The subgraph induced by DV(G) is denoted by G[D]. For X,YV(G) such that XY=, EG(X,Y) denote the edges of G with one endpoint in X and the other in Y. We will drop the subscripts in the above notation, whenever it is clear from the context. For s,tV(G), by an st-path in G we mean a path from s to t in G. For S,TV(G), by an ST-path we mean a path between a vertex of S to a vertex of T. For i, [i] denotes the set {1,,i}.

Let G be a graph. A pair (X,Y), where XY=V(G), is called a separation if E(XY,YX)=. The order of (X,Y) is |XY|. If there exists a separation (X,Y) of order at most k such that |XY|q and |YX|q, then G is (q,k)-breakable and the separation (X,Y) is called a witnessing separation for the (q,k)-breakability of G. Otherwise, G is (q,k)-unbreakable.

We refer to [11] for the formal definition of Counting Monadic Second Order (CMSO) logic. We will crucially use the following result of Lokshtanov et al. [26] that allows one to show that a CMSO-expressible graph problem is FPT by designing an FPT algorithm for the problem on (q,k)-unbreakable graphs, for any k and a sufficiently large q that depends only on k.

See 7

Next, we state the Sunflower Lemma which is used in this paper. We first define the terminology used in the statement of the next lemma. Given a set system (U,), where U is a set and is a family containing distinct subsets of U, a sunflower with k petals and a core Y is a collection of sets S1,S2,,Sk such that SiSj=Y for all ij. The sets SiY are called the petals of this sunflower. If the sets in are distinct and k2, then none of the petals of the sunflower are empty. Note that a family of pairwise disjoint sets is a sunflower (with an empty core).

Theorem 10 (Sunflower Lemma, [15, 11]).

Let be a family of distinct sets over a universe U, such that each set in has cardinality exactly d. If ||>d!(k1)d, then contains a sunflower with k petals and such a sunflower can be computed in time polynomial in ||, |U|, and k.

2.1 NP-hardness of Maximum Minimal OCT

Lemma 11.

Maximum Minimal OCT is NP-hard.

Proof.

It was shown in [20] that Maximum Weight Minimal st-Separator is NP-hard on bipartite graphs, even when all vertex weights are identical. This implies that Maximum Minimal st-Separator is NP-hard on bipartite graphs. We provide a polynomial-time reduction from the Maximum Minimal st-Separator to the Maximum Minimal OCT. Given an instance I=(G,s,t,k) of the Maximum Minimal st-Separator, we construct an instance I=(G,k=k) of the Maximum Minimal OCT as follows. We assume that k>1. We consider two cases based on the bipartition of G:

Case 1.

If s and t are on the same side of the bipartition, we add an edge between s and t, and subdivide it by adding two vertices u and v, creating a new graph G.

Case 2.

If s and t are on opposite sides of the bipartition, we add a subdivided edge between s and t with one new vertex u, resulting in G.

In both cases, the newly added path between s and t in G is denoted by P.

We now prove that the instances I and I are equivalent.

In the forward direction, let Z be a minimal st-separator in G of size at least k. We claim that Z is a minimal oct in G. Since G is bipartite, any odd cycle in G must involve s and t. Removing Z from G separates s and t, meaning GZ contains only the newly added path P, ensuring no odd cycles in G. Thus, Z is an oct in G.

Next, we show that Z is minimal. For every zZ, the graph G(Z{z}) contains a path between s and t. Lets call it P. In Case 1, this path is even-length, and in Case 2, it is odd-length. In both cases, the graph G(Z{z}) contains two vertex-disjoint paths P nad P between s and t of different parities, forming an odd cycle. Therefore, Z is a minimal oct in G.

In the backward direction, let Z be a minimal oct in G of size at least k. Since k>1, Z does not include the newly added vertices u,v (in Case 1) or u (in Case 2). We claim that Z is a minimal st-separator in G.

If Z were not an st-separator in G, then there would exist a path between s and t in GZ, implying the presence of an odd cycle in GZ involving the path P. Since Z is a minimal oct in G, for every zZ, the graph G(Z{z}) contains an odd cycle. Therefore, G(Z{z}) must contain a path P which is a vertex-disjoint st-path from P. This implies that G(Z{z}) contains an st-path, proving that Z is a minimal st-separator in G. Thus, I and I are equivalent, completing the proof.

3 Maximum Minimal 𝒔𝒕-Separator parameterized by the solution size

The goal of this section is to prove Theorem 5.

See 5

Let (G,k) be an instance of MaxMin st-separator. The goal is to reduce the task to designing an algorithm for (q,k)-unbreakable graphs. For this we first show that the problem can be expressed in CMSO (in fact in MSO). Since MaxMin st-Separator is a maximization problem, the size of the solution can potentially be as large as 𝒪(n). To formulate a CMSO sentence that is bounded by a function of k, we focus on a k-sized subset of the solution and encode the minimality of each of its vertices in a way that allows for its extension to a “full-blown” minimal solution.

Lemma 12.

Maximum Minimal st-Separator is CMSO-definable with a formula of length 𝒪(k).

Proof.

The instance (G,k) is a yes instance of MaxMin st-Sep if there exists ZV(G) of size at least k such that GZ has no st-path (equivalently s and t are in different connected components of GZ), and for each vZ, G(Z{v}) has an st-path (that is s and t are in the same connected component of G(Z{v})).

Alternately, suppose ZV(G) (of arbitrarily large size) such that GZ has no st-path, and Z contains k distinct vertices v1,,vk such that for each i[k], G(Z{vi}) contains an st-path. Then Z may not be a minimal st-separator but it always contains a minimal st-separator of size at least k. In fact, (G,k) is a yes instance if and only if such a set Z exists. These properties of Z can be incorporated as a CMSO formula ψ as follows, where 𝐜𝐨𝐧𝐧(U) is a CMSO sentence that checks whether a vertex set U induces a connected graph. The CMSO description of CMSO can be, for example, found in [11].

ψ= ZV(G)(v1,v2,,vkZ(1i<jkvivj)
UV(G)Z((sU)(tU)𝐜𝐨𝐧𝐧(U))
i=1k¬UV(G)(Z{vi})((sU)(tU)𝐜𝐨𝐧𝐧(U)))

It is clear that the size of the above formula ψ depends linearly on k.

From Lemma 12 and Proposition 7, to prove Theorem 5, it is enough to prove Theorem 8.

See 8

We prove Theorem 8 in Section 3.1. As mentioned earlier, given a vertex set V, it may not always be possible to extend it to a minimal st-separator. Below, we give a definition for a certificate for the st-separator minimality of a set VV(G), which guarantees the existence of a minimal st-separator that contains (extends) the set V.

Definition 13.

Let G be a graph, s,tV(G) and VV(G). We say that two sets of vertices S and T serve as a certificate for the st-separator minimality for V if the following conditions hold: sS and tT, ST=, G[S] and G[T] are connected subgraphs, EG(S,T)=, and for every vV, the subgraph G[ST{v}] is connected. Note that V(ST)=.

Lemma 14.

Let G be a graph, and let s,tV(G). If there exists a certificate for the st-separator minimality of VV(G), then there exists a minimal st-separator in G that includes all the vertices of V.

Proof.

Let S and T serve as a certificate for the st-separator minimality of V. We will construct a set VZV(G)(ST) which is a minimal st-separator in G. The set Z is constructed iteratively. Initialize Z:= and G:=G[ST]. Fix an arbitrary ordering of the vertices in V(G)(ST).

For each vertex v in the prescribed order: (i) if G[ST{v}] is connected, then update Z:=Z{v}, otherwise (ii) if G[ST{v}] is not connected, then update G:=G[V(G){v}], update S to be the vertices reachable from old S in G, and update T to be the vertices reachable from old T in G.

The process continues until all vertices in V(G)V(G) have been processed. The final set Z is then returned as a minimal st-separator of G. Note that if the initial sets S and T served as a certificate for the minimality of the st-separator V, then VZ, as the subgraph G[ST{v}] will always be connected for each vV during every stage of the above process.

3.1 Maximum Minimal 𝒔𝒕-Separator on (𝒒,𝒌)-unbreakable graphs

In this section, we prove Theorem 8. To prove Theorem 8 we design a branching algorithm that maintains a tuple (G,S,T,k,q) where G is a (q,k)-unbreakable graph, S,TV(G) and q,k are positive integers. Additionally the sets S,T satisfy the following properties.

  1. 1.

    sS and tT,

  2. 2.

    ST=,

  3. 3.

    both G[S] and G[T] are connected and

  4. 4.

    E(S,T)=.

An instance (G,S,T,k,q) satisfying the above properties is called a valid instance. Given a valid instance, we design a branching algorithm that outputs a minimal ST-separator of G, which is disjoint from ST, and has size at least k, if it exists. The algorithm initializes S:={s} and T:={t}. Note that the above-mentioned properties of the sets S,T ensure that at each stage of the algorithm, every minimal ST-separator is also a minimal st-separator.

The algorithm has one reduction rule (Reduction Rule 3), four stopping criteria (Reduction Rules 124 and 5) and one branching rule (Branching Rule 1). The branching rule is applied when neither the reduction rule nor the three stopping criterion can be applied. The overall idea is the following. Observe that N(S)N(T) is a part of any minimal ST-separator. Therefore, if |N(S)N(T)|k, then we can correctly report that G has a minimal ST-separator of size at least k. Reduction Rule 3 ensures that N(S) (resp. N(T)) is a minimal ST-separator. Therefore when Reduction Rule 3 is no longer applicable, if |N(S)|k (resp. |N(T)|k), then we can correctly report that G has a minimal ST-separator of size at least k. In fact, |N(S)| (resp. |N(T)|) is a minimal ST-separator of size at least k. Otherwise, we have that both |N(S)|<k and |N(T)|<k. In this case, we use the branching rule. Say, without loss of generality that |S||T|. Since N(S) is a minimal ST-separator, but its size is strictly less than k and every minimal ST-separator contains N(S)N(T), there exists a vertex in N(S)N(T) that does not belong to the solution (if there exists a solution of size at least k). In this case we branch on the vertices of N(S)N(T). If we guess that a vertex vN(S) does not belong to the solution, since vN(S), v remains reachable from S after removing the solution. In this case, we update S:=S{v}. Therefore, each application of the branching rule increases the size of the smaller of the two sets S or T. When both |S|q and |T|q, from the (q,k)-unbreakability of G, we know that every ST-separator of G has size at least k. And hence there is a minimal st-separator of size at least k.

Below we formalize the above arguments. Given I=(G,S,T,k,q), we define its measure μ(I)=qmin(|S|,|T|). We state the reduction rules and a branching rule below. We apply the reduction rules in order exhaustively before applying the branching rule.

Lemma 15.

Let I=(G,S,T,k,q) where G is (q,k)-unbreakable. If μ(I)0, then every minimal ST-separator, which is disjoint from ST, is of size at least k.

Proof.

If μ(I)0, then qmin(|S|,|T|). For the sake of contradiction, let us assume that there exists a minimal ST-separator Z in G, which is disjoint from ST, and has size strictly less than k. Note that GZ contains two connected components of size at least q each: one containing S, say CS, and the other containing T. Consider the separation (CSZ,V(G)CS) of G. This is a witnessing separation that G is (q,k)-breakable, which is a contradiction.

The safeness of Reduction Rule 1 is immediate from Lemma 15.

Reduction Rule 1.

If μ(I)0, then report a yes instance.

Reduction Rule 2.

If |N(S)N(T)|k, then report a yes instance.

Lemma 16.

Reduction Rule 2 is safe.

Proof.

The above reduction rule is safe because the sets S and T serve as a certificate for the st-separator minimality of the vertex set N(S)N(T). From Lemma 14, there exists a minimal st-separator in G that contains N(S)N(T). Since |N(S)N(T)|k, we conclude that G contains a minimal st-separator of size at least k.

Lemma 17.

If there exists vN(S) (resp. vN(T)), such that every path from v to any vertex of T (resp. S) intersects N(S){v} (resp. N(T){v}), or there is no path from v to any vertex of T (resp. S), then there is no minimal ST-separator which is disjoint from ST and that contains v.

Proof.

When v has no path to any vertex of T, then such a vertex cannot lie on any ST-path and hence, is not a part of any minimal ST-separator.

Suppose now that vN(S) and every path from v to any vertex of T intersects N(S){v}. The other case when vN(T) is symmetric. For the sake of contradiction, say there exists a minimal ST-separator Z such that vZ and Z(ST)=. This implies that in the graph GZ, there is no path from any vertex in S to any vertex in T, but in the graph G(Z{v}), such a path, say P, exists. Let P be a path from s to t in G(Z{v}), where sS and tT.

Since v cannot reach any vertex of T (in particular t) in G, without traversing another vertex, say u, in N(S), consider the u to t subpath of P (which does not contain v). Since uN(S), let s′′N(u)S. Since Z(ST)=, there exists a path P from s′′ to t in G(Z{v}) that does not contain v (take the edge (s′′,u), followed by the u to t subpath of P). This contradicts that Z is an ST-separator.

The following reduction rule ensures that both N(S) and N(T) are minimal ST-separators.

Reduction Rule 3.

If there exists vN(S) (resp. vN(T)), such that every path from v to any vertex of T (resp. S) intersects N(S) (resp. N(T)), or there is no path from v to any vertex of T (resp. S), then update S:=S{v} (resp. T:=T{v}).

Lemma 18.

Reduction Rule 3 is safe.

Proof.

From Lemma 17, no minimal ST-separator, that is disjoint from ST, contains v. Since vN(S) (resp. vN(T)), for any minimal ST-separator Z, v is reachable from S in GZ, since ZS= (resp. ZT=). Thus, Z is also a minimal separator between S{v} and T.

Lemma 19.

When Reduction Rule 3 is no longer applicable, N(S) (resp. N(T)) is a minimal ST-separator.

Proof.

First note that N(S) (resp. N(T)) is an ST-separator in G which is disjoint from ST, since N(S)T= because E(S,T)=.

For the sake of contradiction, say N(S) is not a minimal ST-separator in G. In particular, there exists vN(S) such that N(S){v} is also an ST-separator. Since Reduction Rule 3 is no longer applicable, there exists a path from v to a vertex of T, say t, which has no other vertex of N(S). Such a path together with an edge from v to a vertex of S, gives an ST-path, which intersects N(S) only at v.

From Lemma 19, the safeness of Reduction Rule 4 is immediate.

Reduction Rule 4.

If |N(S)|k or |N(T)|k then report a yes instance.

Reduction Rule 5.

If N(S)N(T)= or N(T)N(S)=, then report a no instance.

Lemma 20.

Reduction Rule 5 is safe.

Proof.

Suppose N(S)N(T)=. The other case is symmetric. Then any ST-path uses only the vertices of ST(N(S)N(T)). In this case there is a unique ST-separator in G which is disjoint from ST. This separator is N(S)N(T). Since Reduction Rule 2 is no longer applicable, |N(S)N(T)|<k. Thus G has no ST-separator of size at least k.

Branching Rule 1.

If |S||T| (resp. |T|<|S|) and N(S)N(T) (resp. N(T)N(S)), then for each vertex xN(S)N(T) (resp. xN(T)N(S)), we recursively solve the instance (G,S{x},T,k,q) (resp. (G,S,T{x},k,q)).

First observe that the new instances created in this branching rule are all valid, that is, the sets S{x}, T (respectively S, T{x}) satisfy the desired properties: the two sets S{x} and T (resp. S and T{x}) are disjoint, G[S{x}] (resp. G[T{x}]) is connected and EG(S{x},T)= (resp. EG(S,T{x})) because xN(S)N(T).

Lemma 21.

Branching Rule 1 is exhaustive, that is, G has a minimal ST-separator of size at least k which is disjoint from ST if and only if there exists xN(S)N(T) (resp. xN(T)N(S)) such that G has a minimal separator of size at least k between S{x} and T (resp. S and T{x}), which is disjoint from ST{x}.

Proof.

Assume that |S||T|. The other case is symmetric. Since Reduction Rule 4 is no longer applicable, |N(S)|<k. Since Reduction Rule 3 is no longer applicable and because of Lemma 19, N(S) is a minimal ST-separator. Also because N(S)N(T) is contained in every minimal ST-separator in G (from the proof of Lemma 16), for any minimal ST-separator in G of size at least k, say Z, which is disjoint from ST, there exists a vertex xN(S)N(T) such that xZ. Since xN(S), x remains reachable from S in GZ. In particular, Z is also a minimal separator between S{x} and T.

In the other direction say the instance (G,S{x},T,k,q) reports a minimal separator, say Z, between S{x} and T of size at least k. Since S{x} and T satisfy the desired properties of a valid instance, Z is also a minimal ST-separator in G.

Proof of Theorem 8.

Initialize an instance I=(G,S,T,k,q) where S={s} and T={t}. Note that μ(I)=q1. Apply Reduction Rules 1-5 exhaustively in-order. Without loss of generality, say |S||T|, the other case is analogous. Since none of the reduction rules are applicable, 1|N(S)N(T)|<k. Now apply Branching Rule 1. After every application of the Branching Rule 1, μ(I), where I is the new instance, strictly decreases if |S||T|. If |S|=|T|, then after every two applications of the Branching Rule 1, the measure μ decreases by 1. From Reduction Rule 1, if μ of an instance is at most 0, then we stop and report a yes instance. The correctness of this algorithm follows from the safeness of the Reduction Rules 1-5 and Branching Rule 1. We now argue about the running time.

Note that all reduction rules can be applied in polynomial time. Also all reduction rules, except Reduction Rule 3, is applied only once throughout the algorithm. Reduction Rule 3 is applied at most 2q times (or until both S and T grow to a size of q each). Thus only polynomial time is spent on all applications of all reduction rules. The branching rule branches in at most k1 instances and has depth bounded by 2q. Therefore the overall running time is (k1)2qn𝒪(1).

4 MAXIMUM MINIMAL OCT parameterized by solution size

In this section, we prove Theorem 6.

See 6

Throughout this section, we call a set of vertices of G whose deletion results in a bipartite graph, an oct of G. To prove Theorem 6, we first show that the problem is CMSO definable (Lemma 22). Using Proposition 7, one can reduce to solving this problem on (q,2k)-unbreakable graphs. On (q,2k)-unbreakable graphs, we then list and prove two sufficient conditions (Lemmas 28 and 26) which always imply a yes instance (in fact the first one implies a yes instance even when the input graph is not (q,2k)-unbreakable). We also make an observation about irrelevant vertices that can be deleted without changing the solution of the instance (Observation 3). Even though checking whether any one of these sufficient conditions hold or finding these irrelevant vertices, may not be efficient, nonetheless we design an FPT algorithm that correctly concludes that at least one of the sufficient conditions is met, or outputs an irrelevant vertex, whenever the number of vertices in the graph is strictly more than a number with is a function of q and k (Theorem 25). In the case when an irrelevant vertex is outputted, deleting them reduces the size of the graph but the resulting graph may not be (q,2k)-unbreakable. In this case, we start from the beginning and solve the problem from scratch (on general graphs). If none of the above hold, then the number of vertices in the graph is bounded, and we can solve the problem using brute-force.

Lemma 22.

Maximum Minimal OCT is CMSO-definable by a formula of length 𝒪(k).

Proof.

Let (G,k) be an instance of Maximum Minimal OCT. Then (G,k) is a yes instance if there exists ZV(G) of size at least k such that GZ is bipartite and for each vZ, G(Z{v}) is not bipartite.

Alternately, let ZV(G) such that Z contains k distinct vertices v1,,vk, such that GZ is bipartite and for each i[k], G(Z{v}) is not bipartite. Observe that if such a set Z exists, it may not be a minimal oct of G, but it definitely contains a minimal oct of size at least k. In fact, (G,k) is a yes instance if and only if such a set Z exists. We phrase this description of Z as the CMSO formula ψ as defined below.

φZV(G) (v1,v2,,vkZ(1i<jkvivj)
bipartite(V(G)Z)
(i=1k¬bipartite(V(G)(Z{vi})))

where bipartite(W) is a CMSO sentence given below, which checks whether the graph induced by the vertices in W is bipartite.

bipartite(W) XW,YW
((XY=)(XY=W)
u,vW(E(u,v)(uXvY))).

It is clear that the size of the above formula φ depends linearly on k.

Proof of Observation 3.

For the forward direction, let Z be a minimal oct of G of size at least k. Then GZ is bipartite. Additionally, for any zZ, the graph G(Z{z}) contains an odd cycle through z, implying the existence of an induced odd cycle Cz containing z. As the cycle is an induced odd cycle, we know that the vertex v does not lie on this cycle. We will show that Z is also a minimal oct in Gv. Clearly, G(Z{v}) is a bipartite graph. Therefore, Z is an oct of Gv. For any vertex zZ, there is an induced odd cycle Cz in G(Z{v}). Therefore, Z is also a minimal odd cycle traversal of Gv.

For the other direction, let Z be a minimal oct of Gv with |Z|k. Then, G(Z{v}) is bipartite. For each zZ, the graph G((Z{z}){v}) contains an induced odd cycle Cz. Since v is not part of any induced odd cycle, GZ is bipartite, and Z remains a minimal odd cycle transversal in G.

Because of Lemma 22 we can invoke Proposition 7. We invoke Proposition 7 with c=2k. Let q be the s from this proposition that corresponds to this choice of c. We conclude that to prove Theorem 6 it is enough to prove Theorem 9.

See 9

We prove Theorem 9 in Section 4.1. Next we define a certificate for minimality of oct for a vertex set V. The existence of such certificates guarantees the existence of a minimal oct which contains V.

Definition 23.

Given a graph G and a set of vertices VV(G), we say that an induced subgraph G of G is a certificate for the oct-minimality of V, if G is bipartite and for every vV, G[V(G){v}] contains an odd cycle.

Lemma 24.

Given a graph G and a set of vertices V, if there is a certificate for the oct-minimality of V then there exists a minimal oct of G that contains all the vertices in V.

Proof.

Let G be a certificate for minimality of V. First observe that VV(G)= because G is bipartite, but G[V(G){v}], for any vV, contains an odd cycle. We now construct a minimal oct of G, say Z, iteratively as follows. Initialize Z=. Fix an arbitrary ordering of the vertices in V(G)V(G) (note that VV(G)V(G)). Traverse the vertices of V(G)V(G) in this order. For any vertex vV(G)V(G) in the chosen order:

  • if G[V(G){v}] is bipartite, update G:=G[V(G){v}], that is add v to G, otherwise

  • G[V(G){v}] contains an odd cycle, in which case add v to the set Z.

When all the vertices in V(G)V(G) have been processed as stated above, then the set Z is a minimal oct of G. Moreover, one can observe that if we start with G which a certificate for minimality of V then VZ.

4.1 Maximum Minimal OCT on (𝒒,𝟐𝒌)-unbreakable graphs

The goal of this section is to prove Theorem 9. Let (G,k) be an instance of MaxMin OCT. A vertex vV(G) is called irrelevant if (G,k) is equivalent to (Gv,k). To prove Theorem 9 it is enough to prove Theorem 25.

Theorem 25.

For positive integers q,k1, given as input a graph G which is (q,2k)-unbreakable on at least (2q+2)2(2q+2)!(k1)2q+2+1 vertices, there exists an algorithm that runs in time (qk)𝒪(q)n𝒪(1), and either returns a minimal oct of G of size at least k or, outputs an irrelevant vertex v.

To see the proof of Theorem 9 assuming Theorem 25, observe that if the number of vertices is at most (2q+2)2(2q+2)!(k1)2q+2, then the problem can be solved using brute-force. Otherwise, the algorithm of Theorem 25 either reports a yes instance, or finds an irrelevant vertex v, in which case, delete v from the graph and solve the problem on Gv (which is not necessarily (q,2k)-unbreakable). The rest of the section is devoted to the proof of Theorem 25.

Irrelevant vertices.

Recall Observation 3 from Section 1.

See 3

Note that we cannot explicitly design a (polynomial-time) reduction rule based on the above observation, because determining whether there is an induced odd cycle containing a given vertex is NP-complete (see Lemma 4).

Sufficient condition 1 [Long induced odd cycle in 𝑮].

Lemma 26.

For any positive integers q,k, if G is (q,2k)-unbreakable and there exists an induced odd cycle in G of length at least 2q+2, then G has a minimal oct of size at least k.

Proof.

Let C be an induced odd cycle of length at least 2q+2 in G. Let x,yV(C) be arbitrarily chosen vertices such that C{x,y} contains exactly two paths S and T each of length at least q each. Moreover since C is an odd cycle one of these two paths is odd and the other is even. Without loss of generality, we can assume that S is a path of even length and T is a path of odd length. Let Zx:={x} and Zy:={y}.

Below we define a procedure that iteratively grows the sets in (S,T,Zx,Zy) while maintaining the following invaraints.

  • The sets S,T and ZxZy are pairwise disjoint.

  • G[S] is connected, bipartite and |S|q.

  • G[T] is connected, bipartite and |T|q.

  • G[ST{y}] is a certificate for the oct-minimality for Zx (and in particular, G[ST{y}] is bipartite).

  • G[ST{x}] is a certificate for the oct-minimality for Zy (and in particular, G[ST{x}] is bipartite).

  • N(x)S, N(x)T, N(y)S and N(y)T.

Observe that the starting sets (S,T,Zx,Zy) defined earlier satisfy these invariant. Note that in invariants 4 and 5, the sets G[ST{y}] and G[ST{x}], which serve as a certificate of minimality for Zx and Zy respectively, rely on the fact that C is an induced odd cycle. Since the iterative procedure grows these sets, the last property always hold. Also G[ST{x}{y}] contains the odd cycle C. The idea is to grow these sets until Zx or Zy has size at least k. If this happens then we can use Lemma 24, to conclude that G has a minimal oct of size at least k.

Since G is (q,2k)-unbreakable and |S|,|T|q, we have that every ST-separator in G has size at least 2k+1. In particular, |N(S)N(T)|2k+1. Thus, if we guarantee that (N(S)N(T))(ZxZy), then |ZxZy|2k+1. Hence either |Zx|k or |Zy|k.

Towards this we grow the sets in (S,T,Zx,Zy) as follows. Let us call the vertices in STZxZy as marked.

Claim 27.

Let vN(S)N(T) be an unmarked vertex. Either G[ST{y,v}] or G[ST{x,v}] contains an odd cycle.

Proof.

Since both G[S] and G[T] are connected bipartite graphs, there exists a unique bipartition, say S=ASBS and T=ATBT of S and T respectively. Recall that x has neighbours in both the sets S and T. Since the graph G[S{x}] is bipartite, without loss of generality, assume that (N(x)S)BS. Since G[T{x}] is also bipartite, without loss of generality assume that N(x)TBT. Since the graph G[ST{x}] is connected and bipartite, we know that there is an unique bipartition of G[ST{x}] which is G[ST{x}]=((ASAT{x})(BSBT)).

Now, let us focus on the connected graph G[ST{y}]. Because G[S{y}] is bipartite, without loss of generality, we can assume that (N(y)S)BS. We now show that (N(y)T)AT. For the sake of contradiction, assume that this is not the case. This implies that there are two possibilities. If y has neighbours in both the sets AT and BT then it leads to a contradiction as G[T{y}] is bipartite. If the neighbours of y are contained in the set BT then it leads to a contradiction as it would imply that G[ST{x,y}] is bipartite.

Therefore, we get an unique bipartition G[ST{y}]=((ASBT{y})(BSAT)) of G[ST{y}]. As the vertex v has neighbours in both the sets S and T, there are four possibilities: (i) if v has a neighbour in AS and AT then G[ST{y,v} contains an odd cycle, (ii) if v has a neighbour in AS and BT then G[ST{x,v} contains an odd cycle, (iii) if v has a neighbour in AT and BS then G[ST{x,v} contains an odd cycle, or (iv) if v has a neighbour in AT and BT then G[ST{y,v} contains an odd cycle. This finishes the proof of the claim.

Let v be an arbitrarily chosen unmarked vertex.

Case 1: vN(S)N(T).

From Lemma 27, either G[ST{x,v}] or G[ST{y,v}] or both contain an odd cycle. If G[ST{x,v}] contain an odd cycle, then update Zy:=Zy{v}. If G[ST{y,v}] contain an odd cycle, then update Zx:=Zx{v}. If both are true then update Zx:=Zx{v} and Zy:=Zy{v}. The sets S,T remain the same. Observe that in either case, the updated sets satisfy all the invariants.

Case 2: vN(S)N(T).

In this case, if G[S{v}] is bipartite, then update S:=S{v}. The other sets T,Zx,Zy remain the same. Note that the updated sets (in particular S) maintains the invariant. Otherwise G[S{v}] contain an odd cycle. In this case update Zx:=Zx{v} and Zy:=Zy{v}.

Case 3: vN(T)N(S).

This case is symmetric to Case 2.

We repeat the above process until we have sets (S,T,Zx,Zy) such that all vertices in N(S)N(T) are marked. In particular, in this case (N(S)N(T))(ZxZy). As argued earlier, this implies either |Zx|k or |Zy|k. In both cases, we report that G has a minimal oct of size at least k from Lemma 24.

Sufficient condition 2 [Large family of short induced odd cycles].

Lemma 28.

Let (G,k) be an instance of Maximum Minimal OCT. Let d be any positive integer. If is a family containing distinct induced odd cycles of G of length at most d and ||>d(d!)(k1)d then G has a minimal oct of size at least k.

Proof.

From the Sunflower Lemma (Theorem 10), we can conclude that there exist at least k induced odd cycles {F1,F2,,Fk} such that V(Fi)V(Fj)=Y for all i,j[k]. As the cycles in are induced odd cycles, the graph induced by the set of vertices in Y must be bipartite. Note that Y could possibly be empty. We claim that G has a minimal odd cycle transversal of size at least k. Such a minimal odd cycle transversal can be obtained by the greedy algorithm described in the proof of Lemma 24. We start with the induced subgraph G[Y]. Clearly, any minimal odd cycle transversal obtained by this algorithm will contain at least one vertex from V(Fi)Y for each i[k]. Since the sets V(Fi)Y for each i[k] are disjoint, a minimal odd cycle transversal must have a size of at least k.

The combination lemma.

Lemma 29.

Given a graph G, a vertex xV(G) and positive integers d,k, there is an algorithm that runs in (kd)𝒪(d)n𝒪(1) time, and correctly outputs one of the following:

  1. 1.

    an induced odd cycle containing x,

  2. 2.

    an induced odd cycle of length at least d,

  3. 3.

    a family of distinct induced odd cycles, each of length at most d1, such that ||dd!(k1)d,

  4. 4.

    a determination that there is no induced odd cycle containing x in G.

Proof.

Suppose G contains an induced odd cycle containing x. Let Cx be one such cycle. We design an iterative algorithm that maintains a pair (G,), where G is an induced subgraph of G and is a family of induced odd cycles of length at most d1 in G, with the following additional properties. The graph G is guaranteed to contain the cycle Cx, if Cx existed in the first place in G, and every induced odd cycle in G is distinct from any cycle in the family .

Initialize G:=G and =. In each iteration, the algorithm finds an arbitrary induced odd cycle of G, say F, in polynomial time, if it exists. The following cases can now arise.

  1. 1.

    The algorithm fails to find the cycle F. That is G has no induced odd cycle. In this case, report that G has no induced odd cycle passing through x.

    This is correct because if G had such an induced odd cycle passing through x, then Cx exists in G and by the invariants of the algorithm Cx also exists in G, which is a candidate for the cycle F.

  2. 2.

    If F contains x, then return F as the induced odd cycle containing x.

  3. 3.

    If the length of F is at least d, then return F as an induced odd cycle of length at least d in G.

  4. 4.

    Otherwise, F exists but does not contain x and has a length of at most d1.

    By the invariants of the pair (G,), F is distinct from all the cycles in . Update by adding F to it. Then the updated satisfies the required invariants.

    To update G proceed as follows. Guess the intersection of V(F) with V(Cx) (in G). Let this be F. The number of guesses is bounded by 2|F|2d1. Since F does not contain x, F is not equal to Cx. Hence, FF is non-empty. Update G:=G(FF). Observe that the updated G contains Cx if the old Gx contained it. Also every induced odd cycle in the updated G is distinct from F (that has been newly added to ) because a non-empty subset of V(F) (that is V(F)V(F)) has been deleted in the updated G.

If the first, second or third condition mentioned above does not apply in each of the first dd!(k1)d iterations, then at the end of the i-th iteration where i=dd!(k1)d, ||=dd!(k1)d. In this case, we return as a large family of induced odd cycles of length at most d1 of G.

This finishes the description and correctness of the algorithm. For the running time observe that in each iteration, the algorithm runs in polynomial time to find F and check the first three conditions. The fourth condition in each iteration makes 2d1 guesses and the number of iterations is at most dd!(k1)d. Therefore the overall running time is (kd)𝒪(d)n𝒪(1).

Proof of Theorem 25.

The algorithm for Theorem 25 proceeds as follows. Recall that G is a (q,k)-unbreakable graph. For each xV(G), run the algorithm of Lemma 29 on input (G,x,2q+2,k).

If for some xV(G), the algorithm returns an induced odd cycle of length at least 2q+2 or a family of distinct induced odd cycles of length at most 2q+1 such that ||(2q+2)(2q+2)!(k1)2q+2 then we return a yes instance due to Lemma 26 or 28, respectively. If the algorithm returns that there is no induced odd cycle containing x in G then we can delete x from G and solve the problem on the reduced graph. This is safe because of Observation 3. Finally, if the algorithm returns an induced odd cycle containing x of length at least 2q+2, then again report that it is a yes instance because of Lemma 26.

If none of the above conditions hold, then for each xV(G), the algorithm of Lemma 29 returns an induced odd cycle containing x, say Cx, of length at most 2q+1. Note that the cycles returned for each xV(G) in this case may not be distinct.

The following claim shows that if the number of vertices in G is large (and there is an induced odd cycle of small length for each vertex of the graph), then there exists a large family containing distinct induced odd cycles of small length in G, in which case we can report a yes instance by Lemma 28.

Claim 30.

If the number of vertices in G is at least (2q+2)2(2q+2)!(k1)2q+2+1, then G contains a minimal oct of size at least k.

Proof.

We will construct a of distinct induced odd cycles in G of length at most 2q+1. For every vertex xV(G), we take a cycle Cx. Unless the cycle Cx is already in , we will update ={Cx}. As the length of cycles in Cx returned by the above algorithm is bounded by 2q+1, if the number of vertices in G is more than (2q+1)(2q+2)(2q+2)!(k1)2q+2 then ||(2q+2)(2q+2)!(k1)2q+2. Due to Lemma 28, we return a yes instance.

This finishes the proof of Theorem 25.

5 Conclusion

In this paper, we established that both Maximum Minimal st-Separator and Maximum Minimal Odd Cycle Transversal (OCT) are fixed-parameter tractable parameterized by the solution size. Instead of using treewidth-based win-win approaches, we design FPT algorithms for highly unbreakable graphs for both these problems. While we have demonstrated the FPT nature of these problems, the challenge of developing efficient FPT algorithms remains open. Additionally, the edge-deletion version of the Maximum Minimal OCT can be shown to be FPT using similar techniques, but with much simpler ideas. But designing an faster/explicit FPT algorithm even for this version remains an interesting direction for future research. Finally, the parameterized complexity of the weighted version of Maximum Minimal st-Separator and Maximum Minimal Weight OCT remain open as very large weights cause problems while formulating the problem in CMSO, in order to reduce it to the unbreakable case.

References

  • [1] Hassan AbouEisha, Shahid Hussain, Vadim V. Lozin, Jérôme Monnot, Bernard Ries, and Viktor Zamaraev. Upper domination: Towards a dichotomy through boundary properties. Algorithmica, 80(10):2799–2817, 2018. doi:10.1007/S00453-017-0346-9.
  • [2] Júlio Araújo, Marin Bougeret, Victor Campos, and Ignasi Sau. Introducing lop-kernels: A framework for kernelization lower bounds. Algorithmica, 84(11):3365–3406, November 2022. doi:10.1007/s00453-022-00979-z.
  • [3] Júlio Araújo, Marin Bougeret, Victor A. Campos, and Ignasi Sau. Parameterized complexity of computing maximum minimal blocking and hitting sets. Algorithmica, 85(2):444–491, September 2022. doi:10.1007/s00453-022-01036-5.
  • [4] Vineet Bafna, Piotr Berman, and Toshihiro Fujito. A 2-approximation algorithm for the undirected feedback vertex set problem. SIAM Journal on Discrete Mathematics, 12(3):289–297, 1999. doi:10.1137/S0895480196305124.
  • [5] Cristina Bazgan, Ljiljana Brankovic, Katrin Casel, Henning Fernau, Klaus Jansen, Kim-Manuel Klein, Michael Lampis, Mathieu Liedloff, Jérôme Monnot, and Vangelis Th. Paschos. The many facets of upper domination. Theor. Comput. Sci., 717:2–25, 2018. doi:10.1016/J.TCS.2017.05.042.
  • [6] Rémy Belmonte, Eun Jung Kim, Michael Lampis, Valia Mitsou, and Yota Otachi. Grundy distinguishes treewidth from pathwidth. SIAM J. Discret. Math., 36(3):1761–1787, 2022. doi:10.1137/20M1385779.
  • [7] Dan Bienstock. On the complexity of testing for odd holes and induced odd paths. Discrete Mathematics, 90(1):85–92, 1991. doi:10.1016/0012-365X(91)90098-M.
  • [8] Nicolas Boria, Federico Della Croce, and Vangelis Th. Paschos. On the max min vertex cover problem. Discrete Applied Mathematics, 196:62–71, 2015. Advances in Combinatorial Optimization. doi:10.1016/j.dam.2014.06.001.
  • [9] Juhi Chaudhary, Sounaka Mishra, and B. S. Panda. Minimum maximal acyclic matching in proper interval graphs. In Amitabha Bagchi and Rahul Muthu, editors, Algorithms and Discrete Applied Mathematics - 9th International Conference, CALDAM 2023, Gandhinagar, India, February 9-11, 2023, Proceedings, volume 13947 of Lecture Notes in Computer Science, pages 377–388. Springer, 2023. doi:10.1007/978-3-031-25211-2_29.
  • [10] Rajesh Chitnis, Marek Cygan, MohammadTaghi Hajiaghayi, Marcin Pilipczuk, and Michał Pilipczuk. Designing fpt algorithms for cut problems using randomized contractions. SIAM Journal on Computing, 45(4):1171–1229, 2016. doi:10.1137/15M1032077.
  • [11] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
  • [12] Gabriel L. Duarte, Hiroshi Eto, Tesshu Hanaka, Yasuaki Kobayashi, Yusuke Kobayashi, Daniel Lokshtanov, Lehilton L. C. Pedrosa, Rafael C. S. Schouery, and Uéverton S. Souza. Computing the largest bond and the maximum connected cut of a graph. Algorithmica, 83(5):1421–1458, 2021. doi:10.1007/S00453-020-00789-1.
  • [13] Louis Dublois, Tesshu Hanaka, Mehdi Khosravian Ghadikolaei, Michael Lampis, and Nikolaos Melissinos. (in)approximability of maximum minimal fvs. Journal of Computer and System Sciences, 124:26–40, 2022. doi:10.1016/j.jcss.2021.09.001.
  • [14] Louis Dublois, Michael Lampis, and Vangelis Th. Paschos. Upper dominating set: Tight algorithms for pathwidth and sub-exponential approximation. Theor. Comput. Sci., 923:271–291, 2022. doi:10.1016/J.TCS.2022.05.013.
  • [15] Paul Erdös and Richard Rado. Intersection theorems for systems of sets. Journal of the London Mathematical Society, 1(1):85–90, 1960.
  • [16] Fabio Furini, Ivana Ljubić, and Markus Sinnl. An effective dynamic programming algorithm for the minimum-cost maximal knapsack packing problem. European Journal of Operational Research, 262(2):438–448, 2017. doi:10.1016/j.ejor.2017.03.061.
  • [17] Ajinkya Gaikwad and Soumen Maity. Parameterized complexity of upper edge domination. CoRR, abs/2208.02522, 2022. doi:10.48550/arXiv.2208.02522.
  • [18] Laurent Gourvès, Jérôme Monnot, and Aris T. Pagourtzis. The lazy bureaucrat problem with common arrivals and deadlines: Approximation and mechanism design. In Leszek Gąsieniec and Frank Wolter, editors, Fundamentals of Computation Theory, pages 171–182, Berlin, Heidelberg, 2013. Springer Berlin Heidelberg. doi:10.1007/978-3-642-40164-0_18.
  • [19] Robert Haas and Michael Hoffmann. Chordless paths through three vertices. Theoretical Computer Science, 351(3):360–371, 2006. Parameterized and Exact Computation. doi:10.1016/j.tcs.2005.10.021.
  • [20] Tesshu Hanaka, Hans L. Bodlaender, Tom C. van der Zanden, and Hirotaka Ono. On the maximum weight minimal separator. Theoretical Computer Science, 796:294–308, 2019. doi:10.1016/j.tcs.2019.09.025.
  • [21] Subhash Khot and Oded Regev. Vertex cover might be hard to approximate to within 2-epsilon. J. Comput. Syst. Sci., 74(3):335–349, 2008. doi:10.1016/J.JCSS.2007.06.019.
  • [22] Eun Jung Kim, Stefan Kratsch, Marcin Pilipczuk, and Magnus Wahlström. Flow-augmentation ii: Undirected graphs. ACM Trans. Algorithms, 20(2), March 2024. doi:10.1145/3641105.
  • [23] Michael Lampis. Minimum stable cut and treewidth. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021, July 12-16, 2021, Glasgow, Scotland (Virtual Conference), volume 198 of LIPIcs, pages 92:1–92:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPICS.ICALP.2021.92.
  • [24] Michael Lampis, Nikolaos Melissinos, and Manolis Vasilakis. Parameterized Max Min Feedback Vertex Set. In Jérôme Leroux, Sylvain Lombardy, and David Peleg, editors, 48th International Symposium on Mathematical Foundations of Computer Science (MFCS 2023), volume 272 of Leibniz International Proceedings in Informatics (LIPIcs), pages 62:1–62:15, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2023.62.
  • [25] Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, Roohani Sharma, and Meirav Zehavi. Covering small independent sets and separators with applications to parameterized algorithms. ACM Trans. Algorithms, 16(3):32:1–32:31, 2020. doi:10.1145/3379698.
  • [26] Daniel Lokshtanov, M. S. Ramanujan, Saket Saurabh, and Meirav Zehavi. Reducing CMSO model checking to highly connected graphs. In Ioannis Chatzigiannakis, Christos Kaklamanis, Dániel Marx, and Donald Sannella, editors, 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, July 9-13, 2018, Prague, Czech Republic, volume 107 of LIPIcs, pages 135:1–135:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPICS.ICALP.2018.135.
  • [27] Dáaniel Marx, Barry O’sullivan, and Igor Razgon. Finding small separators in linear time via treewidth reduction. ACM Trans. Algorithms, 9(4), October 2013. doi:10.1145/2500119.
  • [28] Jérôme Monnot, Henning Fernau, and David F. Manlove. Algorithmic aspects of upper edge domination. Theor. Comput. Sci., 877:46–57, 2021. doi:10.1016/J.TCS.2021.03.038.
  • [29] Bruce A. Reed, Kaleigh Smith, and Adrian Vetta. Finding odd cycle transversals. Oper. Res. Lett., 32(4):299–301, 2004. doi:10.1016/J.ORL.2003.10.009.
  • [30] Meirav Zehavi. Maximum minimal vertex cover parameterized by vertex cover. SIAM Journal on Discrete Mathematics, 31(4):2440–2456, 2017. doi:10.1137/16M109017X.
  • [31] Édouard Bonnet, Michael Lampis, and Vangelis Th. Paschos. Time-approximation trade-offs for inapproximable problems. Journal of Computer and System Sciences, 92:171–180, 2018. doi:10.1016/j.jcss.2017.09.009.