Tree packing, mincut, and Metric-TSP

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Network Design with Degree Constraints Guy Kortsarz Joint work with Rohit Khandekar and Zeev Nutov.
Primal Dual Combinatorial Algorithms Qihui Zhu May 11, 2009.
Submodular Set Function Maximization via the Multilinear Relaxation & Dependent Rounding Chandra Chekuri Univ. of Illinois, Urbana-Champaign.
Approximating Graphic TSP by Matchings Tobias Mömke and Ola Svensson KTH Royal Institute of Technology Sweden.
1 Matching Polytope x1 x2 x3 Lecture 12: Feb 22 x1 x2 x3.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Approximation Algorithms for TSP
C&O 355 Mathematical Programming Fall 2010 Lecture 21 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
Dependent Randomized Rounding in Matroid Polytopes (& Related Results) Chandra Chekuri Jan VondrakRico Zenklusen Univ. of Illinois IBM ResearchMIT.
Combinatorial Algorithms
Approximating Graphic TSP with Matchings
Approximation Algorithms for TSP Mohit Singh McGill University (in lieu of Amin Saberi)
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Karger’s Min-Cut Algorithm Amihood Amir Bar-Ilan University, 2009.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Network Design Adam Meyerson Carnegie-Mellon University.
An Approximation Algorithm for Requirement cut on graphs Viswanath Nagarajan Joint work with R. Ravi.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Randomness in Computation and Communication Part 1: Randomized algorithms Lap Chi Lau CSE CUHK.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Packing Element-Disjoint Steiner Trees Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint with Joseph Cheriyan Department.
Approximation Algorithms for Graph Routing Problems Julia Chuzhoy Toyota Technological Institute at Chicago.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
The Traveling Salesperson Problem Algorithms and Networks.
The Traveling Salesman Problem Approximation
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Graph Sparsifiers Nick Harvey Joint work with Isaac Fung TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Projects Network Theory VLSI PSM 1. Network 1. Steiner trees
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
Multicommodity flow, well-linked terminals and routing problems Chandra Chekuri Lucent Bell Labs Joint work with Sanjeev Khanna and Bruce Shepherd Mostly.
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
New algorithms for Disjoint Paths and Routing Problems
Graph Partitioning using Single Commodity Flows
Algorithms for hard problems Introduction Juris Viksna, 2015.
Multiroute Flows & Node-weighted Network Design Chandra Chekuri Univ of Illinois, Urbana-Champaign Joint work with Alina Ene and Ali Vakilian.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
Approximating ATSP by Relaxing Connectivity Ola Svensson.
Approximation algorithms
Lap Chi Lau we will only use slides 4 to 19
Randomized Min-Cut Algorithm
Optimization problems such as
Topics in Algorithms Lap Chi Lau.
Traveling Salesman Problems Motivated by Robot Navigation
Joint work with Frans Schalekamp and Anke van Zuylen
The Subtour LP for the Traveling Salesman Problem
Approximating k-route cuts
A note on the Survivable Network Design Problem
1.3 Modeling with exponentially many constr.
Approximation Algorithms for TSP
A Constant-Factor Approximation Algorithm for the Asymmetric Traveling Salesman Problem Ola Svensson, Jakub Tarnawski and László A. Végh.
Multipath Routing for Congestion Minimization & Multiroute Flows
CIS 700: “algorithms for Big Data”
Great Ideas: Algorithm Implementation
CSCI B609: “Foundations of Data Science”
Chaitanya Swamy University of Waterloo
András Sebő and Anke van Zuylen
1.3 Modeling with exponentially many constr.
Exercices series 6 Approximation : constant ratio
On Approximating Covering Integer Programs
The Traveling Salesperson Problem
Algorithms (2IL15) – Lecture 7
Dynamic Graph Algorithms
Submodular Function Maximization with Packing Constraints via MWU
Presentation transcript:

Tree packing, mincut, and Metric-TSP Chandra Chekuri Univ. of Illinois, Urbana-Champaign Joint work with Kent Quanrud

TSP and Metric-TSP TSP: Undir graph G=(V,E), edge costs ce find Hamiltonian Cycle in G of minimum cost Inapproximable Metric-TSP: Undir graph G=(V,E), edge costs ce find spanning tour in G of minimum cost same as Hamiltonian Cycle in metric completion of G APX-Hard and constant factor known

Approximating Metric-TSP 3/2 approximation: Christofides heuristic (1976) Conjecture: 4/3 approximation via LP relaxation Recent exciting progress on graphic-TSP, s-t-Path- TSP, ATSP etc. Mostly based on LP relaxations.

Subtour Elimination LP for TSP [Dantzig-Fulkerson-Johnson 1954]

2ECSS LP Metric-TSP: 2ECSS LP is equivalent to Subtour LP [Cunningham, Bertsimas-Goemans]

Solving the LP Ellipsoid: separation oracle is global mincut Held-Karp bound/algorithm: iterative method that converges to the LP solution FPTASes via MWU/Lagrangean relaxation (1+ 𝜀) approximation O(m2 log4 n/ 𝜀 2 ) randomized [Plotkin-Shmoys- Tardos’95] via Karger’s mincut algorithm O(m2 log2 n/ 𝜀 2 ) [Garg-Khandekar’02]

Solving the LP FPTASes via MWU/Lagrangean relaxation O(m2 log4 n/ 𝜀 2 ) randomized [Plotkin-Shmoys- Tardos’95] O(m2 log n/ 𝜀 2 ) [Garg-Khandekar’02] Theorem [C-Quanrud’17] Randomized algorithm that runs in O(m log4 n/ 𝜀 2 ) time.

Dual of 2ECSS LP Packing cuts into capacities

MWU Approach Maintain positive weights for constraints: we for each edge e Each iteration: solve mincut in G with edge wts we Take small step according to mincut: 𝑥=𝑥+𝛿 𝑦 𝑆 Update weights: exponential in load Iterate until done

MWU Approach Each iteration requires solving a global mincut problem: randomized O(m log3 n) alg [Karger’00] O(m log m/ 𝜀 2 ) iterations O(m2 log4 m/ 𝜀 2 ) randomized algorithm [Plotkin- Shmoys-Tardos’95] O(m2 log2 m/ 𝜀 2 ) deterministic algorithm based on arborescence packing [Garg-Khandekar’04]

Our Approach Each iteration requires solving a global mincut problem: randomized O(m log3 n) alg [Karger’00] O(m log m/ 𝜀 2 ) iterations Two ideas: Make Karger’s algorithm incremental Weight update integrated with incremental mincut algorithm Overall time is is about O(log n) mincut computations

High-level Ideas for MWU Speed up classical MWU based approximation schemes for implicit problems Problem-specific integration of dynamic data structures for two separate issues oracle for MWU (lazy) weight update Inspired by [Koufagiannis-Young’07, Young’15] for weight update, and other work on MWU [Madry’10, Agarwal-Pan’14 …]

Karger’s near-linear time mincut algorithm [STOC’96, JACM’00] Not a random contraction algorithm! O(m log3 n) time randomized algorithm Based on tree packings and dynamic programming

Packing Spanning Trees Input: graph G=(V,E) edge capacities ce Goal: find a max fractional packing of spanning trees

Tutte-NashWilliams Theorem packing value: 𝜏 𝐺 = min 𝑃 𝐸(𝑃) 𝑃 −1 Corollary: τ(G) ≥ (n-1)λ(G)/2n > λ(G)/2

Useful corollary Lemma [Karger]: Fix a mincut δ(S*). In a 4/5- approximate tree packing, a tree T chosen at random from the packing, with probability at least a fixed constant c, intersects δ(S) in at most 2 edges. V\S* S*

Packing Spanning Trees Theorem: [C-Quanrud’17] (1- 𝜀)-approximate tree packing can be computed in O(m log4 n/ 𝜀 2 ) time. Note: Tree packing can have Ω(m) trees. Algorithm outputs an implicit representation. Previous work: O(nm log n/ 𝜀 2 ) time for capacitated case. Near-linear time known for unit capacities.

Packing Spanning Trees: Related Results and Applications Can approximately decompose a point in a spanning tree polytope into a convex combination of spanning trees in near-linear time Network strength and fractional packing # in O((m + n/ 𝜀 4 )polylog) time Applications to TSP, k-Cut, …

Karger’s mincut algorithm Randomly sparsify G to obtain unweighted graph H with λ(H) = O(log n) Find tree packing in H to obtain O(log n) trees T1, T2, …, T c log n For each Ti Use clever dynamic programming algorithm to find smallest cut of G that 2-respects Ti in O(m log2 n) time Output cheapest cut found over all trees

Karger’s mincut algorithm redone Given G=(V,E) compute 4/5-approximate tree packing in O(m log3 n) time using [CQ’17] Pick a tree T at random from the packing Use Karger’s clever dynamic programming algorithm to find smallest cut of G that 2-respects T in O(m log2 n) time Repeat steps 2,3 Θ(log n) times

MWU for Packing Spanning trees and Metric-TSP Both packing problems: pack trees or cuts into capacities. MWU alg maintains weight we for each edge e where we is exponential in load xe/ce Oracle: MST and Mincut After each iteration need to update weights of new spanning tree or new mincut Total # of iterations O(m log m/ε2)

Speeding up and bottlenecks MWU weight increase monotonically Suffice to output a (1+ε) approximate MST/Mincut Maintain incremental data structure for MST/Mincut Update weight in data structure only if it increases by a (1+ε) multiplicative factor. Charge data structure operations to MWU potential function Bottleneck: Updating weights even if data structure is free!

Spanning Trees Dynamic MST: Can update MST as weights change in O(polylog(n)) per edge update [Thorup, Holm- Lichtenberg-Thorup’01] Advantage of MSTs: weight of one edge changes, new MST is one edge-swap from old one Bottleneck: Updating weights even if data structure is free!

Updating weights in each iteration

Mincuts Dynamic Mincut: [Thorup] 𝑂 𝑛 amortized update time for mincut value but randomized against oblivious adversary. MWU algorithm adaptive Bottleneck: Updating weights. Mincut can change dramatically on weight updates. Solution: custom designed incremental algorithm tailored for MWU via Karger’s algorithm.

Faster Approximation for Metric-TSP via LP

Christofides Heuristic for Metric-TSP

Christofides Heuristic Compute MST T of G=(V,E) S: odd degree vertices of S Find min-cost S-join in G via min-cost matching T+S-join is Eulerian and connected. Find Euler tour Running time: [Gabow-Tarjan’91] Explicit metric: 𝑂 (n2.5) Implicit metric: 𝑂 (mn + n2.5)

Christofides Heuristic and LP [Wolsey’80] Compute MST T of G=(V,E): c(T) ≤ OPTLP S: odd degree vertices of S Find min-cost S-join in G via min-cost matching For any spanning tree T, mincost S-join ≤ OPTLP /2 T+S-join is Eulerian and connected. Find Euler tour

Christofides Heuristic: Faster Implementation via LP Compute MST T of G=(V,E) S: odd degree vertices of S Solve LP to find solution x Sparsify via [Benczur-Karger] to reduce support of x to O(n log n) edges Find min-cost S-join in sparsified graph via reduction to min-cost matching: O(n log n) sized graph T+S-join is Eulerian and connected

Christofides Heuristic: Faster Implementation via LP New (randomized) run-time for 3/2+ ε approx. Explicit metric: 𝑂 (n2/ε2 + n1.5/ε3) Implicit metric: 𝑂 (m/ε2 + n1.5/ε3) Previous run-time for 3/2 approx. [Gabow-Tarjan’91] Explicit metric: 𝑂 (n2.5) Implicit metric: 𝑂 (mn + n2.5)

Best of many Christofides Heuristics Solve LP to find solution x y = ((n-1)/n) x is in spanning tree polytope of G Pick random spanning tree T with marginals y Find min-cost S-join: S odd-degree nodes of T T+S-join is Eulerian and connected

Best of many Christofides Heuristics Pick random spanning tree T with marginals y Decompose y into convex combination of trees Swap-rounding wrt to convex combination Max-entropy distribution according to y Can implement steps 1, 2 in near-linear time

s-t Path TSP Undir graph G=(V,E), edge costs ce Start node s, end node t Find s-t spanning walk of minimum cost

Approximating s-t PathTSP 5/3 approx. via generalization of Christofides heuristic [Hoogeveen 91] Conjecture: LP integrality gap is 3/2 [An-Kleinberg-Shmoys’12] (1+√5)/2 ≅ 1.618 approximation via best-of-many Christofied heuristic [Sebo-vanZuylen’16] 3/2 + 1/34 via LP [Traub-Vygen’18] 3/2 + ε via LP + DP

Approximating s-t PathTSP: Faster Algorithms [C-Quanrud’18] work in progress Can solve LP in near-linear time Can implement [An-Kleinberg-Shmoys’12] Explicit metric: 𝑂 (n2/ε2 + n1.5/ε3) Implicit metric: 𝑂 (m/ε2 + n1.5/ε3)

Remarks and Open Problems Judicious use of data structures can lead to substantial speed ups in implementation of MWU based algorithms Solving LP faster than combinatorial algorithms in some cases! Faster deterministic algorithm for mincut? NC algorithm for global mincut?

Thank You!