Computer Science ›› 2026, Vol. 53 ›› Issue (6A): 250300087-7.doi: 10.11896/jsjkx.250300087

• Artificial Intelligence • Previous Articles     Next Articles

Sparse Graph Generation Method for the Traveling Salesman Problem Based on Frequency Graphs

YANG Yahui, WANG Yong   

  1. School of New Energy,North China Electric Power University,Beijing 102206,China
  • Online:2026-06-16 Published:2026-06-12
  • About author:YANG Yahui,born in 2003,undergra-duate.His main research interests include the application of computer simulation technology,exploration of heuristic methods for the traveling salesman problem,and the design and layout of wind farms.
    WANG Yong,born in 1978,Ph.D,professor.His main research interests include traveling salesman problem and related methodologies.
  • Supported by:
    Fundamental Research Funds for the Central Universities(2024JC006).

Abstract: TSP is a challenging problem where the search space for the optimal solution grows exponentially according to the problem size.To reduce the search space for the optimal Hamiltonian cycle,a novel optimization strategy is proposed.This strategy generates a sparse TSP graph based on frequency graphs,significantly reducing the search space of the optimal Hamiltonian cycle and lowering the problem's complexity.Firstly,LOP4s are computed from the weighted complete graph.The frequencies of edges appearing in the LOP4s are then calculated to form a frequency graph.Based on this frequency graph,a sparse graph for TSP is constructed.Initially,AF of all edges is set as the frequency threshold,and edges with frequencies below AF are removed to generate the sparse graph of the first-generation.Subsequently,further edge deletions are performed according to different vertex degree thresholds m ranging from 5 to min{n/4,45}).Specifically,the frequencies of all edges connected to each vertex are summed to determine the corresponding vertex frequency.Vertices are sorted by their frequencies,and the edges having the least frequency and connecting the vertices with the highest-frequency are iteratively deleted in case that the degree of each vertex is no less than m.This process yields multiple sparse graphs of the second-generation.Finally,the sparse graphs of the second-generation are added together,and a dual-frequency is introduced to determine which edges to retain for producing the sparse graph of the third-generation.Experiments conducted on 20 standard TSP datasets demonstrate the algorithm's effectiveness.Results show that the sparse graph of the third-generation retains all edges in the optimal Hamiltonian cycle while it contains a small number of edges in the complete graph,which greatly reduces the search space of the optimal Hamiltonian cycle.Based on the online Concorde system,the optimal Hamiltonian cycles are searched using both the complete graph and the sparse graph.It is observed that the search time based on the sparse graph is shorter than that according to the complete graph.This study provides a new perspective for reducing the difficulty of TSP and lays a foundation for future integration with other heuristic algorithms or machine learning techniques to solve TSP.

Key words: Traveling Salesman Problem(TSP), Optimal Hamiltonian Cycle(OHC), Frequency graph, Sparse graph

CLC Number: 

  • TP301
[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.
[1] JIANG Yong and ZHANG Hai-tao. Representative Selection Framework Approach for Videos [J]. Computer Science, 2016, 43(11): 19-23.
[2] HU Yang,GUI Wei-hua,CAI Zi-xing. Analysis for TSP Problem Based on Artificial Metabolic Algorithm [J]. Computer Science, 2010, 37(7): 195-199.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!