A Sketch-First Approach for Finding TSP
Travel planning is one of the most important issues in location-based services (LBS), and TSP (traveling salesman problem) is to find the shortest tour that traverses all the given points exactly once. Given the hardness of TSP as an NP-hard problem, a large number of heuristic methods are proposed to find a tour efficiently. Here, the heuristics proposed are based on a similar idea that is to expand a partial tour by adding points one by one in different ways until all points are visited. In this paper, we study TSP query with a given set of points \(Q\). We propose a new heuristic called Sketch-First, which is different from the existing approaches. By Sketch-First, we select a set of points out of \(Q\), forming a sketch of \(Q\), and add the points that are not in the sketch back to the sketch to obtain the answer for \(Q\). The sketch gives a global picture on the points, and can be used to guide to add the other points back effectively. We discuss the heuristics to find a sketch for \(Q\). Our approach is based on the observation that a better sketch with the same number of points is the sketch over which its optimal tour is larger in length. In addition, as the number of such points is to be small, we can find the optimal tour for the sketch. We discuss our methods, and conduct extensive experiments to show the effectiveness and efficiency of our methods.
This work was supported by grant of the Research Grants Council of the Hong Kong SAR, China 14209314.
- 1.Zhu, A.D., Ma, H., Xiao, X., Luo, S., Tang, Y., Zhou, S.: Shortest path, distance queries on road networks: towards bridging theory and practice. In: SIGMOD, pp. 857–868 (2013)Google Scholar
- 3.Xu, Z., Jacobsen, H.: Processing proximity relations in road networks. In: SIGMOD, pp. 243–254 (2010)Google Scholar
- 4.Yan, D., Zhao, Z., Ng, W.: Efficient algorithms for finding optimal meeting point on road networks. PVLDB 4(11), 968–979 (2011)Google Scholar
- 7.Cao, X., Chen, L., Cong, G., Xiao, X.: Keyword-aware optimal route search. PVLDB 5(11), 1136–1147 (2012)Google Scholar