首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 蚁群算法解决TSP旅行商问题ry48p不对称

蚁群算法解决TSP旅行商问题ry48p不对称

资 源 简 介

Standard ACO algorithm with an offline pheromone update is implemented to solve the ty48p asymmetric TSP problem.The Algorithms is implemented with the following parameters Ant_count: Numbers of ants that will be exploring the population, Iterations: Number of generations for which ants will be searching for solutions PheromoneConstant: The constant used as a sufficient while calculating strength of pheromone applied by an individual ant based on its tour length DecayConstant: Strength with which pheromone decays in a path Alpha: Pheromone strength while finding the next city Beta: Heuristic strength while finding the next city, Initialization: How to initialize first population, either random or with a specific city The best solution for ry48p as published in TSP site is 14422 though I managed to reach only 15473. But considering the stochastic nature of algorithms and provided more computational space, this algorithm

文 件 列 表

ant.py
Readme
tsp_matrix.atsp
VIP VIP
0.202582s