利用改进匈牙利算法求解旅行商问题

梁喻 ,  陈明明 ,  刘凡

科学技术与工程 ›› 2024, Vol. 24 ›› Issue (14) :5920-5927

PDF (2066KB)
科学技术与工程 ›› 2024, Vol. 24 ›› Issue (14) :5920-5927 DOI: 10.12404/j.issn.1671-1815.2303914
自动化技术、计算机技术

利用改进匈牙利算法求解旅行商问题

作者信息 +

Improvd Hungarian Algorithm for Solving Problem of Travel Providers

Author information +
文章历史 +

摘要

针对传统的匈牙利算法在求解旅行商问题(travelling salesman problem, TSP)时会导致多回路闭合的问题,提出了破环机制,设计了破环匈牙利算法。通过采用分配问题的描述方法对旅行商问题进行建模,并建立二者之间的转换关系,论证了TSP可行解的充分必要条件是对应分配问题的可行解与辅助边结合后仅包含一个环路,对6个标准旅行商进行测试和对比分析,验证算法的有效性。实验结果表明:在不同的数据集中,改进匈牙利算法能有效求出TSP问题的解。

Abstract

To address the issue of multiple closed circuits arising from applying the traditional Hungarian algorithm to the travelling salesman problem (TSP), a breaking mechanism was proposed, leading to the development of the Break-Cycle Hungarian Algorithm. By adopting the description method of the assignment problem for modeling the TSP and establishing the conversion relationship between them, it is demonstrated that a sufficient and necessary condition for a feasible solution to the TSP is that the feasible solution of the corresponding assignment problem, combined with auxiliary edges, contains only one cycle. The effectiveness of the algorithm was verified through testing and comparative analysis on six standard travelling salesmen, showing that the improved Hungarian algorithm can effectively solve the TSP across various datasets.

引用本文

引用格式 ▾
梁喻, 陈明明, 刘凡. 利用改进匈牙利算法求解旅行商问题[J]. 科学技术与工程, 2024, 24(14): 5920-5927 DOI:10.12404/j.issn.1671-1815.2303914
LIANG Yu, CHEN Ming-ming, LIU Fan. Improvd Hungarian Algorithm for Solving Problem of Travel Providers[J]. Science Technology and Engineering, 2024, 24(14): 5920-5927 DOI:10.12404/j.issn.1671-1815.2303914

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

基金资助

甘肃省教育厅双一流重大科研项目(GSSYLXM-04)

PDF (2066KB)

31

访问

0

被引

详细

导航
相关文章

/

〈 〉