Minimum cuts via Breadth-First search
- R. Ravi
ravi@cmu.edu
Minimum cuts via Breadth-First search R. Ravi ravi@cmu.edu - - PowerPoint PPT Presentation
Minimum cuts via Breadth-First search R. Ravi ravi@cmu.edu Outline Minimum s-t cut in digraphs (folklore) Multiway-cuts in undirected graphs (folklore) Multiway-cuts in digraphs (Chekuri & Madan) Multicuts in undirected
ravi@cmu.edu
Given digraph G=(V,A), with nonnegative costs/capacities on arcs, a source s and a sink t, find minimum cost arc set blocking all s-t paths π¨"# = min ) π₯+, π¦+,
s.t. β π¦+,
β₯ 1 β π s-t paths π¦+,β₯ 0 βπ£π€ arcs
π¨"# = min ) π₯+, π¦+,
s.t. π, β€ π+ + π¦+, βπ£π€ π2 = 0 π? β₯ 1 π¦+,β₯ 0 βπ£π€
π΅ π»
π£π€ β π΅ π»
β πππ€ππ ππ£π’0 Claim: π π£π€ β ππ£π’ β€ π¦+, Corollary: πΉ π₯ ππ£π’ β€ β π₯+,π π£π€ β ππ£π’ β€
+,
π¨"# π₯ πππππ£π’ β€ min
ST,TS2 π₯ πππ€ππ ππ£π’ β€ πΉ π₯ ππ£π’
β€ π¨"# β€ π₯(πππππ£π’)
Given undirected graph G=(V,E), with nonnegative costs on edges, a source set S = {π‘U, β¦ , π‘W} , find minimum cost edge set blocking all π‘X β π‘
Z paths
π¨[\]^ = min ) π₯+, π¦+,
s.t. β π¦+,
β₯ 1 β π π‘X β π‘
Z paths
π¦+, β₯ 0 βπ£π€ edges
U d
edges π£π€ β πΉ π»
β πππ€ππ ππ£π’0
Claim: π π£π€ β ππ£π’ β€
fgh
i j
= 2π¦+, Corollary: πΉ π₯ ππ£π’ β€ 2π¨[\]^ min
ST,TS2 0 π₯ πππ€ππ ππ£π’0 β€ 1 β 1
π πΉ π₯ ππ£π’ β€ 2 1 β
U W π¨[\]^
β€ 2 1 β
U W π₯ min ππ£ππ’ππ₯ππ§ ππ£π’
Given directed graph G=(V,A), with nonnegative costs on arcs, a source set S = {π‘U, β¦ , π‘W} , find minimum cost arc set blocking all π‘X β π‘
Z paths
for all ordered pairs of sources π β π. Note: Min multiway cut for S = {π‘U, π‘d} is NP-hard so does not specialize to regular min-cut (Also need to cut all reverse paths)
Given directed graph G=(V,A), with nonnegative costs on arcs, a source set S = {π‘U, β¦ , π‘W} , find minimum cost arc set blocking all π‘X β π‘
Z paths for all
nodes
Given undirected graph G=(V,E), a source set S = {π‘U, β¦ , π‘W} , and nonnegative costs on non-source nodes, find minimum cost node set blocking all π‘X β π‘
Z paths
Given directed graph G=(V,A), with nonnegative costs on arcs, a source set S = {π‘U, β¦ , π‘W} , find minimum cost arc set blocking all π‘X β π‘
Z paths
for all ordered pairs of sources π β π. Theorem (Naor-Zosin, FOCSβ97): 2-approximation for multiway cuts in digraphs by exactly rounding a relaxed multiway flow relaxation which is within factor 2 of natural relaxation
Theorem: Level-cutting algorithm on the above LP gives a 2- approximation π¨[\]^ = min ) π₯+, π¦+,
s.t. β π¦+,
β₯ 1 β π π‘X β π‘
Z paths
π¦+, β₯ 0 βπ£π€ arcs
arcs π£π€ β π΅ π»
β πππ€ππ ππ£π’0 for a random π
For arc π£π€ order sources so that π π‘U, π£ β€ π π‘d, π£ β€ β― β€ π π‘W, π£ Note that π π’d, π£ = π π’w, π£ = β― = π π’W, π£ = π π‘U, π£ If one of these balls cut π£π€ then all of them do Thus π£π€ is either cut by the ball around π’U or by the above set of balls. π π£π€ β ππ£π’ β€ 2π¦+, min
ST,TS2 0 π₯ πππ€ππ ππ£π’0 β€ 2π₯ min ππ£ππ’ππ₯ππ§ ππ£π’
Given undirected graph G=(V,E), with nonnegative costs on edges, and source-sink pairs = {(π‘U, π’U), β¦ , (π‘W, π’W)} , find minimum cost edge set blocking all π‘X β π’X paths π¨[\^ = min ) π₯+, π¦+,
s.t. β π¦+,
β₯ 1 β π π‘X β π’X paths π¦+, β₯ 0 βπ£π€ edges
edges π£π€ β πΉ π»
β πππ€ππ ππ£π’0
Caution: LP has a Ξ© log π integrality gap
within a radius of π around the current source π‘X with respect to the distances π¦+, on edges π£π€ β πΉ π»
from being cut later
β πππ€ππ ππ£π’0 for a random π
Is the solution feasible?
Reduce cutting radius to half
U d
within a radius of π around the current source π‘X with respect to the distances π¦+, on edges π£π€ β πΉ π»
from being cut later
β πππ€ππ ππ£π’0 for a random π
Fix an edge π£π€. Order sources so that π π‘U, π£ β€ π π‘d, π£ β€ β― β€ π π‘W, π£ When does π‘X cut the edge from the π£ side?
Z for π < π occurs before it in the random order
When does π‘X cut the edge from the π£ side?
Z for π < π occurs before it in the random order
probability β€
U X
probability β€
fgh
i j
π π£π€ β ππ£π’ = ) π(π£π€ ππ£π’ ππ§ π‘X)
β€ 2 ) 1 π
2π¦+, β€ 4 ln π
For the CKR cutting algorithm, π π£π€ β ππ£π’ β€ 4 ln π Theorem (CKR): Expected cost of output multicut is 4 ln π π¨[\^