下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、蚁群算法及其在路径规划中的应用,Q. Song 2011. 4. 6,Swarm Intelligence,Dumb parts, properly connected into a swarm, yield smart results. Kevin Kelly,Algorithms inspired from insects,Ant Colony Optimization (ACO) Particle Swarm Optimization (PSO) Fish Swarm (FS),Two bridges experiment,from nest to food constrained to
2、 move in two asymmetric paths,Principles,蚁群算法的基本原理源于昆虫学家们的观察和发现,生物界中的蚂蚁在搜索食物源时,能够在其走过的路径上释放一种蚂蚁特有的分泌物(pheromone)信息激素,使得一定范围内的其它蚂蚁能够觉察并影响其行为。当某些路径上走过的蚂蚁越来越多时,留下的这种信息激素也越多,以致后来蚂蚁选择该路径的概率也越高,从而增加了该路径的吸引强度,蚂蚁群体就是靠着这种内部的生物协同机制形成了一条它们自己并未意识到的最短路线。,Behaviors of ant,each ant moves at random, pheromone is de
3、posited on path,ants detect lead ants path, inclined to follow,more pheromone on path increases probability of path being followed,作为与遗传算法同属一类的通用型随机优化方法,蚁群算法不需要任何先验知识,最初只是随机地选择搜索路径,随着对解空间的“了解”,搜索变得有规律,并逐渐逼近直至最终达到全局最优解。蚁群算法对搜索空间的“了解”机制主要包括三个方面: (1)蚂蚁的记忆。一只蚂蚁搜索过的路径在下次搜索时就不会再被选择,由此在蚁群算法中建立tabu(禁忌)列表来进行
4、模拟; (2)蚂蚁利用信息素进行相互通信。蚂蚁在所选择的路径上会释放一种叫做信息素的物质,当同伴进行路径选择时,会根据路径上的信息素进行选择,这样信息素就成为蚂蚁之间进行通讯的媒介。,(3)蚂蚁的集群活动。通过一只蚂蚁的运动很难到达食物源,但整个蚁群进行搜索就完全不同。当某些路径上通过的蚂蚁越来越多时,在路径上留下的信息素数量也越来越多,导致信息素强度增大,蚂蚁选择该路径的概率随之增加,从而进一步增加该路径的信息素强度,而某些路径上通过的蚂蚁较少时,路径上的信息素就会随时间的推移而蒸发。因此,模拟这种现象即可利用群体智能建立路径选择机制,使蚁群算法的搜索向最优解推进。,The Algorith
5、m,Used to solve TSP Transition from city i to j depends on: - Tabu list: list of cities having visited - Visibility = 1/dij; represents local information, heuristic desirability to visit city j when in city i. - Pheromone trail for each edge, represents the learned desirability to visit city j when
6、in city i.,s,i,t,j,j,j,The Algorithm,Transition Rule Probability of ant k going from city i to j: Alpha and beta are adjustable parameters that control the relative importance of trail versus visibility; allowedk= N tabuk ,The Algorithm,Pheromone update :,: a coefficient such that represents the eva
7、poration of trail between time t and t+n,: the quantity per unit of length of trail substance laid on edge (i,j) by ant k between time t and t+n,The Algorithm,Three types of * ant-cycle system: Q: a constant Lk: the tour length of the kth ant,The Algorithm,Three types of * ant-quantity system:,The A
8、lgorithm,Three types of * ant-density system:,The Algorithm,Difference between three models: * ant-cycle system uses global information * ant-quantity system and ant-density system uses local information * ant-cycle system used to solve TSP,TSP Example,A,E,D,C,B,dAB =100; dBC = 60; dDE =150,TSP Exam
9、ple,A,E,D,C,B,TSP Example,Iteration 1,A,E,D,C,B,TSP Example,TSP Example,A,E,D,C,B,Iteration 2,TSP Example,A,E,D,C,B,Iteration 3,A,E,D,C,B,TSP Example,Iteration 4,A,E,D,C,B,TSP Example,Iteration 5,L1 =300,L2 =450,L3 =260,L4 =280,L5 =420,TSP Example,End of First Run,All ants die,New ants are born,Save
10、 Best Tour (Sequence and length),TSP Example,t = 0; NC = 0; ij(t)=c for ij=0 Place the m ants on the n nodes,Update tabuk(s),Compute the length Lk of every ant Update the shortest tour found =,For every edge (i,j) Compute For k:=1 to m do,Initialize,Choose the city j to move to. Use probability,Tabu
11、 list management,Move k-th ant to town j. Insert town j in tabuk(s),Set t = t + n; NC=NC+1; ij=0,NCNCmax & not stagn.,Yes,End,No,Yes,VRPTW Example,N customers are to be visited by K vehicles Given * Depots (number, location) * Vehicles (capacity, costs, time to leave, time on road.) * Customers (dem
12、ands, time windows, priority, .) * Route Information (maximum route time or distance, cost on the route),VRPTW Example,Objective Functions to Minimize * Total travel distance * Total travel time * Number of vehicles Subject to: * Vehicles ( # ,Capacity,time on road,trip length) * Depots (Numbers) *
13、Customers (Demands,time windows),VRPTW Example,Relation with TSP?!,VRPTW Example,Simple Algorithm - Place ants on depots (Depots # = Vehicle #). - Probabilistic choice (1/distance, di, Q) amount of pheromone - If all unvisited customer lead to a unfeasible solution: Select depot as your next custome
14、r. - Improve by local search. - Only best ants update pheromone trial.,Advantages,Positive Feedback accounts for rapid discovery of good solutions. Distributed computation avoids premature convergence. The greedy heuristic helps find acceptable solution in the early solution in the early stages of the search process. The collective interaction of a population of agents
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 外科护士长述职报告范文(8篇)
- 乡镇综治办主任述职报告(3篇)
- 售楼处案场经理述职报告范文(3篇)
- 人员密集场所爆炸紧急处置方案
- 2026年医疗机构疾控监督员考核试题及答案
- 2026年智能驾驶系统状态监控工具
- 气焊与气割的基本原理和安全特点培训课件
- 微机在填写操作票中的应用培训
- 2026葡萄牙葡萄酒产销量供需互动机制分析及品质提升投资评估规划分析报告
- 2026能源转型行业市场分析深度及发展前景与融资运作报告
- 2026年二级建造师继续教育考试练习题及答案
- 【新教材】人教版(2024)八年级下册物理期末质量监测试卷1(含答案)
- 2026年幼儿园师德师风的认识
- DB34-T 4351-2022 综合医院康复治疗中心建设规范
- 泉州第五中学2026届数学高一下期末质量检测模拟试题含解析
- 设备管理教学培训课件
- 避雷器课件教学
- 高中住校申请书
- GB/T 20042.5-2024质子交换膜燃料电池第5部分:膜电极测试方法
- SF-T0095-2021人身损害与疾病因果关系判定指南
- GB/T 4706.74-2024家用和类似用途电器的安全第74部分:缝纫机的特殊要求
评论
0/150
提交评论