Doubling dimension and the traveling salesman problem Yair BartalHebrew University Lee-Ad GottliebHebrew University Robert KrauthgamerWeizmann Institute.

Slides:



Advertisements
Similar presentations
Efficient classification for metric data Lee-Ad GottliebWeizmann Institute Aryeh KontorovichBen Gurion U. Robert KrauthgamerWeizmann Institute TexPoint.
Advertisements

Algorithmic Frontiers of Doubling Metric Spaces Robert Krauthgamer Weizmann Institute of Science Based on joint works with Yair Bartal, Lee-Ad Gottlieb,
Weighted Matching-Algorithms, Hamiltonian Cycles and TSP
Chapter 4 Partition I. Covering and Dominating.
Great Theoretical Ideas in Computer Science
Triangle partition problem Jian Li Sep,2005.  Proposed by Redstar in Algorithm board in Fudan BBS.  Motivated by some network design strategy.
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Great Theoretical Ideas in Computer Science for Some.
Cse 521: design and analysis of algorithms Time & place T, Th pm in CSE 203 People Prof: James Lee TA: Thach Nguyen Book.
Approximation Algorithms for TSP
ESA On approximating a geometric prize-collecting traveling salesman problem with time windows Reuven Bar-Yehuda – Technion IIT Guy Even – Tel Aviv.
A Nonlinear Approach to Dimension Reduction Lee-Ad Gottlieb Weizmann Institute of Science Joint work with Robert Krauthgamer TexPoint fonts used in EMF.
Navigating Nets: Simple algorithms for proximity search Robert Krauthgamer (IBM Almaden) Joint work with James R. Lee (UC Berkeley)
Great Theoretical Ideas in Computer Science.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Efficient classification for metric data Lee-Ad GottliebHebrew U. Aryeh KontorovichBen Gurion U. Robert KrauthgamerWeizmann Institute TexPoint fonts used.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
The Gas Station Problem Samir Khuller Azarakhsh Malekian Julian Mestre UNIVERSITY OF MARYLAND.
Proximity algorithms for nearly-doubling spaces Lee-Ad Gottlieb Robert Krauthgamer Weizmann Institute TexPoint fonts used in EMF. Read the TexPoint manual.
Polynomial Time Approximation Scheme for Euclidian Traveling Salesman
Coresets and Sketches for High Dimensional Subspace Approximation Problems Morteza Monemizadeh TU Dortmund Joint work with: D. Feldman, C. Sohler, D. Woodruff.
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
1 Combinatorial Dominance Analysis Keywords: Combinatorial Optimization (CO) Approximation Algorithms (AA) Approximation Ratio (a.r) Combinatorial Dominance.
On Euclidean Vehicle Routing With Allocation Reto Spöhel, ETH Zürich Joint work with Jan Remy and Andreas Weißl TexPoint fonts used in EMF. Read the TexPoint.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Doubling Dimension in Real-World Graphs Melitta Lorraine Geistdoerfer Andersen.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
Efficient Regression in Metric Spaces via Approximate Lipschitz Extension Lee-Ad GottliebAriel University Aryeh KontorovichBen-Gurion University Robert.
Algorithms on negatively curved spaces James R. Lee University of Washington Robert Krauthgamer IBM Research (Almaden) TexPoint fonts used in EMF. Read.
Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing , China.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Fast, precise and dynamic distance queries Yair BartalHebrew U. Lee-Ad GottliebWeizmann → Hebrew U. Liam RodittyBar Ilan Tsvi KopelowitzBar Ilan → Weizmann.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Polynomial-time approximation schemes for geometric NP-hard problems Reto Spöhel Reading Group, May 17, 2011 TexPoint fonts used in EMF. Read the TexPoint.
The Traveling Salesman Problem Over Seventy Years of Research, and a Million in Cash Presented by Vladimir Coxall.
An optimal dynamic spanner for points residing in doubling metric spaces Lee-Ad Gottlieb NYU Weizmann Liam Roditty Weizmann.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
A linear time approximation scheme for Euclidean TSP Yair BartalHebrew University Lee-Ad GottliebAriel University TexPoint fonts used in EMF. Read the.
On Euclidean Vehicle Routing With Allocation Reto Spöhel, ETH Zürich Joint work with Jan Remy and Andreas Weißl TexPoint fonts used in EMF. Read the TexPoint.
Approximation Algorithms for TSP Tsvi Kopelowitz 1.
Doubling Dimension: a short survey Anupam Gupta Carnegie Mellon University Barriers in Computational Complexity II, CCI, Princeton.
A light metric spanner Lee-Ad Gottlieb. Graph spanners A spanner for graph G is a subgraph H ◦ H contains vertices, subset of edges of G Some qualities.
Analysis of the Traveling Salesman Problem and current approaches for solving it. Rishi B. Jethwa and Mayank Agarwal. CSE Department. University of Texas.
Adaptive Metric Dimensionality Reduction Aryeh KontorovichBen Gurion U. joint work with: Lee-Ad GottliebAriel U. Robert KrauthgamerWeizmann Institute.
Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.
The geometric GMST problem with grid clustering Presented by 楊劭文, 游岳齊, 吳郁君, 林信仲, 萬高維 Department of Computer Science and Information Engineering, National.
Sketching complexity of graph cuts Alexandr Andoni joint work with: Robi Krauthgamer, David Woodruff.
1 Euler and Hamilton paths Jorge A. Cobb The University of Texas at Dallas.
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
Nearly optimal classification for semimetrics
Haim Kaplan and Uri Zwick
Polynomial-time approximation schemes for NP-hard geometric problems
Great Theoretical Ideas in Computer Science
Approximation Algorithms for TSP
Enumerating Distances Using Spanners of Bounded Degree
Lecture 16: Earth-Mover Distance
Light Spanners for Snowflake Metrics
cse 521: design and analysis of algorithms
Metric Methods and Approximation Algorithms
Embedding Metrics into Geometric Spaces
The Intrinsic Dimension of Metric Spaces
Clustering.
Approximation Algorithms
Hierarchical Routing in Networks with Bounded Doubling Dimension
Routing in Networks with Low Doubling Dimension
Presentation transcript:

Doubling dimension and the traveling salesman problem Yair BartalHebrew University Lee-Ad GottliebHebrew University Robert KrauthgamerWeizmann Institute TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA

Traveling salesman problem Definition: Given a set of cities (points) find a minimum tour that visits each point  Classic, well-studied NP-hard problem  [Karp ‘72; Papadimitriou, Vempala ‘06]  Mentioned in a handbook from 1832!  Common benchmark for optimization methods  Many books devoted to TSP… Other variants Closed tour Multiple tours Etc… 2 Optimal tour

Traveling salesman problem Some additional assumptions on distances  Symmetric d(x,y) = d(y,x)  Metric Triangle inequality: d(x,y) + d(y,z) ≤ d(x,z) Easy 2-approximation via MST  Since OPT ≥ MST 3 MST

Traveling salesman problem 4 MST

Sanjeev Arora [A. ‘98] and Joe Mitchell [M. ‘99] : Euclidean TSP with fixed dimension admits a PTAS  (1+ Ɛ )-approximate tour  In time n(log n) Ɛ -Ỡ(d)  (Easy extension to other norms) They were awarded the 2010 Gödel Prize for this discovery 5 Euclidean TSP 5

6 To achieve a PTAS, two properties were assumed  Euclidean space  Fixed dimension Are both these assumptions required?  Fixed dimension is necessary Hardness: No PTAS for (log n)-dimensions [Trevisan ’00]  Is Euclidean necessary? A PTAS for metric space? Problem: Arbitrary metric space includes high-dimension Euclidean space... What about metric spaces with low intrinsic dimension? 6

Doubling Dimension Definition: Ball B(x,r) = all points within distance r from x. The doubling constant (of a metric M) is the minimum value such that every ball can be covered by balls of half the radius  First used by [Assoud ‘83], algorithmically by [Clarkson ‘97].  The doubling dimension is ddim(M)=log (M) [Gupta,Krauthgamer,Lee ‘03]  A metric is doubling if its doubling dimension is constant Packing property of doubling spaces  A set with diameter D and min. inter-point distance a, contains at most (D/a) O(ddim) points 7 Here ≤7.

Applications of doubling dimension Nearest neighbor search  [Krauthgamer, Lee ’04; Har-Peled, Mendel ’06; Beygelzimer, Kakade, Langford ’06; Cole, G. ‘06] Spanner construction, routing  [G., Roditty ’08a, ’08b; Elkin, Solomon ‘12a, ‘12b; Abraham, Gavoille, Goldberg, Malkhi ‘05] Distance oracles  [Har-Peled, Mendel ’06; Bartal, G., Roditty, Kopelowitz, Lewenstein ’11] Dimension reduction  [G., Krauthgamer, ’11; Bartal, Recht, Schulman ‘11] Machine learning  [Bshouty, Yi, Long ‘09; G., Kontorovich, Krauthgamer ’10, ‘12; ] Extension to nearly-doubling spaces  [G., Krauthgamer ‘10] 8 G H

9 PTAS for metric TSP? Does TSP on doubling metrics admit a PTAS?  Arora and Mitchell made strong use of Euclidean properties  “Most fascinating problem left open in this area”  James Lee, tcs math blog, June ‘10 Some attempts  Quasi-PTAS  [Talwar ‘04] (First description of problem)  QPTAS for metric with neighborhoods  [Mitchell ’07; Chan, Elbassioni ‘11]  Subexponential-TAS, under more general growth assumption  [Chan, Gupta ‘08] 9

10 PTAS for metric TSP? Does TSP on doubling metrics admit a PTAS? Yes!  (1+ Ɛ )-approximate tour  In time:n 2 O(ddim) 2 Ɛ -Ỡ(ddim) 2 O(ddim 2 ) log ½ n  Euclidean:n (log n) Ɛ -Ỡ(d) We’ll jump right in to the construction 10

Metric partition 11 Starting point – a quadtree like hierarchy [Talwar ‘04, Bartal ‘96]

Starting point – a quadtree like hierarchy [Talwar ‘04, Bartal ‘96] Metric partition 12 Arbitrary center point, ordering Random radius R i = [2 i, 2·2 i ]

Metric partition 13 Starting point – a quadtree like hierarchy [Talwar ‘04, Bartal ‘96]

Metric partition 14 Random radius R i-1 = [2 i-1, 2·2 i-1 ] Arbitrary center point Starting point – a quadtree like hierarchy [Talwar ‘04, Bartal ‘96]  Caveat: logn hiearchical levels suffice Ignore tiny distances < 1/n 2

Metric TSP 15 2 i-1 /M Definition: A tour is (m,r)-light on a hierarchy if it enters all cells (clusters)  At most r times  Only via m portals Portals are 2 i-1 /M –net points m = M O(ddim)

16 Metric TSP Theorem [Arora ‘98,Talwar ‘04]: Given a partition  The best (m,r)-light tour on the partition can be computed exactly m r O(ddim) nlogn time Via simple dynamic programming  Join tours for small clusters into tour for larger cluster

Metric TSP Our contribution Theorem: Given an optimal tour T, there exists a partition with  (m,r)-light tour T’ M = ddim logn/ Ɛ m = M O(ddim) = (logn/ Ɛ ) Ỡ(ddim) r = Ɛ -O(d) loglogn  Length of T’ is within (1+ Ɛ ) factor of the length of T 17

Metric TSP Our contribution Theorem: Given an optimal tour T, there exists a partition with  (m,r)-light tour T’ M = ddim logn/ Ɛ m = M O(ddim) = (logn/ Ɛ ) Ỡ(ddim) r = Ɛ -O(d) loglogn  Length of T’ is within (1+ Ɛ ) factor of the length of T If the partition were known, then T’ could be found in time  m r O(ddim) n logn = n 2 Ɛ -Ỡ(ddim) loglog 2 n 18

Metric TSP Our contribution Theorem: Given an optimal tour T, there exists a partition with  (m,r)-light tour T’ M = ddim logn/ Ɛ m = M O(ddim) = (logn/ Ɛ ) Ỡ(ddim) r = Ɛ -O(d) loglogn  Length of T’ is within (1+ Ɛ ) factor of the length of T If the partition were known, then T’ could be found in time  m r O(ddim) n logn = n 2 Ɛ -Ỡ(ddim) loglog 2 n It remains only to prove the Theorem, and to show how to find the partition 19

Metric TSP 20 Modify a tour to be (m,r)-light  Part I: Focus on m (i.e. net points)  [Arora ‘98, Talwar ‘04] Move cut edges to be incident on net points R i-1 /M

Metric TSP 21 R i-1 /M

Metric TSP 22 Modify a tour to be (m,r)-light  Part II: Focus on r (i.e. number of crossing edges)  Reduce number of crossings

Metric TSP 23

MST in doubling spaces Bound the weight of MST in doubling space [Talwar ‘04]: For any r-point set S  MST(S) = Rr 1-1/ddim « Rr  Per point cost = R/r 1/ddim 24 2R

Metric TSP 25 2R

Metric TSP 26 2R

Metric TSP Key observation:  Space can be decomposed into sparse neighborhoods Consider an (i-1)-level ball  If the local tour weight inside is at least R i-1 / Ɛ “Dense” ball  Ball can be removed, each subproblem solved separately 27

Metric TSP Key observation:  Space can be decomposed into sparse neighborhoods Consider an (i-1)-level ball  If the local tour weight inside is at least R i-1 / Ɛ “Dense” ball  Ball can be removed, each subproblem solved separately Cost to join tours: only R i-1 28

Metric TSP Sparse decomposition:  Search hierarchy bottom-up for “dense” balls.  Remove “dense” ball Ball is composed of sparse subballs So it’s barely dense  Recurse on remaining point set How do we know the local weight of the tour in a ball?  Can be estimated using the local MST  Modulo some caveats, error terms… OPT B(u,R) = O(MST(S)) B(u,3R) OPT = Ω(MST(S)) - Ɛ -O(ddim) R 29

Metric TSP 30 R i-1 /M Suppose a tour is q-sparse with respect to hierarchy  Every R-ball contains weight Rq (for all R=2 i )  Expectation: Random R-ball cuts weight Rq/R = q Cluster formed by cuts from many levels Expectation: q cuts per level If r = q 2loglogn  Expectation: (i-1)-level patching includes cuts from 2loglogn higher levels  Charge patching to edges in top loglogn levels Cut Pr: (ddim/R i+loglogn ) = (ddim/R i-1 logn)

Metric TSP 31 2R

Metric TSP 32 R i-1 /M Outstanding problem:  Previous analysis assumed ball cuts only q edges  True in expectation… Not good enough  Solution: try many hierachies choose logn random radii for each ball Then some hierarchy has balls which cut only q edges Drives up runtime of dynamic program Thank you!