arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.06889cs.DS
收藏

TSP的2-Opt算法的最坏情况和概率分析

Worst Case and Probabilistic Analysis of the 2-Opt Algorithm for the TSP

Matthias Englert, Heiko Röglin, Berthold Vöcking

摘要:

2-Opt可能是TSP最基本的局部搜索启发式算法。这种启发式算法在现实世界的欧几里得实例上取得了令人惊讶的好结果,无论是在运行时间和近似比方面。关于2-Optit算法的性能已经有了大量的实验研究,但是,关于这种启发式算法的理论知识仍然非常有限。到目前为止,甚至连它在二维欧几里得实例上的最坏情况下的运行时间都不知道。我们澄清这个问题,提出了,为每个$p\in\mathbb{N}$,一个家庭的$L_p$的实例,2-Opt可以采取指数数量的步骤。以前的概率分析仅限于$n$点在单位正方形$[0,1]^2$中随机均匀放置的情况。我们考虑一个更先进的模型,其中的点可以独立地放置根据一般分布在$[0,1]^d$,为任意$d\ge 2$。特别是,我们允许不同的点有不同的分布。我们研究的预期数量的局部改进的点的数量$n$和概率分布的最大密度$ϕ$。我们展示了$\tilde{O}(n^{4+1/3}\cdotϕ^{8/3})$的任何2-Opt改进路径的预期长度上界。当从插入启发式计算的初始行程开始时,预期步数的上限甚至提高到$\tilde{O}(n^{4+1/3-1/d}\cdotϕ^{8/3})$。如果距离是根据曼哈顿度量测量的,则期望的步数由$\tilde{O}(n^{4-1/d}\cdotϕ)$限定。此外,我们证明了一个上界的$O(\sqrt[d]ϕ)$的预期近似因子相对于所有$L_p$度量。让我们注意到,我们的概率分析涵盖了作为特殊情况的均匀输入模型与$ϕ=1$和平滑分析与高斯扰动的标准偏差$σ$与$ϕ\sim1/σ^d$。

英文摘要:

2-Opt is probably the most basic local search heuristic for the TSP. This heuristic achieves amazingly good results on real world Euclidean instances both with respect to running time and approximation ratio. There are numerous experimental studies on the performance of 2-Opt. However, the theoretical knowledge about this heuristic is still very limited. Not even its worst case running time on 2-dimensional Euclidean instances was known so far. We clarify this issue by presenting, for every $p\in\mathbb{N}$, a family of $L_p$ instances on which 2-Opt can take an exponential number of steps. Previous probabilistic analyses were restricted to instances in which $n$ points are placed uniformly at random in the unit square $[0,1]^2$. We consider a more advanced model in which the points can be placed independently according to general distributions on $[0,1]^d$, for an arbitrary $d\ge 2$. In particular, we allow different distributions for different points. We study the expected number of local improvements in terms of the number $n$ of points and the maximal density $ϕ$ of the probability distributions. We show an upper bound on the expected length of any 2-Opt improvement path of $\tilde{O}(n^{4+1/3}\cdotϕ^{8/3})$. When starting with an initial tour computed by an insertion heuristic, the upper bound on the expected number of steps improves even to $\tilde{O}(n^{4+1/3-1/d}\cdotϕ^{8/3})$. If the distances are measured according to the Manhattan metric, then the expected number of steps is bounded by $\tilde{O}(n^{4-1/d}\cdotϕ)$. In addition, we prove an upper bound of $O(\sqrt[d]ϕ)$ on the expected approximation factor with respect to all $L_p$ metrics. Let us remark that our probabilistic analysis covers as special cases the uniform input model with $ϕ=1$ and a smoothed analysis with Gaussian perturbations of standard deviation $σ$ with $ϕ\sim1/σ^d$.

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

↑