Computer Engineering and Applications ›› 2013, Vol. 49 ›› Issue (14): 60-65.

Previous Articles     Next Articles

Improved simulated annealing algorithm and genetic algorithm for TSP

YAO Minghai1,2, WANG Na3, ZHAO Lianpeng1   

  1. 1.College of Information Science and Technology, Bohai University, Jinzhou, Liaoning 121013, China
    2.School of Mathematics and Statistics, Northeast Normal University, Changchun 130117, China
    3.Department of Computer Science, Jinzhou Teacher’s Training College, Jinzhou, Liaoning 121013, China
  • Online:2013-07-15 Published:2013-07-31

改进的模拟退火和遗传算法求解TSP问题

姚明海1,2,王  娜3,赵连朋1   

  1. 1.渤海大学 信息科学与技术学院,辽宁 锦州 121013
    2.东北师范大学 数学与统计学院,长春 130117
    3.锦州师范高等专科学校 计算机系,辽宁 锦州 121013

Abstract: The characteristics of genetic algorithm and simulated annealing algorithm are compared, it elaborates the necessity of the combination of genetic algorithm and simulated annealing algorithm. An improved simulated annealing and genetic algorithm for solving TSP is proposed. The global random searching ability of genetic algorithm makes up the question of the simulated annealing algorithm that easy to fall into the local optimal solution. The crossover method of genetic algorithm is changed, the parent chromosomes and offspring chromosomes are crossed, it solves the problems of traditional genetic algorithm “premature”. It proposes new solution generation mechanisms and improved algorithm for that the simulated annealing algorithm converges slowly, the method improves the speed of convergence of the algorithm. Experimental test results show that the new algorithm has faster convergence and better stability.

Key words: genetic algorithm, simulated annealing algorithm, Traveling Salesman Problem(TSP), optimization algorithm, optimal solution

摘要: 对遗传算法和模拟退火算法的特点进行了比较,阐述了遗传算法与模拟退火算法集合的必要性。提出了一个用于求解TSP问题的改进的模拟退火和遗传算法。利用遗传算法的全局搜索能力弥补了模拟退火算法容易陷入局部最优的问题。在遗传算法中改进了传统的交叉机制,利用父代染色体与子代染色体进行交叉,解决了传统遗传算法中存在的“早熟”问题。针对模拟退火算法收敛速度慢等问题,提出了新的解生成机制和改良算法,提高了算法的收敛速度。实验测试的结果表明,该方法具有较好的收敛效果和更高的稳定性。

关键词: 遗传算法, 模拟退火算法, 旅行商问题(TSP), 优化算法, 最优解