Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical...

18
Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 1000 84, China Email:[email protected] http://faculty.math.tsinghua.edu. cn/~jxie

Transcript of Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical...

Page 1: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Algorithms Design and Analysis:PTAS for Euclidean TSP

Prof. Dr. Jinxing Xie

Dept. of Mathematical Sciences

Tsinghua University, Beijing 100084, China

Email:[email protected]

http://faculty.math.tsinghua.edu.cn/~jxie

Voice:(86-10)62787812 Fax:(86-10)62785847

Page 2: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

S. Arora, Polynomial time Approximation Schemes for Euclidean TSP and other Geometric Problems. Proc of the 37th Annual Symposium on the Foundations of Computer Science, 2-11, 1996.

Reference

[Note]• Euclidean TSP is a special case of TSP with triangle inequality• We always mean the Euclidean TSP in two dimensions

Page 3: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Simplifying assumptions about the locations of the cities

Given any finite set S of points (cities) in the plane, the bounding box of S is the smallest rectangle with sides parallel to the coordinate axes which contains all of S. The size of a rectangle is the length of its longest side.

[Claim] Suppose there is an approximation scheme for instances

of the Euclidean TSP in which the n cities lie in a bounding box of size n2 and the distance between any two cities is at least 1, or 0. Then there is an approximation scheme for all instances of the Euclidean TSP.

Page 4: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.
Page 5: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Line-partition & 1/3:2/3-tiling

2

Page 6: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

How deep can the recursion?

Note that:The sizes of the rectangles need not decrease at each stage because the first partition of a square produces two rectangles of the same size as the original square. Also, if the cities are all near the sides of the rectangle, no valid line-partition will cut the longest side s into pieces of length at least |s|/3.

Page 7: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

How deep can the recursion?

However, after at most four levels of recursion, all the remaining rectangles will either have size at most 2|s|/3 or will have no cities in their interior.

Page 8: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Portals & m-light

Page 9: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Example

We allow a tour which goes from city a to city b and from city c to city d via portal p, this is an example of a tour which meets itself at a portal. However we do not allow a tour which goes from city a to city d and from city b to city c both via portal p, this is a self-crossing.

Page 10: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Theorem

Page 11: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.
Page 12: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.
Page 13: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Deal with crossing

Page 14: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Deal with crossing

Page 15: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Proof of the 2nd Part of the Theorem

Page 16: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Dynamic programming algorithm

Page 17: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

Completing the proof

Page 18: Algorithms Design and Analysis: PTAS for Euclidean TSP Prof. Dr. Jinxing Xie Dept. of Mathematical Sciences Tsinghua University, Beijing 100084, China.

How do you think about the proof?

• it is difficult

• it is interesting

Thus it is challenging!

However, is there an FPTAS for the problem?