A new approach to alternating paths Gyula Pap e-mail: - - PowerPoint PPT Presentation

a new approach to alternating paths
SMART_READER_LITE
LIVE PREVIEW

A new approach to alternating paths Gyula Pap e-mail: - - PowerPoint PPT Presentation

A new approach to alternating paths Gyula Pap e-mail: gyuszko@cs.elte.hu Egerv ary Research Group EGRES E otv os Lor and University, Budapest website: www.cs.elte.hu/egres Department of Operations Research The Hungarian


slide-1
SLIDE 1

A new approach to alternating paths

Gyula Pap

e-mail: gyuszko@cs.elte.hu Egerv´ ary Research Group – EGRES website: www.cs.elte.hu/egres E¨

  • tv¨
  • s Lor´

and University, Budapest Department of Operations Research

The Hungarian Method is 50

Gyula Pap A new approach to alternating paths

slide-2
SLIDE 2

Outline

“Relax – Reduce”

A black-box approach to combinatorial algorithms “3-Way Lemma” and an “Equivalent Reduction” K˝

  • nig’s Theorem

Square-free simple 2-matchings Further applications: — non-bipartite matching — path-matching, even factor — packing node-disjoint A-paths — hypo-matching in directed graphs

Gyula Pap A new approach to alternating paths

slide-3
SLIDE 3

Bipartite Matching

A B K˝

  • nig’s Theorem

If G = (A, B; E) is a bipartite graph, then the maximum cardinality of a matching = the minimum total capacity of a cover.

capacity: ≤ 1 ≤ 1

Gyula Pap A new approach to alternating paths

slide-4
SLIDE 4

The “Relax – Reduce” approach for bipartite matching

A B Observation If G = (A, B; E) is a bipartite graph, then the maximum cardinality of an A-matching = the minimum total capacity of a cover.

capacity: ≤ 1

Gyula Pap A new approach to alternating paths

slide-5
SLIDE 5

The “Relax – Reduce” approach for bipartite matching

Given a matching M. Is M a max A-matching? YES ⇒ we are done.

⇒ augment ∃ NO ⇒

  • r

⇒ reduce ... ∃

Gyula Pap A new approach to alternating paths

slide-6
SLIDE 6

The “Relax – Reduce” approach for bipartite matching

...the reduction:

a c b {a, c}

G, M

= ⇒

(G − b)/{a, c}, M − bc

N + ab or N + bc ⇐ = N a larger matching X + b ⇐ = X a verifying cover

Gyula Pap A new approach to alternating paths

slide-7
SLIDE 7

The “Relax – Reduce” approach for bipartite matching

“3-Way Lemma” Given a matching M in bipartite graph G = (A, B; E), then at least one of the following alternatives holds: a) M is a maximum A-matching. b) There is a matching N with |N| = |M| + 1. c) There are nodes a, c ∈ A, b ∈ B with bc ∈ M and a / ∈ V (M). “Equivalent Reduction” Suppose a, c ∈ A, b ∈ B with bc ∈ M and a / ∈ V (M). Then M is max in G ⇐ ⇒ M − bc is max in (G − b)/{a, c}.

Gyula Pap A new approach to alternating paths

slide-8
SLIDE 8

The “Relax – Reduce” approach for bipartite matching

The algorithmic scheme: c) c) c) c) a) a) a) a) b) b) b) b) G, M G ′, M′ G ′′, M′′ G ′′′, M′′′

Gyula Pap A new approach to alternating paths

slide-9
SLIDE 9

Simple 2-matchings

Theorem G = (A, B; E) a simple bipartite graph with b : A ∪ B → {0, 1, 2}. Then the maximum cardinality of a simple b-matching = the minimum total capacity of a cover.

1 capacity: v z b(z) b(v)

Gyula Pap A new approach to alternating paths

slide-10
SLIDE 10

Square-free simple 2-matchings

Theorem

  • Z. Kir´

aly, 1999 G = (A, B; E) a simple bipartite graph with b : A ∪ B → {0, 1, 2}. Then the maximum cardinality of a square-free simple b-matching = the minimum total capacity of a cover.

3 1 capacity: v z b(z) b(v)

Gyula Pap A new approach to alternating paths

slide-11
SLIDE 11

“Relax – Reduce” for square-free simple 2-matchings

“3-Way Lemma” Given a square-free b-matching M in G, then at least one of the following alternatives holds: a) M is a maximum b-matching. b) There is a square-free b-matching N with |N| = |M| + 1. c) There is a square-free b-matching N with |N| = |M| s.t. there is square which is “nice with N”.

  • r

nice square: 2 2 2 2 2 2 2 2

Gyula Pap A new approach to alternating paths

slide-12
SLIDE 12

“Relax – Reduce” for square-free simple 2-matchings

Proof. If M a maximum b-matching = ⇒ a) Otherwise there is an augmenting M-alternating path P: v0 v2 v4 v6 v8 If M∆P is square-free = ⇒ b) Otherwise, P2i := the sub-path from v0 to v2i. Mi := M∆P2i Some Mi is square-free, but Mi+1 is not square-free. Then N := Mi is nice with the square in Mi+1. = ⇒ c)

Gyula Pap A new approach to alternating paths

slide-13
SLIDE 13

“Relax – Reduce” for square-free simple 2-matchings

G, b, N 1 1 G ′, b′, N′ 2 2 2 2

“Equivalent Reduction” N is a maximum -free b-matching in G ⇐ ⇒ N′ is a maximum -free b′-matching in G ′.

Gyula Pap A new approach to alternating paths

slide-14
SLIDE 14

The “Relax – Reduce” square-free simple 2-matchings

The algorithmic scheme: c) c) a) a) a) a) b) b) b) b) c) c)

G, b, M G ′, b′, M′ G ′′, b′′, M′′

G ′′′, b′′′, M′′′

Gyula Pap A new approach to alternating paths

slide-15
SLIDE 15

3-Way Lemma for Matching Given a matching M in graph G. Then at least one of the following alternatives holds: a) M is a maximum fractional matching. b) There is a matching N with |N| = |M| + 1. c) There is a matching N with |N| = |M| s.t. there is an N-alternating odd cycle C in G.

Gyula Pap A new approach to alternating paths

slide-16
SLIDE 16

3-Way Lemma for Path-Matching Given a path-matching x with respect to G, T1, T2. Then at least

  • ne of the following alternatives holds:

a) x is a maximum path-cycle-matching. b) There is a path-matching x′ with ||x′|| = ||x|| + 1. c) There is a path-matching x′ with ||x′|| = ||x|| s.t. there is an

  • dd cycle C which is nice with x′.

1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1

T1 T2 T2 Path-Matching Path-Cycle-Matching

1 1 1 1 1 1 1 2 2 1

T1

Gyula Pap A new approach to alternating paths

slide-17
SLIDE 17

3-Way Lemma for Path-Matching Given a path-matching x with respect to G, T1, T2. Then at least

  • ne of the following alternatives holds:

a) x is a maximum path-cycle-matching. b) There is a path-matching x′ with ||x′|| = ||x|| + 1. c) There is a path-matching x′ with ||x′|| = ||x|| s.t. there is an

  • dd cycle C which is nice with x′.

a nice odd cycle:

  • r

Gyula Pap A new approach to alternating paths

slide-18
SLIDE 18

3-Way Lemma for A-paths Given a packing P of A-paths in G. Then at least one of the following alternatives holds: a) P is a maximum fractional packing of A-paths. b) There is a packing P′ with |P′| = |P| + 1. c) There is a packing R with |R| = |P| s.t. there is an odd cycle, or a rod which is nice with R. A1 A2 A3

Gyula Pap A new approach to alternating paths

slide-19
SLIDE 19

3-Way Lemma for A-paths Given a packing P of A-paths in G. Then at least one of the following alternatives holds: a) There is a packing P′ with |P′| = |P| + 1. b) P is a maximum fractional packing of A-paths. c) There is a packing R with |R| = |P| s.t. there is an odd cycle, or a rod which is nice with R. a nice odd cycle: a nice ”rod”

Gyula Pap A new approach to alternating paths