Download presentation
Presentation is loading. Please wait.
Published byNelson McDowell Modified over 6 years ago
1
Fine-Grained Complexity Analysis of Improving Traveling Salesman Tours
Mark T. de Berg Kevin A. Buchin Bart M. P. Jansen Gerhard J. Woeginger October 31st 2017, Asperen, The Netherlands Networks training week
2
The Traveling Salesman Problem
Find a tour among π cities visiting each city exactly once while minimizing the total travel distance Classic problem with an extensive history The lens of fine-grained analysis uncovers new insights! We focus on the symmetric problem on graphs π π’,π£ =π(π£,π’) fine-grained
3
Background of TSP Β© xkcd.com
4
Local search heuristics for TSP
A popular way to deal with TSP in practice is using local search Explore the local neighborhood of the current tour π The 2-opt neighborhood is often used Consists of tours obtained from π by replacing 2 edges As mentioned by Claire Mathieu on Friday.
5
General π-opt neighborhood
The π-opt neighborhood of tour π contains: Tours obtained from π by replacing at most π edges Removing π edges splits a tour into π paths For πβ₯3, there are multiple ways to reconnect the tour
6
Analysis of local search for TSP
Many aspects to analyze: How many iterations until convergence? How far are local optima from global optima? How much time is needed for a single iteration?
7
Two computational problems about π-opt
π-opt detection Input: A tour π in a weighted complete graph πΊ Question: Is there a π-opt move that decreases the cost? π-opt optimization Input: A tour π in a weighted complete graph πΊ Task: Find the best tour in the π-opt neighborhood of π
8
Complexity of π-opt detection / optimization
For fixed π there is an π( π π ) algorithm for π-opt optimization Try all π π possibilities for π edges π that leave the tour Try all π(π) different ways to reconnect into a tour Motivating question: What is the exact complexity of detecting whether a given tour can be improved by a π-opt move, for small π?
9
Our results for π-opt 2-opt detection requires Ξ© π 2 time
3-opt detection is unlikely to have a truly subcubic algorithm Could Ξ( π π ) be the right complexity for all π? Theorem. 3-opt detection solvable in π( π 3βπ ) time for some π>0 β All pairs shortest paths solvable in π( π 3βπΏ ) time for some πΏ>0 2-opt: easy adversarial argument; must read the entire input.
10
Exhaustive search can be avoided for πβ₯4
For all πβ₯4 we can do better than Ξ(π π ) Best π-opt move can be found in time π( π 1+ 2π 3 ) Based on an analysis of the structure of π-opt moves Theorem. 4-opt optimization can be solved in Ξ π 3 time
11
The signature of a π-opt move
Consider a π-opt move that removes edges π and inserts π The signature of the π-opt move is defined as follows: Take the symmetric difference πΞπ, contract all edges of π For each endpoint of each replacement edge π¦, store if it attaches to 1st or 2nd endpoint of π₯ in this orientation 1st 2nd 1st 2nd Fix starting point and orientation so that we can talk about the 1st, 2nd, 3rd and 4th deleted edges. Starting point 1st 2nd 2nd 1st
12
Signatures of 4-opt moves
13
Signatures of 4-opt moves
14
Signatures of 4-opt moves
Main insight: For each type of signature, best move with that signature can be found in time π π by exploiting signature of the move
15
π( π 3 ) algorithm for simple 4-opt signature
1 2 Find best 4-opt for this signature: Try all realizations for leaving edges 1&3 For each of the Ξ π 2 options: Find best realization for 2 and 4 Yields 2 independent π(π)-time problems
16
THANK YOU! Conclusion Open problems:
Subcubic equivalence 3-opt detection β All Pairs Shortest P. For πβ₯4, we can improve upon exhaustive search for π-opt Recent improvement: 5-opt in π π time [Cygan et al.] Is π-opt detection fixed-parameter tractable: in planar graphs? for finding tours among points in the plane? Open problems: Applications of random-restart hill-climbing for TSP? THANK YOU!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.