管理工程学报
管理工程學報
관리공정학보
Journal of Industrial Engineering and Engineering Management
2011年
2期
95~102
,共null页
双向扩展差额算法 两端延伸最近城市搜索法 启发式算法 TSP问题
雙嚮擴展差額算法 兩耑延伸最近城市搜索法 啟髮式算法 TSP問題
쌍향확전차액산법 량단연신최근성시수색법 계발식산법 TSP문제
two directions moving with difference algorithm; the both ends extending nearest city searching algorithm; heuristics algorithms; traveling salesman problem
旅行商(TSP)问题是典型的组合优化中的NP-hard难题。本文在最近城市搜索法和两端延伸最近城市搜索法基础上提出了双向扩展差额求解算法,并分析了算法的复杂度。采用以上三种算法求解了TSPLIB标准库中多个算例,比较结果表明本算法能够更快的找到更优的方案,具有更好的综合性能。
旅行商(TSP)問題是典型的組閤優化中的NP-hard難題。本文在最近城市搜索法和兩耑延伸最近城市搜索法基礎上提齣瞭雙嚮擴展差額求解算法,併分析瞭算法的複雜度。採用以上三種算法求解瞭TSPLIB標準庫中多箇算例,比較結果錶明本算法能夠更快的找到更優的方案,具有更好的綜閤性能。
여행상(TSP)문제시전형적조합우화중적NP-hard난제。본문재최근성시수색법화량단연신최근성시수색법기출상제출료쌍향확전차액구해산법,병분석료산법적복잡도。채용이상삼충산법구해료TSPLIB표준고중다개산례,비교결과표명본산법능구경쾌적조도경우적방안,구유경호적종합성능。
Traveling salesman problems(TSP) are an optimization problem that has been studied extensively.The primary objective of TSP is to locate the shortest route for each customer visit by salespersons.The approximate algorithm is a better choice than the exact algorithms in order to solve TSP.Approximate algorithms can be divided into two classes:construction algorithms and improvement algorithms.A construction algorithm builds a tour with no attempts to improve tour logistics after it is constructed.Algorithms designed to solve TSP can be constructed efficiently.Given the time constraint,these algorithms offer approximate solutions to TSP programs and initial solutions to the improvement of tour heuristics.Upper bounds for exact algorithms can then be obtained.This paper presented two construction algorithms.The first algorithm was to construct the TDMDA(two directions moving with difference algorithm) based on the searching algorithm of the nearest neighbor city.The second algorithm was to construct BENCS(both ends extending nearest city searching algorithm).Section 1 defined TSP and displayed concrete steps of NNCS and BENCS executions.We showed TDMDA key concepts and steps in detail.NNCS departs from an arbitrary city,and then successively visits the closest unvisited city.BENCS is a construction algorithm based on NNCS.Section 2 showed key TDMDA concepts and described TDMDA steps used to solve symmetric and asymmetric TSP,respectively.A NNCS solution begins with a city and grows a fragment at only one end,while BENCS allows a fragment to grow at both ends and performs two nearest neighbor searches to add one city each to both ends of a fragment solution.TDMDA,a construction algorithm based on BENCS,uses the same rules as BENCS',but extending directions between two ends or nearest unvisited cities.TDMDA deducts the distance between the end cities and its nearest city from the second nearest city.TDMDA builds a rule using start cities to assist us in yielding better solutions.Section 3 evaluated TDMDA performance.We used TDMDA,NNCS and BENCS to solve 15 TSPLIB instances.Computational results showed that TDMDA can obtain a better solution to TSP problems and consume more running time than the other two algorithms.TDMDA was able to derive the best solution and consume the smallest total running time in all 15 instances.The complexity of these three algorithms was analyzed and compared.We compared the complexity of these three algorithms,and our analysis results showed that all the three algorithms have the same complexity O(n2).We objectively evaluated TDMDA performance In summary,TDMDA is a better algorithm to locate the shortest route for each customer visit by salespersons than NNCS and BENCS.TDMDA can help calculate the shortest route and is an effective and efficient construction algorithm.