中文说明:蚁群算法TSP问题 MATLAB 参考 ,蚁群算法求解TSP问题的matlab程序蚁群算法求解TSP问题的matlab程序 %蚁群算法求解TSP问题的matlab程序clear allclose allclc%初始化蚁群m=31;%蚁群中蚂蚁的数量,当m接近或等于城市个数n时,本算法可以在最少的迭代次数内找到最优解
English Description:
Ant colony algorithm TSP problem matlab reference, ant colony algorithm to solve TSP problem matlab program ant colony algorithm to solve TSP problem matlab program & nbsp;% ant colony algorithm to solve TSP problem matlab program clear allclose allclc% initialization ant colony M = 31;% ant colony number, when m is close to or equal to the number of cities n, the algorithm can find the optimal solution in the least number of iterations