在现有求解TSP问题的模拟退火算法的基础上,通过引入新的两点算子以及利用fprinff( )函数、fs—canf( )函数和全局变量的作用,提出了一种温度可控的模拟退火算法。对CHN144以及标准的TSPLIB中不同国家的城市的数据进行测试。测试结果表明,该算法很容易收敛到问题的最优解。
Based on the existing simulated annealing algorithm, the paper proposed a simulated annealing algorithm based on controllable temperature parameter for solving TSP. The paper introduced a new two-points operator, made use of the functions (fprintf( ) and fscanf( ) ) and global variable. By testing the data of CHN144 and benchmark TSPLIB, the experiments show that the algorithm is easy to find out the best answer.