Tropical Connected Sets problem Eugene Vagin 07.04.2020 Eugene - - PowerPoint PPT Presentation

tropical connected sets problem
SMART_READER_LITE
LIVE PREVIEW

Tropical Connected Sets problem Eugene Vagin 07.04.2020 Eugene - - PowerPoint PPT Presentation

Tropical Connected Sets problem Eugene Vagin 07.04.2020 Eugene Vagin Tropical Connected Sets problem 07.04.2020 1 / 42 Outline Exact exponential algorithms to find tropical connected sets of minimum 1 size Enumerating Minimal Tropical


slide-1
SLIDE 1

Tropical Connected Sets problem

Eugene Vagin 07.04.2020

Eugene Vagin Tropical Connected Sets problem 07.04.2020 1 / 42

slide-2
SLIDE 2

Outline

1

Exact exponential algorithms to find tropical connected sets of minimum size

2

Enumerating Minimal Tropical Connected Sets

3

Algorithm which enumerates all MTCS on chordal graphs

Eugene Vagin Tropical Connected Sets problem 07.04.2020 2 / 42

slide-3
SLIDE 3

Paper: Exact exponential algorithms to find tropical connected sets of minimum size

Eugene Vagin Tropical Connected Sets problem 07.04.2020 3 / 42

slide-4
SLIDE 4

Preliminaries

Let assume that G = (V , E) - an undirected graph G[X] - the subgraph of G induced by X, where X ⊆ V S is connected if the subgraph G[S] is connected (G, c) - vertex-colored graph

c : V → N: coloring of G (not necessarily proper)

C = {c(v) : v ∈ V } c(S) = {c(v) : v ∈ S} - set of colors of S, where S ⊆ V

S is tropical if c(S) = C

Eugene Vagin Tropical Connected Sets problem 07.04.2020 4 / 42

slide-5
SLIDE 5

Minimal Tropical Connected Set problem (MTCS)

Input

Graph G = (V , E) with a coloring c : V → N and set of colors C

Question

Find a minimum size subset S ⊆ V such that G[S] is connected, and S contains at least one vertex of each color in C

Eugene Vagin Tropical Connected Sets problem 07.04.2020 5 / 42

slide-6
SLIDE 6

Extra preliminaries

N(v) set of all neighbors of v N[v] N(v) ∪ {v} N[X] ∪x∈XN[x] N(X) N[X] \ X L1(G) vertices whose colors appears only once in (G, c) l1(G) |L1(G)| l2(G) number of colors appearing at least twice in (G, c)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 6 / 42

slide-7
SLIDE 7

An exact exponential algorithm for general graphs

Naive brute force: O∗(2n) time In paper [1] described algorithm which works in O∗(1.5359n) via

reductions to

Connected red-blue dominating set Steiner tree

balancing technique

depending on the value of l1(G)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 7 / 42

slide-8
SLIDE 8

Steiner tree problem

Input

Graph G = (V , E), weight function w : E → N set of terminals K ⊆ V

Question

Find a connected subtree T = (V ′, E ′) of G with V ′ ⊆ V and E ′ ⊆ E,

such that K ⊆ V ′ and

e∈E ′ w(e) is minimum

Best known time: O∗(W · 2|K|)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 8 / 42

slide-9
SLIDE 9

Connected red-blue dominating set

Input

Graph G = (R, B, E) where vertices are colored either red (vertices in R)

  • r blue (vertices in B).

Question

Find the smallest subset S ⊆ R of red vertices such that G[S] is connected, and every vertex in B has at least one neighbor in S, that is B ⊆ N(S) Best known time: O∗(1.36443n)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 9 / 42

slide-10
SLIDE 10

Reduction example

Figure: An example of reduction: from a vertex-colored graph (G, c) with color set C = { , •, ◦, ×} , to the intermediate graph G’ (middle) with vertex set R′ ∪ B′ , and to the final graph G” (right) with vertex set R′′ ∪ B′′ . Highlighted edges correspond to edges newly added at the corresponding step of the construction.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 10 / 42

slide-11
SLIDE 11

Reduction to Steiner Tree

G = (V , E) - graph, c - coloring of G, C = c(G) G ′ (R′ ∪ B′, E ′) - new graph R′ {v′|v ∈ V } B′ {ri|i ∈ C} E ′ {u′v′|uv ∈ E} ∪ {v′ri| v is of color i in G }

Eugene Vagin Tropical Connected Sets problem 07.04.2020 11 / 42

slide-12
SLIDE 12

Reduction to Connected Red-Blue Dominating Set

R′′ = R′, B′′ = B′, E ′′ = E ′ ∀v ∈ V : c(v) appears exactly once in G

move the corresponding v ′ from R′′ to B′′ remove the vertex ri from B′′, where c(v) = iinG

B1, . . . , Bp - components of the subgraph induced in G ′′[B′′] by those vertices that had been moved to B′′ ∀i = 1, 2, . . . , p contract the component Bi in G ′′[B′′] so that it remains only one vertex and call this vertex bi ∀bi, 1 ≤ i ≤ p: turn NG ′′(bi) ⊆ R′′ into a clique The resulting graph is G ′′ = (R′′ ∪ B′′, E ′′)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 12 / 42

slide-13
SLIDE 13

Three algorithms to solve MTCS

Brute force Using Steiner tree Using Connected red-blue dominating set

Eugene Vagin Tropical Connected Sets problem 07.04.2020 13 / 42

slide-14
SLIDE 14

Brute force

U = L1(G) ∀A ⊆ V \ U

verify in polynomial time whether U ∪ A is a MTCS

runs in time O∗(2n−l1(G))

Eugene Vagin Tropical Connected Sets problem 07.04.2020 14 / 42

slide-15
SLIDE 15

Using Steiner tree

(G, c) - an instance of MTCS (G ′, w, K) instance for Steiner Tree, where G ′ = (R′ ∪ B′, E ′); terminal set K = B′ (|K| = |B′| = |C|) w(e) =

  • 1,

∀e = u′v′ : u′, v′ ∈ R′ n = |V | else

Eugene Vagin Tropical Connected Sets problem 07.04.2020 15 / 42

slide-16
SLIDE 16

Using Steiner tree

(G, c) - an instance of MTCS (G ′, w, K) instance for Steiner Tree, where G ′ = (R′ ∪ B′, E ′); terminal set K = B′ (|K| = |B′| = |C|) w(e) =

  • 1,

∀e = u′v′ : u′, v′ ∈ R′ n = |V | else Best known time: O∗(W · 2|K|) reduction yields an algorithm solving MTCS on (G, c) in O∗(2|C|)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 15 / 42

slide-17
SLIDE 17

Correctness of reduction

Lemma 1

(G, c) admits a MTCS of size k ⇐ ⇒ (G ′, w, B′) admits a Steiner tree of weight k′ = k − 1 + |C|n

Eugene Vagin Tropical Connected Sets problem 07.04.2020 16 / 42

slide-18
SLIDE 18

Correctness of reduction

Proof: ⇒

S - MTCS of (G, c), |S| = k edge set of a Steiner tree T for (G ′, w, B′) can be obtained by first taking all k − 1 edges of a spanning tree of G[S] = G ′[S]; those edges have weight 1 ∀ terminal ri ∈ B′ where i is a color of C, choose an edge v′ri ∈ E ′ where v ∈ S is a vertex of color i in G: such an edge exists ∀ri ∈ B′ since S is tropical in G, and each such edge has weight n. Hence the Steiner tree T has weight k − 1 + |C|n = k′

Eugene Vagin Tropical Connected Sets problem 07.04.2020 17 / 42

slide-19
SLIDE 19

Correctness of reduction

Proof: ⇐

  • E - edge set of a Steiner tree

T of (G ′, w, B′) having weight k′ B′ - independent set in G ′, hence E contains for each vertex of ri ∈ B′ an edge incident to ri. There are at least |B′| = |C| edges of weight n due to the value of k′, there are indeed precisely |C| edges of weight n in T S - set of vertices of R′ incident to the edges of weight n in

  • E. By the

construction of G ′ , S is tropical in G. Steiner tree T contains k − 1 edges in G ′[R] = G connecting the vertices of S Consequently the set of vertices in the Steiner tree within R′ is connected, contains S, and is therefore tropical Since the Steiner tree in G ′[R] has k − 1 edges, the MTCS has k vertices

Eugene Vagin Tropical Connected Sets problem 07.04.2020 18 / 42

slide-20
SLIDE 20

Using Connected red-blue dominating set

(G, c) - instance of MTCS G ′′ = (R′′ ∪ B′′, E ′′) - instance of CRBDS

Eugene Vagin Tropical Connected Sets problem 07.04.2020 19 / 42

slide-21
SLIDE 21

Using Connected red-blue dominating set

(G, c) - instance of MTCS G ′′ = (R′′ ∪ B′′, E ′′) - instance of CRBDS Best known time: O∗(1.36443n) reduction yields an algorithm solving MTCS on (G, c) in O∗(1.36443n+l2(G)) time

Eugene Vagin Tropical Connected Sets problem 07.04.2020 19 / 42

slide-22
SLIDE 22

Correctness of reduction

Lemma 2

(G, c) admits a MTCS of size k ⇐ ⇒ G ′′ = (R′′ ∪ B′′, E ′′) admits a CRBDS set of size k′ = k − l1(G)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 20 / 42

slide-23
SLIDE 23

Balancing three algorithms

if l1(G)

n

< 0.23814, then reduce to Steiner Tree

solving MTCS in time O∗(2|C|) |C| = l1(G) + l2(G) < 0.23814 · n + 1−0.23814

2

· n = 0.61907 · n running time is bounded by 20.61907·n < 1.53589n

if 0.23814 ≤ l1(G)

n

≤ 0.42218, then reduce to CRBDS

solving MTCS in time O∗(1.36443n+l2(G)) n + l2(G) ≤ n + 1

2 · n − 1 2 · l1(G) ≤ 1.38093 · n

running time is bounded by 1.364431.38093n < 1.53589n

if 0.42218 < l1(G)

n , then use brute force algorithm

solving MTCS in O∗(2n−l1(G)) time n − l1(G) ≤ (1 − 0.42218) · n = 0.57782 · n running time is bounded by 20.57782n < 1.49460n

Eugene Vagin Tropical Connected Sets problem 07.04.2020 21 / 42

slide-24
SLIDE 24

Balancing three algorithms

if l1(G)

n

< 0.23814, then reduce to Steiner Tree

solving MTCS in time O∗(2|C|) |C| = l1(G) + l2(G) < 0.23814 · n + 1−0.23814

2

· n = 0.61907 · n running time is bounded by 20.61907·n < 1.53589n

if 0.23814 ≤ l1(G)

n

≤ 0.42218, then reduce to CRBDS

solving MTCS in time O∗(1.36443n+l2(G)) n + l2(G) ≤ n + 1

2 · n − 1 2 · l1(G) ≤ 1.38093 · n

running time is bounded by 1.364431.38093n < 1.53589n

if 0.42218 < l1(G)

n , then use brute force algorithm

solving MTCS in O∗(2n−l1(G)) time n − l1(G) ≤ (1 − 0.42218) · n = 0.57782 · n running time is bounded by 20.57782n < 1.49460n

Eugene Vagin Tropical Connected Sets problem 07.04.2020 22 / 42

slide-25
SLIDE 25

Running time plot

Figure: The dark curve corresponds to the running time of algorithm. The x-axis corresponds to the ratio α in l1(G) = αn , while the y-axis corresponds to the constant c in the running time O∗(cn). a → α = 0.23814, b → α = 1

3, c → α = 0.42218

Eugene Vagin Tropical Connected Sets problem 07.04.2020 23 / 42

slide-26
SLIDE 26

No sub-exponential time algorithm for trees for MTCS

Theorem 3

The MTCS problem on trees of height at most 3 admits no sub-exponential time algorithm, unless SNP ⊆ SUBEXP , which would imply that the Exponential Time Hypothesis fails.

Proof: part 1

G = (V , E) σ : V → N: arbitrary ordering on the vertices of G T: vertex-colored tree (T, c). Initially it contains a unique vertex r colored R ∈ {0, 1, . . . , |V |} ∀v ∈ V (G), add to T a star whose center is colored σ(v), leafs: N(u) with colors defined with σ instance (T, c) admits a solution of size at most n + k + 1 to MTCS ⇐ ⇒ graph G = (V , e) admits a solution of size ≤ k to Dominating Set.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 24 / 42

slide-27
SLIDE 27

No sub-exponential time algorithm for trees for MTCS

Theorem 3

The MTCS problem on trees of height at most 3 admits no sub-exponential time algorithm, unless SNP ⊆ SUBEXP , which would imply that the Exponential Time Hypothesis fails.

Proof: part 2

Claim: Dominating Set admits no sub-exp time algo on graphs with max degree 6, unless SNP ⊆ SUBEXP Graph G = (V , E) of max degree 6: instance for Dominating Set. → tree T of height 3, instance for MTCS, containing ≤ 8n + 1 = O∗(n) vertices ⇒ if ∃ a sub-exp time algo for MTCS on trees of max height 3 → ∃ a sub-exp time algo for Dominating Set on graphs with max degree 6 ⇒ SNP ⊆ SUBEXP ⇒ Exponential Time Hypothesis fails

Eugene Vagin Tropical Connected Sets problem 07.04.2020 25 / 42

slide-28
SLIDE 28

Example

Figure: The reduction from Dominating Set to Tropical Connected Set

Eugene Vagin Tropical Connected Sets problem 07.04.2020 26 / 42

slide-29
SLIDE 29

Paper: Enumerating Minimal Tropical Connected Sets

Eugene Vagin Tropical Connected Sets problem 07.04.2020 27 / 42

slide-30
SLIDE 30

Enumerating Minimal Tropical Connected Sets

Algorithms for the enumeration and combinatorial lower and upper bounds

  • n graph classes for various objects in graphs have been established in the

last years, among them minimal feedback vertex sets, minimal dominating sets, minimal separators, minimal transversals, minimal connected vertex covers and minimal steiner trees

Eugene Vagin Tropical Connected Sets problem 07.04.2020 28 / 42

slide-31
SLIDE 31

Summarized results

Graph class Lower Bound Upper bound Enumeration Chordal 1.4961n 2n O∗(2n) Split 1.4766n 1.6042n O(1.6042n) Cobipartite 3n/3 n2 · 3n/3 + n2 O∗(3n/3) Inteval 3n/3 1.8613n O(1.8613n) Block 3n/3 3n/3 O∗(3n/3) 31/3 ∼ 1.44225

Eugene Vagin Tropical Connected Sets problem 07.04.2020 29 / 42

slide-32
SLIDE 32

Summarized results

Graph class Lower Bound Upper bound Enumeration Chordal 1.4961n 2n O∗(2n) Split 1.4766n 1.6042n O(1.6042n) Cobipartite 3n/3 n2 · 3n/3 + n2 O∗(3n/3) Inteval 3n/3 1.8613n O(1.8613n) Block 3n/3 3n/3 O∗(3n/3) 31/3 ∼ 1.44225

Eugene Vagin Tropical Connected Sets problem 07.04.2020 30 / 42

slide-33
SLIDE 33

Chordal graphs

Figure: A Chordal graph is one in which all cycles of four or more vertices have a chord, which is an edge that is not part of the cycle but connects two vertices of the cycle.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 31 / 42

slide-34
SLIDE 34

Research: Algorithm which enumerates all MTCS on chordal graphs

Eugene Vagin Tropical Connected Sets problem 07.04.2020 32 / 42

slide-35
SLIDE 35

Common exact exponential algorithms idea

Introduce some parameter of graph

Eugene Vagin Tropical Connected Sets problem 07.04.2020 33 / 42

slide-36
SLIDE 36

Common exact exponential algorithms idea

Introduce some parameter of graph Design an algorithms that work well for some specific parameter values

Eugene Vagin Tropical Connected Sets problem 07.04.2020 33 / 42

slide-37
SLIDE 37

Common exact exponential algorithms idea

Introduce some parameter of graph Design an algorithms that work well for some specific parameter values Balance algorithms

Eugene Vagin Tropical Connected Sets problem 07.04.2020 33 / 42

slide-38
SLIDE 38

Chordal graphs properties

Each minimal separator is a clique They may be recognized in polynomial time treewidth of an arbitrary graph may be characterized by the size of the cliques in the chordal graphs that contain it.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 34 / 42

slide-39
SLIDE 39

Tree decomposition intuition

Figure: A subgraph of a 4 × 8 grid, with the third and the fourth columns

  • highlighted. When computing c[4, Y ] for the forbidden set Y = {(2, 4)} (crossed
  • ut in the fourth column), one of the sets Swe consider is S = {(1, 4), (4, 4)},

depicted with blue circles. Then, when looking at the previous column we need to forbid picking neighbors (1, 3) and (4, 3) (crossed out in the third column), since this would violate the independence constraint.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 35 / 42

slide-40
SLIDE 40

Tree decomposition example

Eugene Vagin Tropical Connected Sets problem 07.04.2020 36 / 42

slide-41
SLIDE 41

Another exact exponential algorithms idea

Try build tree decomposition of graph treewidth is small: algorithms based on dynamic programming perform well treewidth is large: there must be vertices of high degree in the graph: good for branching algorithms

Eugene Vagin Tropical Connected Sets problem 07.04.2020 37 / 42

slide-42
SLIDE 42

Parameters

γ ∈ (0, 1] γn - count of colors in graph ε ∈ (0, 1] εn - treewidth

Eugene Vagin Tropical Connected Sets problem 07.04.2020 38 / 42

slide-43
SLIDE 43

Algorithms

γ is big - iterate over all subsets of vertices of all colors

algorithm with time O∗((21/γ − 1)γ)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 39 / 42

slide-44
SLIDE 44

Algorithms

γ is big - iterate over all subsets of vertices of all colors

algorithm with time O∗((21/γ − 1)γ)

ε is small - dynamic algorithm on tree decomposition

algorithm with time O∗(2k · 4c · n)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 39 / 42

slide-45
SLIDE 45

Algorithms

γ is big - iterate over all subsets of vertices of all colors

algorithm with time O∗((21/γ − 1)γ)

ε is small - dynamic algorithm on tree decomposition

algorithm with time O∗(2k · 4c · n)

ε is large - iterate over all subsets of vertices beyound the clique, get vertices from clique to provide connectivity and tropicality

algorithm with time O∗(( 1

α − 1 2)α · eα · 21−σ)

where α = 1+γ−σ

σ

> 1

2 Eugene Vagin Tropical Connected Sets problem 07.04.2020 39 / 42

slide-46
SLIDE 46

Working Time Diagram

Figure: For given ε and γ enumerating algorithm will works O∗(cn) time.

Eugene Vagin Tropical Connected Sets problem 07.04.2020 40 / 42

slide-47
SLIDE 47

Materials

[1] Exact exponential algorithms to find tropical connected sets of minimum size (Chapelle, Cochefert, Kratsch, Letourneur, Liedloff) [2] Enumerating Minimal Tropical Connected Sets (Kratsch, Liedloff, Sayadi)

Eugene Vagin Tropical Connected Sets problem 07.04.2020 41 / 42

slide-48
SLIDE 48

Thanks for your attention!

Eugene Vagin Tropical Connected Sets problem 07.04.2020 42 / 42