• Nem Talált Eredményt

Multi-Budgeted Directed Cuts Stefan Kratsch

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Multi-Budgeted Directed Cuts Stefan Kratsch"

Copied!
14
0
0

Teljes szövegt

(1)

Stefan Kratsch

Institut für Informatik, Humboldt-Universität zu Berlin kratsch@informatik.hu-berlin.de

Shaohua Li

Institute of Informatics, University of Warsaw Shaohua.Li@mimuw.edu.pl

Dániel Marx

Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) dmarx@cs.bme.hu

Marcin Pilipczuk

Institute of Informatics, University of Warsaw malcin@mimuw.edu.pl

Magnus Wahlström

1

Royal Holloway, University of London Magnus.Wahlstrom@rhul.ac.uk

Abstract

In this paper, we study multi-budgeted variants of the classic minimum cut problem and graph separation problems that turned out to be important in parameterized complexity: Skew Mul- ticutandDirected Feedback Arc Set. In our generalization, we assign colors 1,2, ..., `to some edges and give separate budgetsk1, k2, ..., k`for colors 1,2, ..., `. For every colori∈ {1, ..., `}, letEibe the set of edges of colori. The solutionC for the multi-budgeted variant of a graph sep- aration problem not only needs to satisfy the usual separation requirements (i.e., be a cut, a skew multicut, or a directed feedback arc set, respectively), but also needs to satisfy that|C∩Ei| ≤ki

for everyi∈ {1, ..., `}.

Contrary to the classic minimum cut problem, the multi-budgeted variant turns out to be NP-hard even for`= 2. We propose FPT algorithms parameterized by k=k1+...+k`for all three problems. To this end, we develop a branching procedure for the multi-budgeted minimum cut problem that measures the progress of the algorithm not by reducing k as usual, by but elevating the capacity of some edges and thus increasing the size of maximum source-to-sink flow. Using the fact that a similar strategy is used to enumerate all important separators of a given size, we merge this process with the flow-guided branching and show an FPT bound on the number of (appropriately defined) important multi-budgeted separators. This allows us to extend our algorithm to theSkew MulticutandDirected Feedback Arc Setproblems.

Furthermore, we show connections of the multi-budgeted variants with weighted variants of the directed cut problems and the Chain `-SATproblem, whose parameterized complexity remains an open problem. We show that these problems admit a bounded-in-parameter number of

“maximally pushed” solutions (in a similar spirit as important separators are maximally pushed), giving somewhat weak evidence towards their tractability.

2012 ACM Subject Classification Theory of computation→Fixed parameter tractability Keywords and phrases important separators, multi-budgeted cuts, Directed Feedback Vertex Set, fixed-parameter tractability, minimum cut

Digital Object Identifier 10.4230/LIPIcs.IPEC.2018.18

1 Supported by EPSRC grant EP/P007228/1

© Stefan Kratsch, Shaohua Li, Dániel Marx, Marcin Pilipczuk, and Magnus Wahlström;

licensed under Creative Commons License CC-BY

(2)

Related Version A full version of the paper is available at https://arxiv.org/abs/1810.

06848.

Funding This research is a part of projects that have received funding from the European Re- search Council (ERC) under the European Union’s Horizon 2020 research and innovation pro- gramme under grant agreements No 714704 (S. Li and M. Pilipczuk), 280152 (D. Marx), and 725978 (D. Marx).

1 Introduction

Graph separation problems are important topics in both theoretical area and applications.

Although the famous minimum cut problem is known to be polynomial-time solvable, many well-known variants are NP-hard, which are intensively studied from the point of view of approximation [1, 2, 11, 13, 14, 18] and, what is more relevant for this work, parameterized complexity.

The notion of important separators, introduced by Marx [22], turned out to be funda- mental for a number of graph separation problems such asMultiway Cut [22],Directed Feedback Vertex Set[4], orAlmost 2-CNF SAT[27]. Further work, concerning mostly undirected graphs, resulted in a wide range of involved algorithmic techniques: applications of matroid techniques [19, 20], shadow removal [8, 25], randomized contractions [5], LP-guided branching [10, 15, 16, 17], and treewidth reduction [24], among others.

From the above techniques, only the notion of important separators and the related technique of shadow removal generalizes to directed graphs, giving FPT algorithms for Directed Feedback Arc Set[4],Directed Multiway Cut[8], andDirected Subset Feedback Vertex Set[7]. As a result, the parameterized complexity of a number of important graph separation problems in directed graphs remains open, and the quest to investigate them has been put on by the third author in a survey from 2012 [23]. Since the publication of this survey, two negative answers have been obtained. Two authors of this work showed thatDirected Multicutis W[1]-hard even for four terminal pairs (leaving the case of three terminal pairs open) [26], while Lokshtanov et al. [21] showed intractability of Directed Odd Cycle Transversal.

During an open problem session at Recent Advancements in Parameterized Complexity school (December 2017) [12], Saurabh posed the question of parameterized complexity of a weighted variant of Directed Feedback Arc Set, where given a directed edge-weighted graphG, an integerk, and a target weight w, the goal is to find a setXE(G) such that GX is acyclic andX is of cardinality at mostkand weight at mostw. Consider a similar problemWeighted st-cut: given a directed graphGwith positive edge weights and two distinguished verticess, tV(G), an integerk, and a target weight w, decide ifGadmits anst-cut of cardinality at mostkand weight at mostw. The parameterized complexity of this problem parameterized bykis open even ifGis restricted to be acyclic, while with this restriction the problem can easily be reduced toDirected Feedback Arc Set (add an arc (t, s) of prohibitively large weight).

TheWeighted st-cutproblem becomes similar to another directed graph cut problem, identified in [6], namelyChain`-SAT. While this problem is originally formulated in CSP language, the graph formulation is as follows: given a directed graphGwith a partition of edge setE(G) =P1]P2]. . .]Pm such that each Pi is an edge set of a simple path of length at most`(the input paths could have common nodes), an integerk, and two vertices s, tV(G), find anst-cutCE(G) such that|{i|C∩Pi6=∅}| ≤k. This problem can easily be seen to be equivalent to minimumst-cut problem (and thus polynomial-time solvable) for

`≤2, but is NP-hard for`≥3 and its parameterized complexity (withk as a parameter) remains an open problem.

(3)

In this paper we make progress towards resolving the question of parameterized complexity of the two aforementioned problems: weighted st-cut problem (in general digraphs, not necessary acyclic ones) andChain`-SAT. Our contribution is twofold.

Multi-budgeted variant

We define a multi-budgeted variant of a number of cut problems (including the minimum cut problem) and show its fixed-parameter tractability. In this variant, the edges of the graph are colored with`colors, and the input specifies separate budgets for each color. More formally, we primarily consider the following problem.

Multi-budgeted cut

Input: A directed graphG, two disjoint sets of verticesX, YV(G), an integer`, and for every i∈ {1,2, . . . , `}a setEiE(G) and an integerki≥1.

Question: Is there a set of arcsC⊆S`

i=1Ei such that there is no directedXY path in G\Cand for every i∈[`],|C∩Ei| ≤ki.

Similarly we can define multi-budgeted variants of Directed Feedback Arc Setand Skew Multicut.

We observe that Multi-budgeted cut for ` = 2 reduces to Weighted st-cut as follows. Let (G, X, Y, E1, E2, k1, k2) be a Multi-budgeted cutinstance for`= 2. First, observe that we may assume thatE1E2=∅, as we can replace every edgeeE1E2with two copiese1E1\E2ande2E2\E1. Second, construct an equivalentWeightedst-cut instance (G0, s, t, k, w) as follows. To constructG0, first add two verticess, ttoGand edges {(s, x)|x∈X} and{(y, t)|y ∈ Y} of prohibitively large weight. Assign also prohibitively large weight to every edgeeE(G)\(E1E2). Assign weight (k1+ 1)k2+ 1 to every edge eE1. For every edgeeE2, addk1+ 1 copies ofetoG0 of weight 1 each. Finally, set k:= (k1+ 1)·k2+k1 as the cardinality bound andw:=k1((k1+ 1)k2+ 1) + (k1+ 1)k2 as the target weight. The equivalence of the instances follows from the fact that the cardinality bound allows to pick in the solution at mostk2 bundles ofk1+ 1 copies of an edge ofE2, while the weight bound allows to pick onlyk1edges ofE1.

Thus,Multi-budgeted cutfor`= 2 corresponds to the case ofWeighted st-cut where the weights are integral and both target cardinality and weight are bounded in parameter.2 This connection was our primary motivation to study the multi-budgeted variants of the cut problems.

Contrary to the classic minimum cut problem, we note that Multi-budgeted Cut becomes NP-hard for`≥2 by a simple reduction from constrained minimum vertex cover problem on bipartite graphs [3].3 We show that Multi-budgeted Cut is FPT when parameterized byk=k1+...+k`. For this problem, our branching strategy is as follows.

First, note that in the problem definition we assume that each ki is positive, and thus `k.

A standard application of the Ford-Fulkerson algorithm gives a minimumXY-cutC of size λ and λ edge-disjoint XY paths P1, P2, . . . , Pλ. IfC is a solution, then we are done.

Similarly, ifλ > k, then there is no solution. Otherwise, we branch which colors of the sought

2 For a reduction in the other direction, replace every arceof weightω(e) with one copy of color 1 and ω(e) copies of color 2, and set budgetsk1=kandk2=w.

3 We believe this problem must have been formulated already before and proven to be NP-hard. However, we were not able to find it in the literature. Our own reduction will be available in the full version of the paper.

(4)

solution should appear on each pathsPj; that is, for everyi∈[`] andj ∈[λ], we guess if PjEi contains an edge of the sought solution, and in each guess assign infinite capacities to the edges of wrong color. If this change increased the size of a maximum flow fromX toY, then we can charge the branching step to this increase, as the size of the flow cannot exceedk. The critical insight is that if the size of the minimum flow does not increase (i.e., P1, . . . , Pλ remains a maximum flow), then a corresponding minimum cut is necessarily a solution. As a result, we obtain the following.

ITheorem 1. Multi-budgeted Cutadmits an FPT algorithm with running time bound O(2k2`·k·(|V(G)|+|E(G)|))wherek=P`

i=1ki.

The charging of the branching step to a flow increase appears also in the classic argument for bound of the number of important separators [4] (see also [9, Chapter 8]). We observe that our branching algorithm can be merged with this procedure, yielding a bound (as a function ofk) and enumeration procedure of naturally defined multi-budgeted important separators. This in turn allows us to generalize our FPT algorithm toMulti-budgeted Skew Multicutand Multi-budgeted Directed Feedback Arc Set.

ITheorem 2. Multi-budgeted Skew Multicut and Multi-budgeted Directed Feedback Arc Setadmit FPT algorithms with running time bound 2O(k3logk)(|V(G)|+

|E(G)|)where k=P` i=1ki.

Bound on the number of pushed solutions

While we are not able to establish fixed-parameter tractability of the weighted variant of the minimum cut problem (even in acyclic graphs) nor of Chain `-SAT, we show the following graph-theoretic statement. Consider a directed graphG with two distinguished vertices s, tV(G). For two (inclusion-wise) minimal st-cuts C1, C2 we say that C1 is closer to t than C2 if every vertex reachable from s inGC2 is also reachable from s inGC1. A classic submodularity argument implies that there is exactly one closest tot minimum st-cut, while the essence of the notion of important separators is the observation that there is bounded-in-knumber of minimal separators of cardinality at mostk that are closest tot.

In Section 5 we show a similar existential statement for the two discussed problems.

ITheorem 3. For every integerkthere exists an integergsuch that the following holds. Let Gbe a directed graph with positive edge weights and two distinguished verticess, tV(G).

Let F be a family of all st-cuts that are of minimum weight among all (inclusion-wise) minimalst-cuts of cardinality at mostk. LetG ⊆ F be the family of those cuts C such that no other cut ofF is closer tot. Then |G| ≤g.

I Theorem 4. For every integers k, ` there exists an integer g0 such that the following holds. Let I := (G, s, t,(Pi)mi=1, k) be a Chain `-SAT instance that is a yes-instance but (G, s, t,(Pi)mi=1, k−1)is a no-instance. Let F be a family of all (inclusion-wise) minimal solutions toI and letG ⊆ F be the family of those cuts C such that no other cut ofF is closer tot. Then|G| ≤g0.

Unfortunately, our proof is purely existential, and does not yield an enumeration procedure of the “closest tot” solutions.

Organization

In this extended abstract, we prove Theorem 1 in Section 3, present the multi-budgeted extension of the notion of important separators (needed for Theorem 2) in Section 4, and sketch the proofs of Theorems 3 and 4 in Section 5.

(5)

2 Preliminaries

For an integer n, we denote [n] = {1,2, . . . , n}. For a directed graph G, we use V(G) to represent the set of vertices ofGandE(G) to represent the set of directed edges ofG. In all multi-budgeted problems, the directed graph Gcomes with setsEiE(G) fori∈[`]

which we refer as colors. That is, an edge e is of color i if eEi, and of no color if eE(G)\S`

i=1Ei. Note that an edge may have many colors, as we do not insist on the setsEi being pairwise disjoint.

LetX andY be two disjoint vertex sets in a directed graphG, anXY-cutofGis a set of edgesC such that every directed path from a vertex inX to a vertex inY contains an edge ofC. A cutC isminimal if no proper subset ofC is anXY-cut, andminimum ifC is of minimum possible cardinality. LetC be anXY-cut and letR be the set of vertices reachable fromX inG\C. We defineδ+(R) ={(u, v)∈E(G)|uR andv /R} and note that ifC is minimal, thenδ+(R) =C.

Let (G, X, Y, `,(Ei, ki)`i=1) be aMulti-budgeted cutinstance and letCbe anXY-cut.

We say thatC isbudget-respecting ifC⊆S`

i=1Ei and|C∩Ei| ≤ki for everyi∈[`]. For a setZE(G) we say thatC isZ-respectingifCZ. In such contexts, we often callZ the set of deletable edges. AnXY-cutC is aminimumZ-respecting cut if it is aZ-respecting XY-cut of minimum possible cardinality among allZ-respectingXY-cuts.

Our FPT algorithms start with Z=S`

i=1Ei and in branching steps shrink the setZ to reduce the search space. We encapsulate our use of the classic Ford-Fulkerson algorithm in the following statement.

ITheorem 5. Given a directed graph G, two disjoint setsX, YV(G), a set ZE(G), and an integerk, one can inO(k(|V(G)|+|E(G)|))time either find the following objects:

λ paths P1, P2, . . . , Pλ such that every Pi starts in X and ends in Y, and every edge eZ appears on at most one pathPi;

a set BZ consisting of all edges of Gthat participate in some minimumZ-respecting XY-cut;

a minimum Z-respecting XY-cut C of size λthat is closest to Y among all minimum Z-respectingXY-cuts;

or correctly conclude that there is noZ-respectingXY-cut of cardinality at mostk.

3 Multi-budgeted cut

We now give an FPT algorithm parameterized byk= Σ`i=1ki for theMulti-budgeted cut problem. We follow a branching strategy that recursively reduces a setZ of deletable edges.

That is, we start withZ=S`

i=1Ei (so that every solution is initiallyZ-respecting) and in each recursive step, we look for aZ-respecting solution and reduce the setZ in a branching step.

Consider a recursive call where we look for aZ-respecting solution to the inputMulti- budgeted cutinstance (G, X, Y, `,(Ei, ki)`i=1). That is, we look for aZ-respecting budget- respecting cut. We apply Theorem 5 to it. If it returns that there is noZ-respectingXY-cut of size at mostk, we terminate the current branch, as there is no solution. Otherwise, we obtain the pathsP1, P2, . . . , Pλ, the set B (which we will not use in this section), and the cutC.

If C is budget-respecting, then it is a solution and we can return it. Otherwise, we perform the following branching step. We iterate over all tuples (A1, ..., A`) such that for everyi∈[`],Ai⊆[λ] and|Ai| ≤ki. Ai represents the subset of pathsP1, ..., Pλ on which at

(6)

MultiBudgetedCut(G, X, Y, `,(Ei, ki)`i=1)

Input: A directed graphG, two disjoint set of verticesX, Y V(G), an integer`, for everyi[`]

a setEiE(G) and an integerk.

Output: anXY cutCS`

i=1Eisuch that for everyi[`],|CEi| ≤kiif it exists, otherwise return NO.

1. Z:=S` i=1Ei; 2.return Solve(Z);

Solve(Z)

a. apply Theorem 5 to (G, X, Y, k, Z) wherek=P`

i=1ki, obtaining objects (Pi)λi=1,B, andC, or an answer NO;

b. ifthe answer NO is obtained,then returnNO;

c. if Cis budget-respecting,then returnC;

d. for each(A1, ..., A`) such that for everyiin [`],Ai[λ] and|Ai| ≤kido d.1 Zb:=Z;

d.2 for eachi[`]do for eachj[λ]\Aido

Zb:=Zb\(EiE(Pj));

d.3 D=Solve(Z);b

d.4 if D6=NOthen returnD;

e. returnNO;

Figure 1FPT algorithm forMulti-budgeted cut.

least one edge of coloriis in the solution for eachi∈[`]. For those edges of coloriwhich are on the paths not indicated byAi, they are not in the solution. Thus we can safely delete them fromZ. More formally, for everyi∈[`] and j∈[λ]\Ai, we remove from Z all edges ofE(Pj)∩Ei. We recurse on the reduced setZ. A pseudocode is available in Figure 1.

ITheorem 6. The algorithm in Figure 1 for Multi-budgeted cutis correct and runs in timeO(2`k2·k·(|V(G)|+|E(G)|))wherek= Σ`i=1ki.

Proof. We prove the correctness of the algorithm by showing that it returns a solution if and only if the input instance is a yes-instance. The "only if" direction is obvious, as the algorithm returns onlyZ-respecting budget-respectingXY-cuts andZ ⊆S`

i=1Ei in each recursive call.

We prove the correctness for the "if" direction. LetC0 be a solution, that is, a budget- respectingXY-cut. In the initial call toSolve,C0 isZ-respecting. It suffices to inductively show that in each call to Solve such that C0 is Z-respecting, either the call returns a solution, orC0 isZ-respecting for at least one of the subcalls. Sinceb C0 isZ-respecting, the application of Theorem 5 returns objects (Pi)λi=1,B, andC. IfC is budget-respecting, then the algorithm returns it and we are done. Otherwise, consider the branch (A1, A2, . . . , A`) whereAi={j|E(Pj)∩C06=∅}. SinceC0 is budget-respecting,C0Z, and no edge ofZ appears on more than one pathPj, we have|Ai| ≤kifor everyi∈[`]. Thus, (A1, A2, . . . , A`) is a branch considered by the algorithm. In this branch, the algorithm refines the setZ to Z. By the definition ofb Ai, for everyi∈[`] andj∈[λ]\Ai, we haveC0EiE(Pj) =∅.

Consequently,C0is Z-respecting and we are done.b

For the time bound, the following observation is crucial.

IClaim 7. Consider one recursive callSolve(Z)where the application of Theorem 5 in line (a) returned objects(Pi)λi=1,B andC. Assume that in some recursive subcallSolve(Z)b invoked in line (d.3) (Figure 1), the subsequent application of Theorem 5 in line (a) of the

(7)

subcall returned a cut of the same size, that is, the algorithm of Theorem 5 returned a cut Cb of sizeλb=λ. Then the cutCb is budget-respecting and, consequently, is returned in line (c) of the subcall.

Proof. Since|C|b =λis aZ-respectingb XY-cut,Zb⊆Z, and every edgeeZ appears on at most one pathPi, we have thatCb consists of exactly one edge ofZbon every pathPi, that is, Cb={e1, e2, . . . , eλ}andejE(Pj)∩Zb for everyj∈[λ]. In other words, the paths (Pj)λj=1 still correspond to a maximum flow fromX toY with edges ofZb being of unit capacity and edges outside Zb of infinite capacity because (Pj)λj=1 are paths satisfying that any two of them are disjoint onZb⊆Z andλis still equal to the size of the maximum flow. If ejEi

for somej∈[λ] andi∈[`], then by the construction of setZ, we haveb jAi. Consequently,

|{j|ejEi}| ≤ |Ai| ≤ki for everyi∈[`], and thus Cb is budget-respecting. y Claim 7 implies that the depth of the search tree is bounded byk, as the algorithm terminates whenλexceedsk. At every step, there are at most (2λ)`≤(2k)` different tuples (A1, ..., A`) to consider. Consequently, there are O(2(k−1)k`) nodes of the search tree that enter the loop in line (d) andO(2k2`) nodes that invoke the algorithm of Theorem 5. As a result, the running time of the algorithm isO(2`k2·k·(|V(G)|+|E(G)|)). J

4 Multi-budgeted important separators with applications

Similar to the concept of important separators proposed by Marx [22] (see also [9, Chapter 8]), we definemulti-budgeted important separatorsas follows.

IDefinition 8. Let (G, X, Y, `,(Ei, ki)`i=1) be a Multi-budgeted cut instance and let Z ⊆S`

i=1Ei be a set of deletable edges. LetC1, C2 be two minimalZ-respecting budget- respectingXY-cuts. We say thatC1dominates C2if

1. every vertex reachable from X in GC2 is also reachable fromX inGC1; 2. for every i∈[`],|C1Ei| ≤ |C2Ei|.

We say that Cb is an important Z-respecting budget-respecting XY-cut if Cb is a minimal Z-respecting budget-respectingXY-cut and no other minimalZ-respecting budget-respecting XY-cut dominates C.b Cb is an important budget-respecting XY-cut if it is an important Z-respecting budget-respectingXY-cut forZ=S`

i=1Ei.

Chen et al. [4] showed an enumeration procedure for (classic) important separators using similar charging scheme as the one of the previous section. Our main result in this section is a merge of the arguments from the previous section with the arguments of Chen et al.

Theorem 2 follows from Theorem 9 via an analogous arguments as in [4].

ITheorem 9. Let (G, X, Y, `,(Ei, ki)`i=1) be a Multi-budgeted cut instance, let Z ⊆ S`

i=1Ei be a set of deletable edges, and denote k = P`

i=1ki. Then one can in 2O(k2logk)(|V(G)|+|E(G)|)time enumerate a family of minimalZ-respecting budget-respecting XY-cuts of size2O(k2logk) that contains all important ones.

Proof. Consider the recursive algorithm presented in Figure 2. The recursive procedureIm- portantCuttakes as an input aMulti-budgeted CutinstanceI= (G, X, Y, `,(Ei, ki)`i=1) and a set Z ⊆ S`

i=1Ei, with the goal to enumerate all important Z-respecting budget- respectingXY-cuts. Note that the procedure may output some moreZ-respecting budget- respectingXY-cuts; we need only to ensure that

1. it outputs all important ones, 2. it outputs 2O(k2`logk)cuts, and 3. it runs within the desired time.

(8)

The procedure first invokes the algorithm of Theorem 5 on (G, X, Y, k, Z), wherek=P` i=1ki. If the call returned that there is noZ-respectingXY-cut of size at mostk, we can return an empty set. Otherwise, let (Pj)λj=1, B, and C be the computed objects. We perform a branching step, with each branch labeled with a tuple (A1, A2, . . . , A`) whereAi⊆[λ] and

|Ai| ≤ki for everyi∈[`]. A branch (A1, A2, . . . , A`) is supposed to capture important cuts C0 with {j|C0BE(Pj)∩Ei 6=∅} ⊆Ai for everyi∈[`]; that is, for everyi∈[`] and j∈[λ] we guess ifC0contains a bottleneckedge of colorion pathPj. All this information (i.e., pathsPj, the setB, the cutC, and the setsAi) are passed to an auxiliary procedure

Enum.

The procedureEnumshrinks the setZ according to setsAi. More formally, for every i∈ [`] and j ∈ [λ]\Ai we delete from Z all edges from BEiE(Pj), obtaining a set Zb ⊆Z. At this point, we check if the reduction of the set Z toZb increased the size of minimum Z-respecting XY-cut by invoking Theorem 5 on (G, X, Y, k,Z) and obtainingb objects (Pbj)bλj=1,B,b Cbor a negative answer. If the size of the minimum cut increased, that is,bλ > λ, we recurse with the original procedureImportantCut. Otherwise, we add one cut toS, namelyC. Furthermore, we try to shrink one of the setsb Ai by one and recurse;

that is, for everyi∈[`] and everyjAi, we recurse with the procedureEnumon setsA0i0

whereA0i =Ai\ {j} andA0i0 =Ai0 for everyi0∈[`]\ {i}.

Let us first analyze the size of the search tree. A call toImportantCutinvokes at most

λ`

≤k

≤(k`+ 1)k calls toEnum. Each call toEnumeither falls back toImportantCut ifλ > λb or branches intoP`

i=1|Ai| ≤k`recursive calls to itself. In each recursive call, the sumP`

i=1|Ai|decreases by one. Consequently, the initial call toEnum results in at most (k`)k recursive calls, each potentially falling back to ImportantCut. Since each recursive call toImportantCutuses strictly larger value ofλ, which cannot grow larger thank, and

`k, the total size of the recursion tree is 2O(k2logk). Each recursive call toEnumadds at most one set toS, while each recursive call toImportantCutandEnum runs in time O(2k`·k·(|V(G)|+|E(G)|)). The promised size of the family S and the running time bound follows. It remains to show correctness, that is, that every importantZ-respecting budget-respectingXY-cut is contained inS returned by a call toImportantCut(I, Z).

We prove by induction on the size of the recursion tree that (1) every call to Im- portantCut(I, Z) enumerates all important Z-respecting budget-respectingXY-cuts, and (2) every call toEnum(I, Z,(Pj)λj=1, B, C,(Ai)`i=1) enumerates all importantZ-respecting budget-respectingXY-cutsC0with the property that{j|EiE(Pj)∩BC06=∅} ⊆Ai for everyi∈[`].

The inductive step for a callImportantCut(I, Z) is straightforward. Let us fix an ar- bitrary importantZ-respecting budget-respectingXY-cutC0. SinceC0 is budget-respecting, C0is aZ-respecting cut of size at mostk, and thus the initial call to Theorem 5 cannot return NO. Consider the tuple (A1, A2, . . . , A`) where for everyi∈[`],{j|E(Pj)∩EiBC0}=Ai. SinceC0 is budget-respecting and the paths Pj do not share an edge ofZ, we have that

|Ai| ≤kifor everyi∈[`] and the algorithm considers this tuple in one of the branches. Then, from the inductive hypothesis, the corresponding call toEnumreturns a set containingC0. Consider now a call toEnum(I, Z,(Pj)λj=1, B, C,(Ai)`i=1) and an importantZ-respecting budget-respectingXY-cutsC0 with the property that{j|EiE(Pj)∩BC06=∅} ⊆Ai for everyi∈[`]. By the construction ofZb and the above assumption, C0 is Z-respecting.b In particular, the call to the algorithm of Theorem 5 cannot return NO. Hence, in the case whenλ > λ,b C0 is enumerated by the recursive call toImportantCut and we are done.

Assume thenλb=λ.

(9)

ImportantCut(I, Z)

Input: AMulti-budgeted cutinstanceI= (G, X, Y, `,(Ei, ki)`i=1) and a setZS` i=1Ei. Output: a familySof minimalZ-respecting budget-respectingXY-cuts that contains all important ones.

1. S:=∅;

2. apply the algorithm of Theorem 5 to (G, X, Y, k, Z) withk=P`

i=1ki, obtaining either objects (Pi)λi=1,B, andC, or an answer NO;

3. if an answer NO is obtained,then returnS;

4. for each(A1, ..., A`) such that for everyiin [`],Ai[λ] and|Ai| ≤kido 4.1 S:=S ∪Enum(I, Z,(Pj)λj=1, B, C,(Ai)`i=1)

5. returnS

Enum(I, Z,(Pj)λj=1, B, C,(Ai)`i=1)

Input: AMulti-budgeted cutinstanceI= (G, X, Y, `,(Ei, ki)`i=1), a setZS`

i=1Ei, a family (Pj)λj=1of paths fromXtoY such that every edge ofZappears on at most one pathPj, a set B consisting of all edges that participate in some minimumZ-respectingXY-cut, a minimum Z-respectingXY-cutCclosest toY, and setsAi[λ] of size at mostkifor everyi[`]

Output: a familySof minimalZ-respecting budget-respectingXY-cuts that contains all cutsC0

that are importantZ-respecting budget respectingXY-cuts and satisfy{j|E(Pj)BC0Ei6=

∅} ⊆Aifor everyi[`].

a. Zb:=Z;

b. for eachi[`]do

for eachj[λ]\Aido Zb:=Zb\(BEiE(Pj));

c. apply the algorithm of Theorem 5 to (G, X, Y, k,Z), obtaining either objects (b Pbi)bλi=1,B, andb Cb or an answer NO;

d. ifbλexists andbλ > λ,then d.1 S:=S∪ImportantCut(I,Z);b e. else ifbλexists and equalsλ,then e.1 S:=S ∪ {C};b

e.2 for eachi[`]do for eachjAido

A0i:=Ai\ {j}andA0i0:=Ai0for everyi0[`]\ {i}

S:=S ∪Enum(I,Z,b (Pj)λj=1,B,b C,b (A

0 i)`i=1).

f. returnS

Figure 2FPT algorithm for enumerating important multi-budgetedZ-respectingXY-cuts.

For i∈[`], letAbi={j|EiE(Pj)∩Bb∩C06=∅}. SinceZb⊆Z but the sizes of minimum Z-respecting and Z-respectingb XY-cuts are the same, we have Bb ⊆ B. Consequently, AbiAi for every i∈[`].

Assume there exists i ∈[`] such thatAbi (Ai and let jAi\Abi. Consider then the branch (i, j) of the Enum procedure, that is, the recursive call with A0i = Ai\ {j} and A0i0 =Ai0 for i0 ∈[`]\ {i}. Observe that we have {j|Ei0E(Pj)∩Bb∩C06=∅} ⊆A0i0 for everyi0 ∈[`] and, by the inductive hypothesis, the corresponding call toEnumenumerates C0. Hence, we are left only with the caseAbi=Ai, that is,Ai={j|EiE(Pj)∩Bb∩C06=∅}

for everyi∈[`].

We claim that in this case C0=C. Assume otherwise. Sinceb |C|b =bλ=λandZb⊆Z, Cb contains exactly one edge on every pathPj. Also, Cb ⊆Bb by the definition of the set B. Sinceb Cb is the minimumZb-respectingXY-cut that is closest toY,Cb={e1, e2, . . . , eλ} whereej is the last (closest toY) edge ofBb on the pathPj for everyj∈[λ].

Let R0 andRb be the set of vertices reachable fromX inGC0andGC, respectively.b

(10)

s t

C1 C2 C3 C4

A1 A2 A3 A4

B4 B3 B2 B1

Figure 3A schematic picture of a 4-bowtie.

LetD be a minimalXY-cut contained inδ+(R0R). (Note thatb δ+(R0R) is anb XY-cut becauseXR0RbandY ∩(R0R) =b ∅.) Then sinceDC0Cb⊆Z,DisZ-respecting.

By definition, every vertex reachable fromX inGR0is also reachable from X in GD.

We claim thatDis budget-respecting and, furthermore, dominatesC0. Fix a colori∈[`];

our goal is to prove that|D∩Ei| ≤ |C0Ei|. To this end, we charge every edge of coloriin D\C0 to a distinct edge of coloriinC0\D. SinceDC0C, we have thatb D\C0C,b that is, an edge ofD\C0of coloriis an edgeej for somej∈[λ] withejEiandejD\C0. Recall that we are working in the caseAi={j|Ei∩E(Pj)∩B∩Cb 06=∅}. SinceejCb⊆Z,b we have thatjAi. Hence, there existse0jEiE(Pj)∩Bb∩C0. By the definition ofC,b ej is the last (closest toY) edge ofBb onPj. Sinceej/ C0,e0j6=ej ande0j lies on the subpath ofPjbetweenX and the tail ofej. This entire subpath is contained inRb and, hence,e0j/ D.

We chargeej toe0j. Sincee0jE(Pj)∩EiBb∩(C0\D), for distinctj, the edgese0j are distinct as the pathsPj do not share an edge belonging to Z andBb⊆Zb⊆Z. Consequently,

|D∩Ei| ≤ |C0Ei|. This finishes the proof thatD dominatesC0.

SinceC0 is important, we haveD=C0. In particular, Rb⊆R0. On the other hand, for everyj ∈[λ] we have that ejCb ⊆Zb⊆Z ⊆S`

i=1Ei. In particular, there existsi∈[`]

such thatejEi andjAi. Hence, we also haveEiE(Pj)∩Bb∩C06=∅. But the entire subpath ofPj fromX to the tail ofej lies inRb⊆R0, whileej is the last edge ofBb onPj. Hence,ejC0. Since the choice ofj is arbitrary,Cb⊆C0. SinceCb is anXY-cut andC0 is minimal,Cb=C0 as claimed.

This finishes the proof of Theorem 9. J

5 Bound on the number of solutions closest to t

In this section we sketch the proofs of Theorems 3 and 4. The central definition of this section is the following (see also Figure 3).

IDefinition 10. LetG be a directed graph with distinguished verticessandtand let k be an integer. Ana-bowtieis a sequenceC1, C2, . . . , Ca of pairwise disjoint minimalst-cuts of sizek each such that each cutCi can be partitioned Ci =Ai]Bi such that for every 1≤i < ja, the setAi is exactly the set of edges ofCi reachable fromsinGCj andBj is exactly the set of edges ofCj reachable fromsin GCi.

Our main graph-theoretic result is the following. The proof is deferred to the full version of the paper.

(11)

ITheorem 11. For every integers a, k ≥1 there exists an integer g such that for every directed graphGwith distinguisheds, tV(G), and a familyU of pairwise disjoint minimal st-cuts of size keach, if |U | ≥g, thenU contains an a-bowtie.

The next two lemmata are key observations to prove Theorems 3 and 4, respectively, with the help of Theorem 11.

ILemma 12. Let k,g, G, s,t,F, andG be as in the statement of Theorem 3. Then G does not contain an a-bowtie for a > k+22

.

Proof. Assume the contrary, let (Ci, Ai, Bi)ai=1 be such a bowtie. Sincea > k+22 , there existsi < jwith|Ai|=|Aj|and|Bi|=|Bj|(there are k+22

choices for (|Ai|,|Bi|)). However, thenAiBj andAjBi have also cardinalityk, arest-cuts, and have together twice the minimum weight. Furthermore, the set of vertices reachable from sinG−(AjBi) is a strict superset of the set of vertices reachable fromsinGCi andGCj. This contradicts

the fact thatCi, Cj∈ G. J

ILemma 13. Letk,`,I= (G, s, t,(Pi)mi=1, k),F, andGbe as in the statement of Theorem 4.

Then G does not contain a 4-bowtie (Ci, Ai, Bi)4i=1 in which the edge set of every path Pj

intersects at most one cutCi.

Proof. Assume the contrary Let (Ci, Ai, Bi)4i=1 be such a 4-bowtie. Consider i ∈ {2,3}

and two edges eAi andfBi. In GC4, the edge e is reachable from s whilef is not; consequently,eand f cannot appear on the same input path with ebeing earlier (by assumption,C4 is disjoint from the input path in question). A similar reasoning forGC1

shows thateandf cannot appear on the same input path withf being earlier thane.

Hence,eandf cannot appear together on a single pathPj. For a set of edgesD, by the cost ofD we denote|{j|D∩Pj 6=∅}|. Since the choice of eandf was arbitrary, we infer that the sum of costs ofA2B3 and ofA3B2 equals the sum of costs ofC2 and of C3. Hence, both these st-cuts have minimum cost. However,A2B3 is closer totthan C2, a

contradiction. J

Proof of Theorem 3. Assume |G| > g for some sufficiently large g to be fixed later. For i∈[k], letGi be the set ofu∈ G of cardinalityi. We apply the Sunflower Lemma to the largest setGi: Ifg > k·k!g1k for some integerg1 to be chosen later, there existsG1⊆ G with

|G1|> g1, every element ofG1 being of the same sizek0, and a set csuch thatuv=c for every distinctu, v∈ G1.

Let bk =k0− |c|, bu=u\c for every u∈ G1, Gb1 ={ub| u∈ G1} andGb =Gc. Since every u∈ U is a minimalst-cut of sizek0 inG, everyub∈Gb1 is a minimalst-cut of sizebk inG. Furthermore, everyb ub∈Gb1 is a minimal st-cut of size at mostbk inGb of minimum possible weight: if there existed an st-cut xbof smaller weight and cardinality at most bk, thenx=xb∪c would be anst-cut in Gof cardinality at most kand weight smaller than every element ofG1. Similarly, if there were a minimalst-cut xbinGb of minimum weight and cardinality at mostbk that is closer tot thanubfor someub∈Gb1, then bxc would be an st-cut in Gof cardinality at most kand minimum weight that is closer to t thanu, a contradiction. By construction, the elements ofGb1 are pairwise disjoint.

Lemma 12 bounds the maximum possible size of a bowtie in Gb1. Hence, Theorem 11 asserts thatGb1has size bounded by a function ofk. This finishes the proof of the theorem. J Proof of Theorem 4. We proceed similarly as in the proof of Theorem 3, but we need to be a bit more careful with the pathsPj. Assume|G|> gfor some sufficiently large integerg.

(12)

As before, we partition G according to the sizes of elements: for every i ∈ [k`], let Gi = {u ∈ G | |u| = i}. Let i ∈ [k`] be such that |Gi| > g/(k`). For u ∈ Gi, let J(u) ={j | uPj 6=∅}. By the assumptions of the theorem, every set J(u) is of cardinality exactly k. We apply the Sunflower Lemma to {J(u) | u ∈ Gi}: If g > (k`)·k!·gk1 for some integerg1to be fixed later, then there exists G1⊆ Gi of size larger thang1 and a set I⊆[m] such that for every distinctu, v ∈ G1we have J(u)J(v) =I. For everyu∈ G1, let uI =u∩S

j∈IPj. Since|I| ≤k, there are at most 2k`choices foruI among elementsu∈ G1. Consequently, there existsG2⊆ G1 of cardinality larger thang2:=g1/2k`such that uI =vI

for everyu, v∈ G2. Denotec=uI for anyu∈ G2.

Letbu:=uc for everyu∈ G2. LetGb2={ub|u∈ G2}.

Define nowGb=Gc and define a partitionPb ofE(G) into paths of length at mostb `as follows: we take all pathsPi fori /I and, for everyiI, each edge of Pi\c as a length-1 path. Furthermore, denotebk=k− |I|. Note that (G, s, t,b P,b bk) is a Chain`-SAT instance for which everyub∈Gb2 is a solution. Furthermore, (G, s, t,b Pb,bk−1) is a no-instance, as ifxb were its solution, thenxb∪c would be a solution to (G, s, t,(Pi)mi=1, k−1), a contradiction.

Similarly, if there were a solutionbxto (G, s, t,b Pb,bk) that is closer totthanubfor someub∈Gb2, thenbx∪cwould be a solution to (G, s, t,(Pi)mi=1, k) that is closer totthanu, a contradiction.

Furthermore, by construction, the elements ofGb2 are pairwise disjoint and no path of Pb intersects more than one element ofGb2.

Lemma 13 bounds the maximum possible size of a bowtie in Gb2. Hence, Theorem 11 asserts thatGb2 has size bounded by a function of k and`. This finishes the proof of the

theorem. J

6 Conclusion

We would like to conclude with a discussion on future research directions. First, our upper bound of 2O(k2logk)on the number of multi-budgeted important separators (Theorem 9) is far from the 4k bound for the classic important separators. As pointed out by an anonymous reviewer at IPEC 2018, there is an easy lower bound ofk! for the number of multi-budgeted important separators: Let`=k,ki= 1 for everyi∈[`], and letGconsist ofkpaths froms tot, each path consisting of`edges of different colors. Then there are exactly k! distinct multi-budgeted important separators, as we can freely choose a different colori∈[`] to cut on each path. We are not aware of any better lower bound, leaving a significant gap between the lower and upper bounds.

Second, our existential statement of Theorems 3 and 4 can be treated as a weak sup- port of tractability of Chain `-SATandWeighted st-cut. Are they really FPT when parameterized by the cardinality of the cut?

References

1 Amit Agarwal, Noga Alon, and Moses Charikar. Improved approximation for directed cut problems. In David S. Johnson and Uriel Feige, editors, Proceedings of the 39th Annual ACM Symposium on Theory of Computing, San Diego, California, USA, June 11-13, 2007, pages 671–680. ACM, 2007. doi:10.1145/1250790.1250888.

2 Chandra Chekuri, Sudipto Guha, and Joseph Naor. The Steinerk-Cut Problem. SIAM J.

Discrete Math., 20(1):261–271, 2006. doi:10.1137/S0895480104445095.

3 Jianer Chen and Iyad A. Kanj. Constrained minimum vertex cover in bipartite graphs:

complexity and parameterized algorithms. J. Comput. Syst. Sci., 67(4):833–847, 2003.

doi:10.1016/j.jcss.2003.09.003.

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

During an open problem session at Recent Advancements in Parameterized Com- plexity school (December 2017) [12], Saurabh posed the question of parameterized complexity of a

In this work, we initiated the study of this problem from the perspective of parameterized complexity: we have shown that the DL-Hom( H ) is FPT for any skew decomposable graph

Notice that many of the standard, well-studied problems in the parameterized complexity literature are standard parameterizations of certain optimization problems (e.g., Minimum

The following five problems are studied: delete k vertices such that (a) each of the given ` terminals is separated from the others, (b) each of the given ` pairs of terminals

On the other hand, parameterized complexity theory may help to justify the shield provided by computational complexity: if a problem belongs to one of the parameterized hardness

In this paper, we extend the classic data center allocation optimization problem for critical tenant applica- tions that need guarantees on the resource capacities they wish

In this paper we study the fixed-parameter tractability of constraint satisfaction problems parameterized by the size of the solution in the following sense: one of the possible

Abstract This paper gives an exact mathematical programming model and algorithm of the max-min fairness bandwidth allocation problem in multi-swarm peer-to-peer content