加权值多态蚁群算法
2016-05-30鲍文杰朱信忠赵建民徐慧英
鲍文杰 朱信忠 赵建民 徐慧英



摘 要:本文提出加权值多态蚁群算法。在信息素初始化时加入权值,加大各条路径之间的信息素差异,利于蚂蚁快速进行路径选择;在概率选择过程中加入权值,提高蚂蚁搜索效率;采用了蚁周模型对信息素进行全局更新,并且设置了信息素最大值,避免算法陷入局部最优解。最后采用均匀分布的方法确定参数值,通过仿真实验结果表明,该方法在TSP问题中具有良好的稳定性和高效性。
关键词:蚁群算法;权值;均匀分布;信息素
中图分类号:TP301.6 文献标识码:A
Abstract:This paper proposes weighted value polymorphic ant colony algorithm.Added weight when pheromone initialization,increased pheromones differences between the paths,beneficial to the ants select path quickly.Added weight when select probability,improve ants search efficiency.Adopted Ant-Cycle System,updated the pheromones and set up the max pheromones ,avoid the algorithm fall into local optima.Adopted evenly distribution method to determine parameter,simulation results show that the algorithm possesses good stability and efficiency.
Keywords:ants colony algorithm;weight;evenly distributed;pheromone
1 引言(Introduction)
旅行商问题(Traveling Salesman Problem,TSP),是一个经典的路径问题,它可以描述为:在n个城市的范围内,一个推销员要遍历范围内所有城市推销自己的商品。该推销员从一个城市出发,需要经过所有给定的城市后,最后回到出发地的最小路径成本,故也常被称作“推销员问题”。从图论的角度看,也就是找出一个最短封闭路线的问题[1]。TSP问题是数学领域中一个非常经典的问题之一。
蚁群算法根据蚂蚁的群体行为特性,模仿自然界中的蚂蚁寻找食物到蚁巢之间最短路径的行为,寻找搜索问题的最优解。在自然界中真实蚂蚁在寻找食物过程中,能够在其走过的路径上释放一种分泌物,称之为“信息素”,蚂蚁可以根据路径上的信息素浓度来决定前进的方向[2]。早在1911年,意大利学者Dorigo M受到启发,在他的博士论文中提出了蚁群算法。
2 蚁群算法的数学模型(Ants colony algorithm)
设m表示蚁群中蚂蚁的总数量;n表示城市个数;……
