模拟退火算法我要分享

Simulated annealing algorithm

matlab 算法 模拟 退火

关注次数: 198

下载次数: 0

文件大小: 3.23 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明:用模拟退火算法解决多个城市之间遍历的最短路线问题,即TSP问题,能够得出最优路径和最短路径长度。从Annearing算法,我们得到的最短路径是1-2-7-6-8-10-14和最小distanceis12在图2中。


English Description:

Problem solving shortest route to traverse between multiple cities with simulated annealing algorithm, TSP, can obtain the optimal path and the shortest path length.From the Annearing algorithm, we get the shortest path is 1-2-7-6-8-10-14 and the minimum distanceis 12 in figure 2.


代码预览