计算机科学 ›› 2026, Vol. 53 ›› Issue (6A): 250300087-7.doi: 10.11896/jsjkx.250300087
杨雅辉, 王永
YANG Yahui, WANG Yong
摘要: 旅行商问题(Traveling Salesman Problem,TSP)是一个难解问题,最优解的搜索空间是问题规模的指数函数。为了减小最优解(最优哈密顿圈)的搜索空间,提出了一种新的优化策略,该策略基于频率图生成TSP稀疏图,大幅度缩小了最优哈密顿圈的搜索空间,从源头上降低了问题的求解难度。首先根据完全权重图计算出四顶点局部最优路径(Local Optimal Paths with Four Vertices,LOP4s)。然后统计并计算LOP4s中各边出现的频次,记为对应边的频率,得到频率图,接着根据频率图计算TSP稀疏图,具体地:首先,将所有边的平均频率(Average Frequency,AF)设为频率阈值,删除频率低于AF的边,生成第一代稀疏图;随后,依据不同的顶点度阈值m(取值范围为5至min{n/4,45})进行删边,先累加每个顶点连接的所有边的频率,作为每个顶点的频率,再根据顶点频率对顶点进行排序,依次删除频率最大的顶点连接的频率最小的边,并使得各顶点的度均不小于m,从而得到多个第二代稀疏图。最后,通过叠加融合第二代稀疏图,并提出双重频率概念确定保留的边,得到第三代稀疏图。算法在20个标准TSP数据集上均表现出较好的性能。实验结果表明,第三代稀疏图均保留了最优哈密顿圈中的边,且稀疏图中边的数量远小于完全图中边的数量,大大减小了最优哈密顿圈的搜索空间。通过在线Concorde系统,分别根据完全图和稀疏图搜索最优哈密顿圈,发现在稀疏图上的搜索时间小于在完全图上的搜索时间。本研究为降低TSP难度提供了新的研究视角,并为未来与其他启发式算法或机器学习技术的结合求解TSP奠定了基础。
中图分类号:
| [1] ZHANG X P,LI X C.Improved Butterfly Optimization Algorithm for Solving TSP Problem [J].Journal of Henan Institute of Science and Technology(Natural Science Edition),2025,53(1):51-57. [2] WEI W X.Research on Application of an Improved Ant Colony Algorithm in the Traveling Salesman Problem [D].Jingdezhen:Jingdezhen Ceramic Institute,2024. [3] WANG Z Q.Research and Optimization on Methods for SolvingTSP Problems Using Deep Reinforcement Learning [D].Lanzhou:Northwest Normal University,2023. [4] YANG S Y,ZHANG H.Swarm Intelligence and BiomimeticComputing.Implementation with Matlab Technology [M].Beijing:Publishing House of Electronics Industry,2012:157-166. [5] ZHENG S.Research on New Heuristic Algorithms for Solving the Traveling Salesman Problem and Its Derivative Problems [D].Tianjin:Tianjin University,2016. [6] WANG Y,CUI Y.Edge-cutting Method for the Traveling Salesman Problem Based on Shortest Path within Optimal Quadrilateral Cycle [J].Computer Science,2022,49(S1):199-205. [7] ZHU Y Y,WANG Y J.Hybrid Particle Swarm Optimization Algorithm for Solving Complex Traveling Salesman Problems [J].Light Industry Machinery,2015,33(3):42-45,49. [8] WANG Y,REMMEL J B.A Binomial Distribution Model forthe Traveling Salesman Problem Based on Frequency Quadrilaterals[J].Journal of Graph Algorithms and Applications,2016,20(2):411-434. [9] WANG Y.Application of Group Theory-Based Frequency Mapsin the Traveling Salesman Problem [J].Journal of Zhengzhou University(Science Edition),2025,57(1):74-80. [10] SHANG R H.Introduction to Intelligent Algorithms [M].Beijing:Tsinghua University Press,2021:21-68. [11] HE Y.Analysis of the Validity of Network Connectivity in BrainFunctional Areas Based on Bioelectrical Impedance [D].Shen-yang:Shenyang University of Technology,2024. [12] SHEN Y J.Interpretation of Language Usage Differences inCross-Racial Marriages from the Perspective of Interpersonal Functions-Based on the Analysis of Random Forest Regression Algorithm [J].Language and Culture Research,2025,33(2):244-248. [13] CHEN K S,XIAN S D,GUO P.Adaptive Simulated Annealing Algorithm for Solving Traveling Salesman Problem [J].Control Theory & Applications,2021,38(2):245-254. [14] LUO X F,WU H Q.Mobile IoT Perception and Sensing Positioning Based on DV-Hop Correction Algorithm [J].Journal of Terahertz Science and Electronic Information,2025,23(2):165-169. [15] CHEN X L,HUANG Y C,TAN Y K.Research on Genetic Algorithm Optimization of Metro Skip-Stop Scheduling Model [J].Science and Technology & Innovation,2025(4):43-46. [16] ZHANG C X.Multi-objective Optimization of UAV-assistedVehicle Delivery Routes under Time-varying Networks [D].Chongqing:Chongqing Jiaotong University,2024. |
|
||