arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.19878cs.DS
收藏

在平均次二次时间内寻找最佳 TSP 2-OPT 移动的算法策略

Algorithmic strategies for finding the best TSP 2-OPT move in average sub-quadratic time

Giuseppe Lancia, Paolo Vidoni

AI总结:

本文提出一种寻找最佳 TSP 2-OPT 移动的精确算法,并通过启发式过程族证明其在均匀和欧几里得随机实例上分别达到平均 O(n^3/2) 和 O(n) 时间,最后给出与二次枚举结合的混合调优策略。

摘要:

我们描述了一种用于寻找最佳 2-OPT 移动的精确算法,实验观察到该算法比标准的二次方方法快得多。为了分析其平均情况复杂度,我们引入了一族启发式过程,并讨论了当应用于随机旅行商回路时的复杂度,其中图的边代价要么是 [0, 1] 中的均匀随机数,要么是平面中随机点之间的欧几里得距离。我们证明,对于任意概率 p:(i) 该族中存在一个启发式过程,对于均匀实例,能够在平均时间 O(n^3/2) 内以至少 p 的概率找到最佳移动;对于欧几里得实例,能够在平均时间 O(n) 内以至少 p 的概率找到最佳移动;(ii) 在启发式过程找到最佳移动的所有实例上,精确算法所需的时间都少于上述启发式过程。在局部搜索过程中,随着回路变得越来越不随机,我们算法的速度会逐渐恶化,直到变为二次方。然后我们讨论了如何微调一种成功的混合方法,该方法先使用我们的算法,随后使用通常的二次方枚举。

英文摘要:

We describe an exact algorithm for finding the best 2-OPT move which, experimentally, was observed to be much faster than the standard quadratic approach. To analyze its average-case complexity, we introduce a family of heuristic procedures and discuss their complexity when applied to a random tour in graphs whose edge costs are either uniform random numbers in [0, 1] or Euclidean distances between random points in the plane. We prove that, for any probability p: (i) there is a heuristic in the family which can find the best move with probability at least p in average-time O(n^3/2) for uniform instances and O(n) for Euclidean instances; (ii) the exact algorithm take lesser time then the above heuristic on all instances on which the heuristic finds the best move. During local search, while the tour becomes less and less random, the speed of our algorithm worsens until it becomes quadratic. We then discuss how to fine tune a successful hybrid approach, made of our algorithm in the beginning followed by the usual quadratic enumeration.

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

↑