Approximation algorithms for TSP with neighborhoods in the plane R90922026 郭秉鈞 R90922038 林傳健.

Slides:



Advertisements
Similar presentations
Approximation algorithms for geometric intersection graphs.
Advertisements

Chapter 4 Partition I. Covering and Dominating.
Geometry A general review.
Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
Approximations of points and polygonal chains
Geometric Construction
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
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.
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
Polynomial Time Approximation Schemes Presented By: Leonid Barenboim Roee Weisbert.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
A (1+  )-Approximation Algorithm for 2-Line-Center P.K. Agarwal, C.M. Procopiuc, K.R. Varadarajan Computational Geometry 2003.
9.2 – Curves, Polygons, and Circles Curves The basic undefined term curve is used for describing non- linear figures in a plane. A simple curve can be.
Zoo-Keeper’s Problem An O(nlogn) algorithm for the zoo-keeper’s problem Sergei Bespamyatnikh Computational Geometry 24 (2003), pp th CGC Workshop.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
1 On the Hardness Of TSP with Neighborhoods and related Problems (some slides borrowed from Dana Moshkovitz) O. Schwartz & S. Safra.
Polynomial-Time Approximation Schemes for Geometric Intersection Graphs Authors: T. Erlebach, L. Jansen, and E. Seidel Presented by: Ping Luo 10/17/2005.
Polynomial Time Approximation Scheme for Euclidian Traveling Salesman
Vertex Cover, Dominating set, Clique, Independent set
Approximation Algorithms
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.
Distributed Combinatorial Optimization
1 University of Denver Department of Mathematics Department of Computer Science.
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
Copyright © Cengage Learning. All rights reserved. 5 Integrals.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Approximation Algorithms
6.1 Circles and Related Segments and Angles
Mr. Barra Take The Quiz! Polygon with three edges (sides) and three vertices (corners) Sum of all interior angles equals 180° Right triangle One interior.
Perimeter Rectangles, Squares, and Triangles Perimeter Measures the distance around the edge of any flat object. To find the perimeter of any figure,
MATH VOCAB UNIT 3 BY LEXI. ACUTE ANGLE Acute Angle- An angle that measures between 0° and
Area & Perimeter.
Section 9-4 Perimeter, Area, and Circumference.
Chapter 9: Geometry.
Angles and Phenomena in the World
SECTION 9-2 Curves, Polygons, and Circles Slide
Geometry Vocab Stephanie Jimenez. Angle The union of two rays having a common endpoint, the rays are the sides of the angle and the common endpoint is.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
STAIR: Project Development Geometry Review & Exercises Presented by Joys Simons.
Copyright © Cengage Learning. All rights reserved. 4 Integrals.
1 Combinatorial Algorithms Parametric Pruning. 2 Metric k-center Given a complete undirected graph G = (V, E) with nonnegative edge costs satisfying the.
Nonoverlap of the Star Unfolding Boris Aronov and Joseph O’Rourke, 1991 A Summary by Brendan Lucier, 2004.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Definition: Rectangle A rectangle is a quadrilateral with four right angles.
Geometric Constructions
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.
To find the perimeter of a rectangle, just add up all the lengths of the sides: Perimeter = L + w + L + w         = 2L + 2w To find the area of a rectangle,
The full Steiner tree problem Theoretical Computer Science 306 (2003) C. L. Lu, C. Y. Tang, R. C. T. Lee Reporter: Cheng-Chung Li 2004/06/28.
Week 4 Functions and Graphs. Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 9 Line Arrangements.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
The geometric GMST problem with grid clustering Presented by 楊劭文, 游岳齊, 吳郁君, 林信仲, 萬高維 Department of Computer Science and Information Engineering, National.
Chapter 9: Geometry. 9.1: Points, Lines, Planes and Angles 9.2: Curves, Polygons and Circles 9.3: Triangles (Pythagoras’ Theorem) 9.4: Perimeter, Area.
Approximation Algorithms
Hamiltonian Cycle and TSP
Hamiltonian Cycle and TSP
Haim Kaplan and Uri Zwick
Vertex Cover, Dominating set, Clique, Independent set
Mrs. Daniel’s Geometry Vocab List
Approximation Algorithms for TSP
Geometric Constructions
Modeling with Geometry
On the Geodesic Centers of Polygonal Domains
Solving Compound Inequalities
CHAPTER 2: Geometric Constructions
ICS 353: Design and Analysis of Algorithms
Computational Geometry
Clustering.
The Minimum-Area Spanning Tree Problem
Presentation transcript:

Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健

The Problem TSPN: Euclidean TSP with neighborhoods in the plane, i.e., dimention = 2 Definition: A salesman wants to meet a set of potential buyers. Each buyer specifies a region of the plane, his neighborhood. The salesman wants to find a tour of shortest length that visit all buyers’ neighborhoods.

Part 1: Introduction

Introduction O(1)-approximation algorithm for TSPN on disks of the same size A PTAS for disjoint equal disks O(1)-approximation algorithm for TSPN on connected regions of the same diameter O(1)-approximation algorithm running in linear time for TSPN on lines

Part 2: O(1)-approximation for TSPN on disks of the same size

Equal Disks Assume that all disks are unit Simplify the problem to unit disks First case on disjoint unit disks  Simply approximate on centers of disks  Argue with the bounds: Tc for center tour, Tr for region tour

Disjoint Unit Disks

Disjoint Unit Disks (cont.) Sweep along center tour with a disk of radius 2 Ratio <= 3.55 for n large

Disjoint Unit Disks (cont.)

Expect ration cannot smaller than 2

Overlapping Unit Disks Algorithm:  Compute maximal independent pairwise- disjoint set of disks  Compute Ci, the approximation of the center tour above  Output R, obtained by going along Ci and boundaries of each disks in the set Argue with the ratio <= 11.15

Overlapping Unit Disks (cont.) OPT: optimal tour of the problem OPTi: optimal tour of independent set R: approximated result Ci: center tour of independent set

Overlapping Unit Disks (cont.)

Part 3: A PTAS for disjoint equal disks

Slide not finished

Part 4: O(1)-approximation algorithm for TSPN on connected regions of the same diameter

Definition 4.1. (diameter of a region) The diameter of a region, δ, is the distance between two points in the region that are farthest apart In the problem here we deal with connected regions of the same diameter. Without loss of generality, we assume that all regions have unit diamter, δ = 1.

Lemma 4.2.(Combination Lemma) Given regions that can be partitioned into two types, and constants c 1, c 2 bounding the error ratios with which we can approximate optimal tours on regions of type 1 and 2, then we can approximate the optimal tour on all regions with an error ratio bounded by c 1 + c 2 + 2

Two types of connected regions (1) Those for which the selected diameter is almost horizontal, by which we mean its slope is between -45° and 45°; (2) Those for which the selected diameter is almost vertical, by which we mean all others. The paper provide an constant ratio approximation algorithm for each of these two region types, and then apply Lemma 4.2.

Fig 4.a. (two types of regions)

Fact 4.3. A tour touching all four sides of a rectangle is of length at least twice the diagonal of the rectangle.  See Fig 4.b. to get the idea.

Fig 4.b. The shortest tour hits each side is equal to the angle with which it departs that side, by Snell’s law

Fact 4.4. For positive a, b, w, h the following inequality holds.

Definition 4.5.(covering lines) A set of lines is a cover of a set of regions if each region is intersected by at least one line from the covering set. We refer to this set of lines as covering lines.

The algorithm – step 1 W.l.o.g. we use the algorithm for type (1) Construct a greedy covering lines of the regions by a minimum number of vertical lines. The procedure works in a greedy fashion, namely the leftmost line is as far right as possible, so that it is a right tangent of some region. Then representative points of each region are arbitrarily selected on the corresponding covering lines.

Fig 4.c.(greedy covering lines & representative points)

The algorithm – step 2 Proceed according the following three cases. Case 1: The greedy cover contains one covering line. Case 2: The greedy cover contains two covering lines. Case 3: The greedy cover contains at least three covering lines.

The algorithm – step 2 – case 1 One covering line. Compute a smallest perimeter rectangle Q of width w and height h that touches all regions. Add twice the two vertical segments of height h which divide its width in three equal parts, to get a tour R. Output R.

Fig 4.d.

Fig 4.e.

Fig 4.f.

Proof of step 2 - case 1

The algorithm – step 2 – case 2 Two covering lines Move the rightmost vertical covering line to the left as much as possible. Set D to be the distance between the two covering lines, clearly D > 0.

The algorithm – step 2 – case 2.1 D >= 3 Construct rectangle Q of width w = D, with its vertical sides along the two covering lines, and of minimal height h, which includes all representative points (on the two covering lines). Output the tour R that is the perimeter of Q.

Fig 4.g.

Proof of step 2 – case 2.1 Case 2.1.a. h<=2 Case 2.1.b. h>=2

The algorithm – step 2 – case 2.2 D <= 3 Compute a smallest perimeter rectangle Q with width w and height h that touches all regions. Add twice the seven vertical segments of height h which divide its width into eight equal parts, to get a tour R. Output R.

Fig 4.h.

Proof of step 2 – case 2.2

The algorithm – step 2 – case 3 At least three covering lines Construct R, a (1+ε)-approximation tour of the representative points as the output tour.

Proof of step2 – case 3 Partition the optimal tour OPT into blocks OPT i, with i >= 1. OPT i starts at an arbitrary point of intersection of OPT with the ith covering line from left, and ends at the last intersection of OPT with the (i+1)th covering line from left. Consider the bounding box of OPT i, the smallest perimeter aligned rectangle which includes OPT i, w for its width and h for its height.

Proof of step2 – case 3.1 OPTi intersects regions stabbed by two consecutive covering lines only l1, l2 say, at distance w1.

Fig 4.i.

Fig 4.j.

Proof of step 2 – case 3.2 OPTi intersects regions stabbed by three consecutive covering lines only, l1, l2, l3 say at distances w1, w2.

Fig 4.k.

Fig 4.l.

Some special cases Parallel equal segments Convex region

Part5 O(1)-approximation for TSPN on lines running in linear time

Lines for “Neighborhood” Infinite lines in the plane Find a tour that visits all lines in the plane Surprisingly, the problem is not in NP Can be computed in linear time O(n^6) Cause of the high running time, an approximation algorithm is expected Ratio <= 1.58

Tour visits all lines

Polynomial time algorithm Convert the problem to “watchman route problem” and solve it in linear time  Build rectangle covering all intersecting points of lines in L  Grow 2 narrow spikes for every line yielding a simple polygon  Solve the watchman route for 6n+4 vertices

Polynomial time algorithm (cont.)

Approximation on TSPN on Lines Algorithm: Compute a minimum touching circle that touches all lines, output the circle as the tour

Circle touching all lines

Optimal tour is convex Because if it is not convex, convex is better and still touching all lines

Optimal is convex

Minimum touching circle The minimum touching circle is determined by 3 lines, i.e. inscribed circle of the triangle

Minimum touching circle

Minimum touching convex in Triangle Case 1: acute triangle Case 2: obtuse triangle

Minimum touching convex in acute triangle

Minimum touching convex in obtuse triangle

Algorithm to compute the touching circle

Solving linear program in fixed dimension is in O(n)