arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.02725cs.DScs.CG
收藏

两个经典TSP变体的细粒度复杂性分析

Fine-Grained Complexity Analysis of Two Classic TSP Variants

Mark de Berg, Kevin Buchin, Bart M. P. Jansen, Gerhard Woeginger

摘要:

我们使用细粒度复杂性工具包分析了两个经典的旅行推销员问题的变种。我们的第一组结果的动机是双调TSP问题:给定一组$n$点在平面上,计算一个最短的巡回赛组成的两个单调链。在$O(n^2)$时间内解决这个问题是一个经典的动态编程练习。虽然最近已被证明是最佳的强指数时间假设下的最长共同子序列和离散弗雷歇距离的类似的动态程序的近二次依赖,我们发现,双调旅游可以在次二次时间。更准确地说,我们提出了一个算法,解决双调TSP在$O(n \log^2 n)$时间和它的瓶颈版本在$O(n \log^3 n)$时间。我们的第二组结果涉及流行的$k$-OPT启发式TSP的图形设置。更准确地说,我们研究的$k$ -OPT决策问题,它问是否可以改善给定的旅游$k$ -OPT移动,取代$k$边缘旅游$k$新的边缘。对于固定的$k$,一个简单的算法在$O(n^k)$时间内求解$k$ -OPT.对于2-OPT,很容易看出这是最佳的。对于$k=3$,我们证明了一个运行时间为$\tilde{O}(n^{3-ε})$形式的算法存在当且仅当加权有向图中的所有对最短路有这样的算法。$k=2,3$的结果可能表明,$k$ -OPT的实际时间复杂度为$Θ(n^k)$。我们表明,这是不是这样的情况下,通过提出一种算法,找到最好的$k$ -移动在$O(n^{\lfloor 2k/3 \rfloor + 1})$时间固定$k \geq 3$。这意味着,4-OPT可以解决在$O(n^3)$时间,匹配最知名的算法3-OPT。最后,我们展示了如何击败二次障碍$k=2$在两个重要的设置,即在平面上的点,当我们要解决2-OPT重复。

英文摘要:

We analyze two classic variants of the Traveling Salesman Problem using the toolkit of fine-grained complexity. Our first set of results is motivated by the Bitonic TSP problem: given a set of $n$ points in the plane, compute a shortest tour consisting of two monotone chains. It is a classic dynamic-programming exercise to solve this problem in $O(n^2)$ time. While the near-quadratic dependency of similar dynamic programs for Longest Common Subsequence and Discrete Frechet Distance has recently been proven to be essentially optimal under the Strong Exponential Time Hypothesis, we show that bitonic tours can be found in subquadratic time. More precisely, we present an algorithm that solves bitonic TSP in $O(n \log^2 n)$ time and its bottleneck version in $O(n \log^3 n)$ time. Our second set of results concerns the popular $k$-OPT heuristic for TSP in the graph setting. More precisely, we study the $k$-OPT decision problem, which asks whether a given tour can be improved by a $k$-OPT move that replaces $k$ edges in the tour by $k$ new edges. A simple algorithm solves $k$-OPT in $O(n^k)$ time for fixed $k$. For 2-OPT, this is easily seen to be optimal. For $k=3$ we prove that an algorithm with a runtime of the form $\tilde{O}(n^{3-ε})$ exists if and only if All-Pairs Shortest Paths in weighted digraphs has such an algorithm. The results for $k=2,3$ may suggest that the actual time complexity of $k$-OPT is $Θ(n^k)$. We show that this is not the case, by presenting an algorithm that finds the best $k$-move in $O(n^{\lfloor 2k/3 \rfloor + 1})$ time for fixed $k \geq 3$. This implies that 4-OPT can be solved in $O(n^3)$ time, matching the best-known algorithm for 3-OPT. Finally, we show how to beat the quadratic barrier for $k=2$ in two important settings, namely for points in the plane and when we want to solve 2-OPT repeatedly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑