approximating graphic tsp with matchings tobias momke and ola svensson royal institute of tech.,...

49
Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Upload: irene-george

Post on 18-Dec-2015

221 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Approximating Graphic TSP with Matchings

Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm

Presented by Amit Kumar (IIT Delhi)

Page 2: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Traveling Salesman Problem (TSP)

Given weighted graph G, find a tour visiting all vertices of min. cost.

Page 3: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

TSP

Find min. cost Hamiltonian cycle in the metric completion of G.

Page 4: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Graphic (unweighted) TSP

Min. the number of edges in the tour.

Find an Eulerian multi-graph with min. number of edges.

Page 5: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Some History

Apx-Hard. (1.0046) [Papadimitriou, Vempala 2006]

1.5 approx [Christofides 1976]

Held-Karp LP Relaxation (1970). Best lower bound on integrality gap : 4/3 upper bound : 1.5 [Williamson, Shmoys 1990]

Page 6: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Some History (Graphic TSP)

1.487-approx for cubic 3-edge connected[Gamarnik et. al. 2005]

4/3-approx for cubic graphs, and 7/5-approx for sub-cubic graphs [Boyd et. al. 2011], [Garg, Gupta 2011]

1.5-10-12 approx. [Gharan, Saberi, Singh 2011]

Page 7: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

This Paper

1.46-approx for Graphic TSP

4/3-approx for cubic (and sub-cubic) graphs.

New techniques …

Page 8: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Talk Outline

• Christofides’ algorithm •4/3-approx for cubic graphs•Idea of removable pairs, and how to find large number of such pairs•4/3-approx for sub-cubic graphs• Help-Karp LP Relaxation•Extension to general graphs

Page 9: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Christofides’ algorithm

Start with a MST (cost at most OPT)

Construct a matching over the odd-degree vertices in the shortest path metric.

Page 10: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Christofides’ algorithm

Cost of matching · OPT/2 Total cost · 1.5 OPT

Page 11: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Talk Outline

• Christofides’ algorithm •4/3-approx for cubic graphs•Idea of removable pairs, and how to find large number of such pairs•4/3-approx for sub-cubic graphs• Help-Karp LP Relaxation•Extension to general graphs

Page 12: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected graphs

Can assume that the graph is 2-connected.

Page 13: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Cubic 2-connected graphs

Any cubic 2-connected graph has a perfect matching.

Adding a perfect matching makes it Eulerian.

Page 14: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Cubic 2-connected graphs

3/2n + 1/2n = 2n edges get used.

Can we remove some edges ? so that only 4/3 n edges remain ?

Page 15: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Edmonds’ Matching Polytope

x(±(v))=1 for all vertices vx(±(S)) ¸ 1 for all odd sets Sxe ¸ 0 for all edges e

Theorem[Edmonds] Any vertex corresponds to a perfect matching.

Page 16: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Edmonds’ Matching Polytope

Set x(e)=1/3 for all edges e.

S : odd set

|±(S)| ¸ 2. |±(S)| must also be odd.

Page 17: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Edmonds’ Matching Polytope

There exist polynomial number of matchings M1, …, Mk such that any edge appears in exactly 1/3 of these matchings.

Page 18: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected cubic graphs

Take E U M, where M is a random matching drawn from the collection M1, …, Mk

Total number of edges = 2nWhich edges can we remove ?

Page 19: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected cubic graphs

Construct a DFS Tree

The matching M contains exactly one edge incident to v : three cases arise

v

Page 20: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected cubic graphs

v v v

Page 21: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected cubic graphs

v v v

Expected number of edges removed = n/2 . 2/3 . 2 = 2n/3

Number of remaining edges = 2n-2n/3=4n/3

Page 22: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Talk Outline

• Christofides’ algorithm •4/3-approx for cubic graphs•Idea of removable pairs, and how to find large number of such pairs•4/3-approx for sub-cubic graphs• Help-Karp LP Relaxation•Extension to general graphs

Page 23: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Removable Pairs

• each edge in R is in at most one pair in P• the edges in a pair are incident to a vertex of degree >= 3• removing a subset of R such that at most one edge from each pair is removed does not disconnect G.

G : 2 connectedR : subset of edgesP µ R X R

Page 24: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Removable Pairs

G : 2 connectedR : subset of edgesP µ R X R

R could have edges which are not in any pair.

Page 25: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Removable Pairs

Theorem : There is aTSP tour with at most 4/3 |E| - 2/3 |R| edges.

Page 26: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Proof idea

Transform G to a 2-connected cubic graph G’, such that (R,P) maps to a removable pair.

Page 27: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Proof idea

Transform G to a 2-connected cubic graph G’, such that (R,P) maps to a removable pair.

Page 28: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Proof idea

In the cubic graph, pick a random matchingand with prob. 2/3 we can remove 2 edgesfor each pair in P.

Page 29: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Finding Good Removable Pairs

Can start with any DFS Tree.

Page 30: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Finding Good Removable Pairs

Page 31: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Finding Good Removable Pairs

If k (¸ 1) back-edges from Tw to v, can add one pair to P and k+1 edges to R

v

w

Tw

Page 32: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Finding Good Removable Pairs

Given a DFS Tree, Make it 2-connected by adding as few back-edges as possible.

The back-edges should be “well-distributed” for many tree-edges, there should be corresponding back-edges.

4/3|E|-2/3|R|

Page 33: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Some Notation

v

w

v

w

Sub-divide tree edges.

|R|=i 2 I 0 or B(i) +1

in-vertices

i

Page 34: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Circulation Problem

v

w

in-vertices

i (1,1)(0,1)

Edges with non-zero (integral) flow form a 2-connected graph.

Page 35: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Min-cost Circulation Problem

v

w

in-vertices

i (1,1)(0,1)

Cost of flow=i 2 I min(0, f(B(i))-1)

Page 36: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Removable Pairs from Circulation

v

w

in-vertices

i (1,1)(0,1)

C=|R|-2|P|

E=n+|R|-|P|

4/3E-2/3R=4/3n+2/3C

Page 37: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Main Theorem

v

w

in-vertices

i (1,1)(0,1)

Given a circulation of cost C, there is a TSP tour of cost at most 4/3n + 2/3C

Page 38: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

2-connected sub-cubic graphs

Send 1 unit of flow on all back-edges.

C=0

v

Page 39: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Talk Outline

• Christofides’ algorithm •4/3-approx for cubic graphs•Idea of removable pairs, and how to find large number of such pairs•4/3-approx for sub-cubic graphs• Help-Karp LP Relaxation•Extension to general graphs

Page 40: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Held Karp LP

Min e xe

x(±(S)) ¸ 2 for all S x ¸ 0

Page 41: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Integrality Gap Example

LP Value = 3L, Opt = 4L

L

Page 42: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Obtaining a circulation

Solve the Held-Karp LP

A basic solution will have non-zero xe

values for at most 2n-1 edges.

Using this basic solution, construct a DFS Tree

Bound the cost of circulation by LP value

Page 43: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Constructing the DFS Tree

When at a vertex v, pick the next edge with the highest xe value.

v

w0.9

0.5

0.3

0.2

Page 44: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Bounding the cost of circulation

For each back-edge e, send xe amount of flow on the unique cycle formed by adding e to the tree.

v

w

0.5Exhibit a circulation of low cost.

Page 45: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Bounding the cost of circulation

If flow fe on a tree edge < 1, then send the remaining (1-fe) unit on any cycle containing e and one back-edge

v

w0.95

Page 46: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

First circulationv

w

0.5

At most n back-edges.i

No. of back-edges into i at least f(B(i))/xvw

Allows us to bound i min(f(B(i))-1,0) in terms of e xe

Page 47: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Second circulation

If not enough flow on a tree-edge, the LP solution must be putting high x value on this edge.

v

w0.95

Page 48: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Final Theorem

Cost of circulation is at most

e

ex)32(4)n26(1

Page 49: Approximating Graphic TSP with Matchings Tobias Momke and Ola Svensson Royal Institute of Tech., Stockholm Presented by Amit Kumar (IIT Delhi)

Open Problems

4/3 approx for general graphs.

Better than 3/2 for weighted graphs.