An Introduction to Matroids & Greedy in Approximation - - PowerPoint PPT Presentation

an introduction to matroids greedy in approximation
SMART_READER_LITE
LIVE PREVIEW

An Introduction to Matroids & Greedy in Approximation - - PowerPoint PPT Presentation

An Introduction to Matroids & Greedy in Approximation Algorithms (Juli` an Mestre, ESA 2006) 1/21 CoReLab Monday seminar presentation: Evangelos Bampas Subset systems 2/21 CoReLab Monday seminar presentation: Evangelos Bampas


slide-1
SLIDE 1

An Introduction to Matroids & Greedy in Approximation Algorithms

(Juli` an Mestre, ESA 2006)

CoReLab Monday seminar – presentation: Evangelos Bampas 1/21

slide-2
SLIDE 2

Subset systems

CoReLab Monday seminar – presentation: Evangelos Bampas 2/21

slide-3
SLIDE 3

Subset systems

Let E be a finite set. Let L be a non-empty family of subsets of E (independent sets).

CoReLab Monday seminar – presentation: Evangelos Bampas 2/21

slide-4
SLIDE 4

Subset systems

Let E be a finite set. Let L be a non-empty family of subsets of E (independent sets).

  • Def. (E, L) is called a subset system if:

∀A ∈ L, ∀A′ ⊆ A, A′ ∈ L [hereditary property]

CoReLab Monday seminar – presentation: Evangelos Bampas 2/21

slide-5
SLIDE 5

Subset systems

Let E be a finite set. Let L be a non-empty family of subsets of E (independent sets).

  • Def. (E, L) is called a subset system if:

∀A ∈ L, ∀A′ ⊆ A, A′ ∈ L [hereditary property] A (positive) weight function w defined on E induces a weight function defined on L: w (X) =

  • e∈X

w (e)

CoReLab Monday seminar – presentation: Evangelos Bampas 2/21

slide-6
SLIDE 6

Picking a heaviest independent set

  • Prob. Given a subset system (E, L) and a

weight function w : E − → R+, pick a maximum-weight element of L.

CoReLab Monday seminar – presentation: Evangelos Bampas 3/21

slide-7
SLIDE 7

Picking a heaviest independent set

  • Prob. Given a subset system (E, L) and a

weight function w : E − → R+, pick a maximum-weight element of L.

  • Alg. Greedy:

SOL ← ∅ for each e ∈ E in non-increasing order of w (e) if SOL + e ∈ L then SOL ← SOL + e return SOL

CoReLab Monday seminar – presentation: Evangelos Bampas 3/21

slide-8
SLIDE 8

Picking a heaviest independent set

  • Prob. Given a subset system (E, L) and a

weight function w : E − → R+, pick a maximum-weight element of L.

  • Alg. Greedy:

SOL ← ∅ for each e ∈ E in non-increasing order of w (e) if SOL + e ∈ L then SOL ← SOL + e return SOL

  • Thm. Greedy is optimal for any weight

function on (E, L) iff (E, L) is a matroid.

(Rado-Edmonds)

CoReLab Monday seminar – presentation: Evangelos Bampas 3/21

slide-9
SLIDE 9

What on earth is a matroid?

  • Def. A subset system (E, L) is a matroid if:

∀A ∈ L, ∀B ∈ L with |A| < |B| , ∃z ∈ B \ A such that A + z ∈ L [augmentation property]

CoReLab Monday seminar – presentation: Evangelos Bampas 4/21

slide-10
SLIDE 10

What on earth is a matroid?

  • Def. A subset system (E, L) is a matroid if:

∀A ∈ L, ∀B ∈ L with |A| < |B| , ∃z ∈ B \ A such that A + z ∈ L [augmentation property]

A

CoReLab Monday seminar – presentation: Evangelos Bampas 4/21

slide-11
SLIDE 11

What on earth is a matroid?

  • Def. A subset system (E, L) is a matroid if:

∀A ∈ L, ∀B ∈ L with |A| < |B| , ∃z ∈ B \ A such that A + z ∈ L [augmentation property]

A B: |A|<|B|

CoReLab Monday seminar – presentation: Evangelos Bampas 4/21

slide-12
SLIDE 12

What on earth is a matroid?

  • Def. A subset system (E, L) is a matroid if:

∀A ∈ L, ∀B ∈ L with |A| < |B| , ∃z ∈ B \ A such that A + z ∈ L [augmentation property]

A B: |A|<|B|

z: A+z

A

CoReLab Monday seminar – presentation: Evangelos Bampas 4/21

slide-13
SLIDE 13

Matroid examples

  • Ex. 1 Subsets of at most k elements.

k ∈ N. E: finite set. L = {X ⊆ E : |X| ≤ k}.

CoReLab Monday seminar – presentation: Evangelos Bampas 5/21

slide-14
SLIDE 14

Matroid examples

  • Ex. 1 Subsets of at most k elements.

k ∈ N. E: finite set. L = {X ⊆ E : |X| ≤ k}. non-empty: |∅| ≤ k ⇒ ∅ ∈ L

CoReLab Monday seminar – presentation: Evangelos Bampas 5/21

slide-15
SLIDE 15

Matroid examples

  • Ex. 1 Subsets of at most k elements.

k ∈ N. E: finite set. L = {X ⊆ E : |X| ≤ k}. hereditary: if A ∈ L and A′ ⊆ A, then: |A′| ≤ |A| ≤ k ⇒ A′ ∈ L

CoReLab Monday seminar – presentation: Evangelos Bampas 5/21

slide-16
SLIDE 16

Matroid examples

  • Ex. 1 Subsets of at most k elements.

k ∈ N. E: finite set. L = {X ⊆ E : |X| ≤ k}. augmentation: if |A| < |B|, then for arbitrary z ∈ B \ A: |A + z| = |A| + 1 ≤ |B| − 1 + 1 ≤ k thus, |A + z| ∈ L

CoReLab Monday seminar – presentation: Evangelos Bampas 5/21

slide-17
SLIDE 17

Matroid examples

  • Ex. 1 Subsets of at most k elements.

k ∈ N. E: finite set. L = {X ⊆ E : |X| ≤ k}.

  • Cor. We can find a heaviest subset of k

elements using the Greedy algorithm.

CoReLab Monday seminar – presentation: Evangelos Bampas 5/21

slide-18
SLIDE 18

Matroid examples (cont’d)

  • Ex. 2 Column matroids.

A: matrix with elements from a field. E = { x : x is a column of A}. L = {X ⊆ E : X is linearly independent}.

CoReLab Monday seminar – presentation: Evangelos Bampas 6/21

slide-19
SLIDE 19

Matroid examples (cont’d)

  • Ex. 2 Column matroids.

A: matrix with elements from a field. E = { x : x is a column of A}. L = {X ⊆ E : X is linearly independent}. non-empty: the empty set is vacuously linearly independent

CoReLab Monday seminar – presentation: Evangelos Bampas 6/21

slide-20
SLIDE 20

Matroid examples (cont’d)

  • Ex. 2 Column matroids.

A: matrix with elements from a field. E = { x : x is a column of A}. L = {X ⊆ E : X is linearly independent}. hereditary: linear dependency cannot be introduced by removing vectors

CoReLab Monday seminar – presentation: Evangelos Bampas 6/21

slide-21
SLIDE 21

Matroid examples (cont’d)

  • Ex. 2 Column matroids.

A: matrix with elements from a field. E = { x : x is a column of A}. L = {X ⊆ E : X is linearly independent}. augmentation: if ∀z ∈ B \ A, A + z ∈ L, then each vector of B is linearly dependent on the vectors of A which implies |B| ≤ |A|

CoReLab Monday seminar – presentation: Evangelos Bampas 6/21

slide-22
SLIDE 22

Matroid examples (cont’d)

  • Ex. 2 Column matroids.

A: matrix with elements from a field. E = { x : x is a column of A}. L = {X ⊆ E : X is linearly independent}.

  • Cor. We can find a heaviest base among the

vectors of A using the Greedy algorithm.

CoReLab Monday seminar – presentation: Evangelos Bampas 6/21

slide-23
SLIDE 23

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}.

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-24
SLIDE 24

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. non-empty: G∅ = (V, ∅) is a forest

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-25
SLIDE 25

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. hereditary: any subset of a forest is a forest

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-26
SLIDE 26

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. augmentation: if |A| < |B|, then #trees in GA > #trees in GB

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-27
SLIDE 27

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. augmentation:

GB u v

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-28
SLIDE 28

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. augmentation:

GB u v u v GA

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-29
SLIDE 29

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}. augmentation:

GB u v u v GA+(u,v)

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-30
SLIDE 30

Matroid examples (cont’d)

  • Ex. 3 Cycle/Graphic matroids.

G = (V, E): undirected graph. E = edge set of G. L = {X ⊆ E : GX = (V, X) is a forest}.

  • Cor. We can find a heaviest spanning tree of G

using the Greedy algorithm.

CoReLab Monday seminar – presentation: Evangelos Bampas 7/21

slide-31
SLIDE 31

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

∀C ∈ L, ∀x ∈ C with C + x ∈ L, ∀D extension of C, ∃Y ⊆ D \ C such that |Y | ≤ k and D \ Y + x ∈ L

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-32
SLIDE 32

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-33
SLIDE 33

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C x: C+x

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-34
SLIDE 34

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C D x: C+x

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-35
SLIDE 35

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C D

Y

x: C+x

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-36
SLIDE 36

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C D

Y

x: C+x |Y|k

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-37
SLIDE 37

k-extendible systems

  • Def. A subset system (E, L) is k-extendible if:

C D

Y

x: C+x |Y|k D\Y+x

CoReLab Monday seminar – presentation: Evangelos Bampas 8/21

slide-38
SLIDE 38

Matroids ≡ 1-extendible systems

  • Thm. (E, L) is a matroid iff (E, L) is

1-extendible.

A B: |A|<|B|

z: A+z

A C D

Y

x: C+x |Y|1 D\Y+x

CoReLab Monday seminar – presentation: Evangelos Bampas 9/21

slide-39
SLIDE 39

Matroids ⊆ 1-extendible systems

D C x: C+x

CoReLab Monday seminar – presentation: Evangelos Bampas 10/21

slide-40
SLIDE 40

Matroids ⊆ 1-extendible systems

D C x: C+x

If |C + x| = |D|, then |D \ C| = 1.

CoReLab Monday seminar – presentation: Evangelos Bampas 10/21

slide-41
SLIDE 41

Matroids ⊆ 1-extendible systems

D C x: C+x Y

D \ Y + x ∈ L.

CoReLab Monday seminar – presentation: Evangelos Bampas 10/21

slide-42
SLIDE 42

Matroids ⊆ 1-extendible systems

D C z0 x: C+x

Applying the augmentation property, ∃z0 ∈ D \ C such that C + z0 + x ∈ L.

CoReLab Monday seminar – presentation: Evangelos Bampas 10/21

slide-43
SLIDE 43

Matroids ⊆ 1-extendible systems

D Y C z0 z1 z … x: C+x

Finally, we get a sequence z0, . . . , zρ such that C + zi + x ∈ L and |D \ (C + zi)| = 1.

CoReLab Monday seminar – presentation: Evangelos Bampas 10/21

slide-44
SLIDE 44

Matroids ⊇ 1-extendible systems

A B: |A|<|B|

CoReLab Monday seminar – presentation: Evangelos Bampas 11/21

slide-45
SLIDE 45

Matroids ⊇ 1-extendible systems

A x0 B: |A|<|B|

Pick any x0 ∈ A \ B.

CoReLab Monday seminar – presentation: Evangelos Bampas 11/21

slide-46
SLIDE 46

Matroids ⊇ 1-extendible systems

A x0 Y0 A x0 B: |A|<|B|

By 1-extendibility, ∃Y0 ⊆ B \ A with |Y0| ≤ 1 such that B \ Y0 + x0 ∈ L.

CoReLab Monday seminar – presentation: Evangelos Bampas 11/21

slide-47
SLIDE 47

Matroids ⊇ 1-extendible systems

A x0 x … Y0 Y … A x0 x … B: |A|<|B|

Keep picking xi’s in A \ B until there are no

  • more. Then B \ Yi + xi ∈ L.

CoReLab Monday seminar – presentation: Evangelos Bampas 11/21

slide-48
SLIDE 48

Matroids ⊇ 1-extendible systems

A x0 x … Y0 Y … A x0 x … B: |A|<|B| z

Moreover, A ⊆ B \ Yi + xi, which implies A + z ∈ L for arbitrary z ∈ B \ Yi.

CoReLab Monday seminar – presentation: Evangelos Bampas 11/21

slide-49
SLIDE 49

Greedy on k-extendible systems

  • Thm. If (E, L) is k-extendible then Greedy
  • btains a 1

k-approximate solution for any

weight function on (E, L).

CoReLab Monday seminar – presentation: Evangelos Bampas 12/21

slide-50
SLIDE 50

Greedy on k-extendible systems

  • Thm. If (E, L) is k-extendible then Greedy
  • btains a 1

k-approximate solution for any

weight function on (E, L).

Proof.

x1, x2, . . . , xρ: successive choices of Greedy ∅ = S0, S1, S2, . . . , Sρ = SOL: successive partial solutions with Si = Si−1 + xi , ∀i : 1 ≤ i ≤ ρ

CoReLab Monday seminar – presentation: Evangelos Bampas 12/21

slide-51
SLIDE 51

Obtaining the approximation ratio

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

CoReLab Monday seminar – presentation: Evangelos Bampas 13/21

slide-52
SLIDE 52

Obtaining the approximation ratio

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi) Apply lemma ρ times: OPT = w (OPT (S0)) ≤ w (OPT (Sρ)) + (k − 1) · w (Sρ) = k · SOL

CoReLab Monday seminar – presentation: Evangelos Bampas 13/21

slide-53
SLIDE 53

Proof of lemma

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

  • CoReLab Monday seminar – presentation: Evangelos Bampas

14/21

slide-54
SLIDE 54

Proof of lemma

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

Si-1 OPT(Si-1)

Y

xi: Si-1+xi=Si |Y|k OPT(Si-1)\Y+xi

CoReLab Monday seminar – presentation: Evangelos Bampas 14/21

slide-55
SLIDE 55

Proof of lemma

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

Si-1 OPT(Si-1)

Y

xi: Si-1+xi=Si |Y|k OPT(Si-1)\Y+xi

w (OPT (Si−1)) = w (OPT (Si−1) \ Y + xi) + w (Y ) − w (xi)

CoReLab Monday seminar – presentation: Evangelos Bampas 14/21

slide-56
SLIDE 56

Proof of lemma

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

Si-1 OPT(Si-1)

Y

xi: Si-1+xi=Si |Y|k OPT(Si-1)\Y+xi

w (OPT (Si−1)) ≤ w (OPT (Si))+w (Y )−w (xi)

CoReLab Monday seminar – presentation: Evangelos Bampas 14/21

slide-57
SLIDE 57

Proof of lemma

Lemma For each i : 1 ≤ i ≤ ρ,

w (OPT (Si−1)) ≤ w (OPT (Si))+(k − 1)·w (xi)

Si-1 OPT(Si-1)

Y

xi: Si-1+xi=Si |Y|k OPT(Si-1)\Y+xi

y ∈ Y ⇒ ∀j ≤ i − 1, Sj + y ⊆ OPT (Si−1) ⇒ ∀j ≤ i − 1, Sj + y ∈ L ⇒ w (y) ≤ w (xi)

CoReLab Monday seminar – presentation: Evangelos Bampas 14/21

slide-58
SLIDE 58

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}.

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-59
SLIDE 59

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}. non-empty: ∀u ∈ V, deg∅ (u) = 0 ≤ b (u)

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-60
SLIDE 60

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}. hereditary: if M ∈ L and M ′ ⊆ M, then for any u ∈ V : degM ′ (u) ≤ degM (u) ≤ b (u)

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-61
SLIDE 61

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}. 2-extendible:

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-62
SLIDE 62

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}. 2-extendible:

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-63
SLIDE 63

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}. 2-extendible:

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-64
SLIDE 64

Example of a 2-extendible system

Maximum-weight b-matching. G = (V, E): undirected graph, b : V − → N, w : E − → R. E: edge set of G. L = {M ⊆ E : ∀u ∈ V, degM (u) ≤ b (u)}.

  • Cor. Greedy is a 1

2-approximation algorithm

for Maximum-weight b-matching.

CoReLab Monday seminar – presentation: Evangelos Bampas 15/21

slide-65
SLIDE 65

Other k-extendible systems

Maximum profit scheduling (2-extendible). Maximum asymmetric TSP (3-extendible). Intersection of k matroids (k-extendible).

CoReLab Monday seminar – presentation: Evangelos Bampas 16/21

slide-66
SLIDE 66

Tradeoffs for b-matching

Maximum-weight b-matching can be solved exactly in time O b (u) · min

  • m log n, n2

.

CoReLab Monday seminar – presentation: Evangelos Bampas 17/21

slide-67
SLIDE 67

Tradeoffs for b-matching

Maximum-weight b-matching can be solved exactly in time O b (u) · min

  • m log n, n2

. Therefore the Greedy algorithm should be regarded as a tradeoff: 1

2-approximation in

time O (m log n).

CoReLab Monday seminar – presentation: Evangelos Bampas 17/21

slide-68
SLIDE 68

Tradeoffs for b-matching

Maximum-weight b-matching can be solved exactly in time O b (u) · min

  • m log n, n2

. Therefore the Greedy algorithm should be regarded as a tradeoff: 1

2-approximation in

time O (m log n). Improvement: 1

2-approximation in time

O (bm).

CoReLab Monday seminar – presentation: Evangelos Bampas 17/21

slide-69
SLIDE 69

Tradeoffs for b-matching

Maximum-weight b-matching can be solved exactly in time O b (u) · min

  • m log n, n2

. Therefore the Greedy algorithm should be regarded as a tradeoff: 1

2-approximation in

time O (m log n). Improvement: 1

2-approximation in time

O (bm). Further improvement: randomized 2

3 − ǫ

  • approximation in time O
  • bm log 1

ǫ

  • .

CoReLab Monday seminar – presentation: Evangelos Bampas 17/21

slide-70
SLIDE 70

b-matching by greedy walks

  • Alg. Find-Walk(u)

b (u) ← b (u) − 1 if deg (u) = 0 then return ∅ let (u, v) be the heaviest edge out of u remove (u, v) from G if b (u) = 0 then remove all edges incident to u return (u, v) + Find-Walk(v)

CoReLab Monday seminar – presentation: Evangelos Bampas 18/21

slide-71
SLIDE 71

b-matching by greedy walks

  • Alg. Find-Walk(u)

b (u) ← b (u) − 1 if deg (u) = 0 then return ∅ let (u, v) be the heaviest edge out of u remove (u, v) from G if b (u) = 0 then remove all edges incident to u return (u, v) + Find-Walk(v) while ∃u ∈ V s.t. b (u) > 0 and deg (u) > 0 do M ← M+ Find-Walk(u)

CoReLab Monday seminar – presentation: Evangelos Bampas 18/21

slide-72
SLIDE 72

b-matching by greedy walks

  • Alg. Find-Walk(u)

b (u) ← b (u) − 1 if deg (u) = 0 then return ∅ let (u, v) be the heaviest edge out of u remove (u, v) from G if b (u) = 0 then remove all edges incident to u return (u, v) + Find-Walk(v) while ∃u ∈ V s.t. b (u) > 0 and deg (u) > 0 do M ← M+ Find-Walk(u)

Only guarantees that degM (u) ≤ 2b (u).

CoReLab Monday seminar – presentation: Evangelos Bampas 18/21

slide-73
SLIDE 73

1 2-approximation for b-matching Split M into M1 and M2 by taking alternative edges of individual walks. Pick the heaviest of M1, M2.

CoReLab Monday seminar – presentation: Evangelos Bampas 19/21

slide-74
SLIDE 74

1 2-approximation for b-matching Split M into M1 and M2 by taking alternative edges of individual walks. Pick the heaviest of M1, M2. SOL ≥ w(M)

2

≥ w(MOPT)

2

. Why?

CoReLab Monday seminar – presentation: Evangelos Bampas 19/21

slide-75
SLIDE 75

1 2-approximation for b-matching Split M into M1 and M2 by taking alternative edges of individual walks. Pick the heaviest of M1, M2. SOL ≥ w(M)

2

≥ w(MOPT)

2

. Why? To each edge (u, v) picked by Find-Walk, assign some edge e ∈ MOPT.

If (u, v) ∈ MOPT, assign it to itself. Otherwise, pick any e ∈ MOPT incident to u.

CoReLab Monday seminar – presentation: Evangelos Bampas 19/21

slide-76
SLIDE 76

1 2-approximation for b-matching Split M into M1 and M2 by taking alternative edges of individual walks. Pick the heaviest of M1, M2. SOL ≥ w(M)

2

≥ w(MOPT)

2

. Why? To each edge (u, v) picked by Find-Walk, assign some edge e ∈ MOPT.

If (u, v) ∈ MOPT, assign it to itself. Otherwise, pick any e ∈ MOPT incident to u.

Each edge in MOPT is assigned to a unique edge in M. Moreover, w (e) ≤ w (u, v).

CoReLab Monday seminar – presentation: Evangelos Bampas 19/21

slide-77
SLIDE 77

Arms and pieces

CoReLab Monday seminar – presentation: Evangelos Bampas 20/21

slide-78
SLIDE 78

Arms and pieces

u

An Arm out of node u

CoReLab Monday seminar – presentation: Evangelos Bampas 20/21

slide-79
SLIDE 79

Arms and pieces

u

An Arm out of node u

u v

A Piece about edge (u, v)

CoReLab Monday seminar – presentation: Evangelos Bampas 20/21

slide-80
SLIDE 80

A randomized algorithm for b- matching

  • Alg. Linear-Random(G, w)

M ← ∅ repeat k times pick a vertex u uniformly at random with probability degM(u)

b

do pick (u, v) ∈ M uniformly at random find max-benefit compatible piece P about (u, v) M ← M ⊕ P with probability b(u)−degM(u)

b

do find max-benefit compatible arm A out of u M ← M ⊕ A

CoReLab Monday seminar – presentation: Evangelos Bampas 21/21