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.

Slides:



Advertisements
Similar presentations
Polynomial Time Approximation Schemes for Euclidean TSP Ankush SharmaA H Xiao LiuA E Tarek Ben YoussefA
Advertisements

Weighted Matching-Algorithms, Hamiltonian Cycles and TSP
Chapter 4 Partition I. Covering and Dominating.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Types of Algorithms.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Polynomial Time Approximation Schemes Presented By: Leonid Barenboim Roee Weisbert.
A polylogarithmic approximation of the minimum bisection Robert Krauthgamer The Hebrew University Joint work with Uri Feige.
Combinatorial Algorithms
Algorithm Strategies Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
1 Greedy Algorithms. 2 2 A short list of categories Algorithm types we will consider include: Simple recursive algorithms Backtracking algorithms Divide.
Approximation Algorithms: Concepts Approximation algorithm: An algorithm that returns near-optimal solutions (i.e. is "provably good“) is called an approximation.
Polynomial-Time Approximation Schemes for Geometric Intersection Graphs Authors: T. Erlebach, L. Jansen, and E. Seidel Presented by: Ping Luo 10/17/2005.
The Gas Station Problem Samir Khuller Azarakhsh Malekian Julian Mestre UNIVERSITY OF MARYLAND.
Recent Development on Elimination Ordering Group 1.
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.
Polynomial Time Approximation Scheme for Euclidian Traveling Salesman
Implicit Hitting Set Problems Richard M. Karp Harvard University August 29, 2011.
1 Vertex Cover Problem Given a graph G=(V, E), find V' ⊆ V such that for each edge (u, v) ∈ E at least one of u and v belongs to V’ and |V’| is minimized.
NP and NP- Completeness Bryan Pearsaul. Outline Decision and Optimization Problems Decision and Optimization Problems P and NP P and NP Polynomial-Time.
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.
Approximation Algorithms
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 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
The Traveling Salesperson Problem Algorithms and Networks.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Chandra Chekuri, Nitish Korula and Martin Pal Proceedings of the nineteenth annual ACM-SIAM symposium on Discrete algorithms (SODA 08) Improved Algorithms.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Ch. 6 - Approximation via Reweighting Presentation by Eran Kravitz.
Cooperative TSP Amitai Armon, Adi Avidor and Oded Schwartz Tel-Aviv University, Israel.
1 Combinatorial Algorithms Parametric Pruning. 2 Metric k-center Given a complete undirected graph G = (V, E) with nonnegative edge costs satisfying the.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
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.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
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.
Chapter 5 Guillotine Cut (2) Portals Ding-Zhu Du.
Types of Algorithms. 2 Algorithm classification Algorithms that use a similar problem-solving approach can be grouped together We’ll talk about a classification.
Spatial Indexing Techniques Introduction to Spatial Computing CSE 5ISC Some slides adapted from Spatial Databases: A Tour by Shashi Shekhar Prentice Hall.
Doubling Dimension: a short survey Anupam Gupta Carnegie Mellon University Barriers in Computational Complexity II, CCI, Princeton.
Chapter 4 Partition (1) Shifting Ding-Zhu Du. Disk Covering Given a set of n points in the Euclidean plane, find the minimum number of unit disks to cover.
Chapter 13 Backtracking Introduction The 3-coloring problem
Correlation Clustering Nikhil Bansal Joint Work with Avrim Blum and Shuchi Chawla.
An Exact Algorithm for Difficult Detailed Routing Problems Kolja Sulimma Wolfgang Kunz J. W.-Goethe Universität Frankfurt.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Traveling Salesman Problem DongChul Kim HwangRyol Ryu.
Steiner trees: Approximation Algorithms
Polynomial-time approximation schemes for NP-hard geometric problems
Chapter 5. Optimal Matchings
1.3 Modeling with exponentially many constr.
Enumerating Distances Using Spanners of Bounded Degree
Analysis of Algorithms
Light Spanners for Snowflake Metrics
Advanced Analysis of Algorithms
Introduction Wireless Ad-Hoc Network
1.3 Modeling with exponentially many constr.
Clustering.
Major Design Strategies
Approximation Algorithms
Donghui Zhang, Tian Xia Northeastern University
Major Design Strategies
Presentation transcript:

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 manual before you delete this box.: A A A A A

The Traveling Salesman Problem The Traveling Salesman Problem (TSP) Input: edge-weighted graph G Output: Hamilton cycle in G with minimum edge-weight Motivation: Traveling salesman ;-) Complexity: NP-hard Admits no constant factor approximation [Sahni and Gonzalez 76]

Metric TSP Input: edge-weighted graph G satisfying triangle inequality Output: Hamilton cycle in G with minimum edge-weight Motivation: real-world problems usually satisfy triangle inequality Complexity: still NP-hard admits 3/2-approximation [Christofides 76] admits no PTAS [Arora et al. 98]

Euclidean TSP Input: points P ½  2 Output: tour ¼ through P with minimal length Complexity: still NP-hard [Papadimitriou 77] admits PTAS [Arora 96; Mitchell 96]

Euclidean TSP Input: points P ½  2 Output: tour ¼ through P with minimal length Complexity: still NP-hard [Papadimitriou 77] admits PTAS [Arora 96; Mitchell 96] …even one with complexity O(n log n). Rao, Smith (1998) There is a randomized PTAS for Euclidean TSP with complexity O(n log n). Arora (1997) There is a randomized PTAS for Euclidean TSP with complexity n log O(1/ ² ) n.

VRAP (Euclidean) Vehicle Routing with Allocation (VRAP) Input: points P ½  2, constant ¯ ¸ 1 Output: tour ¼ through subset T µ P minimizing Motivation: salesman does not visit all customers customers not visited go to next tourpoint, which is more expensive by a factor of ¯.

VRAP (Euclidean) Vehicle Routing with Allocation (VRAP) Input: points P ½  2, constant ¯ ¸ 1 Output: tour ¼ through subset T µ P minimizing Complexity: NP-hard, since setting ¯ ¸ 2 yields Euclidean TSP as for Euclidean TSP, there exists a quasilinear PTAS Remy, S., Weißl (WADS ´07) There is a randomized PTAS for VRAP with complexity O(n log 5 n).

Steiner VRAP Input: points P ½  2, constant ¯ ¸ 1 Output: subset T µ P, set of points S ½  2 (Steiner Points), tour ¼ through T [ S minimizing Motivation: salesman may also stop en route to serve customers

Steiner VRAP Input: points P ½  2, constant ¯ ¸ 1 Output: subset T µ P, set of points S ½  2 (Steiner Points), tour ¼ through T [ S minimizing … Complexity: NP-hard admits PTAS even a quasilinear one Remy, S., Weißl (WADS ´07) There is a randomized PTAS for Steiner VRAP with complexity n log O(1/ ² ) n. Armon, Avidor, Schwartz (ESA ´06) There is a randomized PTAS for Steiner VRAP with complexity n O(1/ ² ).

Our techniques Finding a good solution for VRAP means a) finding a good set of tourpoints T µ P b) finding a good tour on this set T simultaneously. a) is essentially a facility location problem. We use the adaptive dissection technique, due to [Kolliopoulos and Rao 99] b) is Euclidean TSP. We use dynamic programming on sparse Euclidean spanners, due to [Rao and Smith 98] To put both ideas into perspective, we start by explaining the basics of dynamic programming in quadtrees, as introduced in [Arora 96] for Euclidean TSP

Preliminaries We assume that the input points P have odd integer coordinates lie inside a square whose sidelength is a power of 2 of order O(n/ ² ) This is ok, since every (1+ ² /2)-approximation for the rescaled and shifted input P’ corresponds to a (1+ ² )- approximation for the original input P. P

Preliminaries We assume that the input points P have odd integer coordinates lie inside a square whose sidelength is a power of 2 of order O(n/ ² ) This is ok, since every (1+ ² /2)-approximation for the rescaled and shifted input P’ corresponds to a (1+ ² )- approximation for the original input P. P‘

Preliminaries We assume that the input points P have odd integer coordinates lie inside a square whose sidelength is a power of 2 of order O(n/ ² ) This is ok, since every (1+ ² /2)-approximation for the rescaled and shifted input P’ corresponds to a (1+ ² )- approximation for the original input P. P‘

Preliminaries We assume that the input points P have odd integer coordinates lie inside a square whose sidelength is a power of 2 of order O(n/ ² ) This is ok, since every (1+ ² /2)-approximation for the rescaled and shifted input P’ corresponds to a (1+ ² )- approximation for the original input P. P

Quadtrees Choose origin of coordinate system (= center of large square) randomly. this is the only source of randomness in all algorithms

Quadtrees Split large square recursively into 4 smaller squares until squares have sidelength 2 Since bounding square has sidelength O(n), resulting tree has O(n 2 ) nodes (squares) and depth O(log n)

Quadtrees Truncated quadtree: stop subdivision at empty squares remaining tree has O(n log n) nodes

Place O(log n/ ² ) many equidistant points (‘portals’) on the boundary of each square. Impose restriction: Salesman may enter/leave a square only via its portals. Portal-respecting solutions In expectation, detouring all edges of the optimal salesman tour via the nearest portal increases its length only by a factor of 1+ ². Lemma

Place O(log n/ ² ) many equidistant points (‘portals’) on the boundary of each square. Impose restriction: Salesman may enter/leave a square only via its portals. Intuition: for two fixed points: good In expectation, detouring all edges of the optimal salesman tour via the nearest portal increases its length only by a factor of 1+ ². Lemma Portal-respecting solutions

Place O(log n/ ² ) many equidistant points (‘portals’) on the boundary of each square. Impose restriction: Salesman may enter/leave a square only via its portals. Intuition: for two fixed points: bad but unlikely! In expectation, detouring all edges of the optimal salesman tour via the nearest portal increases its length only by a factor of 1+ ². Lemma Portal-respecting solutions

Place O(log n/ ² ) many equidistant points (‘portals’) on the boundary of each square. Impose restriction: Salesman may enter/leave a square only via its portals. i.e., there is an expected nearly-optimal portal- respecting salesman tour. We try to find the best portal-respecting salesman tour by dynamic programming in the quadtree. In expectation, detouring all edges of the optimal salesman tour via the nearest portal increases its length only by a factor of 1+ ². Lemma Portal-respecting solutions

Dynamic programming in quadtrees For a given square Q, guess which portals are used by salesman tour, and enumerate all possible configurations . For each configuration , calculate estimate for the length of a good tour inside Q, subject to the restrictions given by  : If Q is a leaf of the quadtree, by brute force. If Q is an inner node of the quadtree, by recursing to its four children. 

Running time Working in a non-truncated quadtree, we have to consider O(n 2 ) squares. For each of these we have to consider 2 O(log n/ ² ) = n O(1/ ² ) configurations, and the estimate for each configuration can be calculated in time n O(1/ ² ). We obtain a PTAS with running time O(n 2 ) ¢ n O(1/ ² ) ¢ n O(1/ ² ) = n O(1/ ² ) This is essentially the technique used in the PTAS for Steiner VRAP by Armon et al. to achieve quasilinear time, we can only use polylogarithmic time per square. In particular, we can only consider polylogarithmically many configurations per square. Armon, Avidor, Schwartz (ESA ´06) There is a randomized PTAS for Steiner VRAP with complexity n O(1/ ² ).

Improving the running time Idea: proceed bottom-up through quadtree and modify each square with too many crossings by introducing line segments parallel to sides. Patching Lemma (Arora) The optimal solution can be modified such that it crosses the boundary of every square at most O(1/ ² ) many times. In expectation, this increases the length of the tour only by a factor of 1+ ². x The total length of the new line segments is at most 3x  modification on low levels of the quadtree are cheap.

Improving the running time i.e., there is an expected nearly-optimal portal- respecting salesman tour which for every square uses only O(1/ ² ) many of the O(log n) portals. Looking for such a ‘patched’ solution, we only have to consider O(log n) O(1/ ² ) = log O(1/ ² ) n configurations per square! Patching Lemma (Arora) The optimal solution can be modified such that it crosses the boundary of every square at most O(1/ ² ) many times. In expectation, this increases the length of the tour only by a factor of 1+ ².

Improving the running time We only have to consider log O(1/ ² ) n configurations per square. Working in a truncated quadtree, we obtain a PTAS with running time O(n log n) ¢ log O(1/ ² ) n ¢ log O(1/ ² ) n = n log O(1/ ² ) n Patching Lemma (Arora) The optimal solution can be modified such that it crosses the boundary of every square at most O(1/ ² ) many times. In expectation, this increases the length of the tour only by a factor of 1+ ². Arora (1997) There is a randomized PTAS for Euclidean TSP with complexity n log O(1/ ² ) n.

Improving the running time Combining the extended patching lemma with standard quadtree techniques for facility location problems [Arora, Raghavan, Rao 98], we obtain Remy, S., Weißl (WADS ´07) There is a randomized PTAS for Steiner VRAP with complexity n log O(1/ ² ) n. Patching Lemma (Arora) The optimal solution can be modified such that it crosses the boundary of every square at most O(1/ ² ) many times. In expectation, this increases the length of the tour only by a factor of 1+ ². Lemma The Patching Lemma extends to Steiner VRAP.

Advanced techniques These techniques also easily yield an n log O(1/ ² ) n-PTAS for (non-Steiner) VRAP. Improving this to O(n log 5 n) requires two advanced techniques, one for the Euclidean TSP part of the problem, and one for the facility location part of the problem. Euclidean TSP [Rao and Smith 98] : Move the ‚patching‘ from the analysis to the algorithm itself. Key concept: sparse Euclidean spanner Facility location [Kolliopoulos and Rao 99] : Make recursive calls of dynamic program depend on where we guess the facilities (tourpoints) to be (‚adaptive dissection‘) Key concept: zoom tree (replaces quadtree)

Sparse Euclidean spanners Patching revisited: In Arora’s technique, the ‘patching’ is not part of the algorithm – we simply know a nearly-optimal patched solution exists, and try to find it by dynamic programming. Rao and Smith improved Arora’s running time by making the ‘patching’ part of the algorithm. A (1+ ² )-spanner S on P is a straight-line graph on P such that for every two points the shortest path in S is at most (1+ ² ) time their Euclidean distance. A ‚short’ (1+ ² )-spanner can be computed in time O(n log n) [Gudmundsson, Levcopoulos, and Narasimhan 00] similar to Arora’s technique, such a spanner can be patched to obtain a graph which has O(1/ ² ) many crossings with every square of the quadtree.

Sparse Euclidean spanners A better algorithm for Euclidean TSP: Compute spanner on P Patch spanner (  sparse ‘spanner’) Dynamic programming in quadtree, but instead of portals use edges of sparse ‘spanner’. We now have constantly many configurations per square! We obtain a PTAS with running time O(n log n) ¢ O(1) ¢ O(1) = O(n log n) Rao, Smith (1998) There is a randomized PTAS for Euclidean TSP with complexity O(n log n).

Adaptive dissection To improve the running time for facility location problems, Kolliopoulos and Rao introduced the adaptive dissection technique: the quadtree is replaced by a more complicated structure, a zoom tree the structure of the zoom tree changes with the location of the facilities (in our case, the tour points T). Guessing the location of the tour points is done by guessing how to best recurse. we have to do dynamic programming in larger structure, which is essentially the union of the zoom trees for all possible choices of T µ P Key Advantage: constantly many portals per rectangle suffice!

The zoom tree The zoom tree alternates between split steps and zoom steps. split steps work very similar to recursion in quadtree. zoom steps look as follows: we zoom on bounding box of tourpoints (+ some safety margin), the sides of this rectangle lie on a suitable grid.  for a fixed set of tour points, the structure of the resulting zoom tree depends on the random choice of the coordinate origin.

How does this help? Two conceptual advantages: On one hand, directly zooming on the tourpoints skips levels in between, which might introduce large errors in the quadtree technique. On the other hand, in the resulting nearly-optimal solution, a point is not necessarily allocated to its nearest tourpoint, but possibly to a different nearby point.  added flexibility in analysis. The net effect is that we only have to consider constantly many configurations per rectangle.

Running time Running time is dominated by zoom steps We consider rectangles of bounded aspect ratio with sides on suitable grids containing at least one point.  There are only O(n log 2 n) pairs of rectangles which correspond to zoom steps For each such pair, the zoom step can be performed in time O(log 3 n). This requires allocating non-tourpoints in batches using range searching techniques. We obtain a running time of O(n log 2 n) ¢ O(1) ¢ O(log 3 n) = O(n log 5 n) Remy, S., Weißl (2007) There is a randomized PTAS for VRAP with complexity O(n log 5 n).

Higher dimensions Our PTAS for Steiner VRAP extends to any fixed dimension d, yielding a running time of O(n log C(d, ² ) n). Here, i.e., the running time is doubly exponential in d. Main difficulty: the patching becomes more complicated, since the ‘sides’ of the hyper-‘squares’ are now (d–1)-dimensional hypercubes. Our PTAS for VRAP extends to any fixed dimension d, yielding a running time of O(n log d+3 n). The range searching adds an extra log-factor per dimension. Both algorithms can be derandomized by enumerating all possible random shifts of the quadtree (zoom tree), at the cost of an extra factor O(n d ).

Generalizations … Both algorithms also handle the following more general version of (Steiner) VRAP: instead of maximize where ® : P  [0, 1 ) and ¯ : P  [ ¯ min, 1 ) are given as part of the instance, and ¯ min is arbitrary but fixed (eg. ¯ min = ).

… and Limitations One would like to drop ¯ min and allow ¯ : P  [0, 1 ). In Steiner VRAP, it would be natural (from a practical point of view) to charge an extra per-unit cost for Steiner points on the salesman tour. Our approach does not extend to this problem – the extended Patching Lemma relies heavily on the fact that introducing Steiner points does not increase the cost of a solution. Then again, both algorithms are much too slow for any practical purposes anyway…

Summary VRAP is a combination of Euclidean TSP and a facility location problem. The state-of-the-art techniques for Euclidean TSP and facility location can be combined into a O(n log 5 n)-PTAS for VRAP. For Steiner VRAP, by now well-established standard techniques yield a n log O(1/ ² ) n-PTAS.

Questions?