![蟻群算法及其在路徑規(guī)劃中的應(yīng)用.ppt_第1頁](http://file1.renrendoc.com/fileroot_temp2/2020-3/18/201ebfb7-deb4-49ab-8f4f-d8a2095d503b/201ebfb7-deb4-49ab-8f4f-d8a2095d503b1.gif)
![蟻群算法及其在路徑規(guī)劃中的應(yīng)用.ppt_第2頁](http://file1.renrendoc.com/fileroot_temp2/2020-3/18/201ebfb7-deb4-49ab-8f4f-d8a2095d503b/201ebfb7-deb4-49ab-8f4f-d8a2095d503b2.gif)
![蟻群算法及其在路徑規(guī)劃中的應(yīng)用.ppt_第3頁](http://file1.renrendoc.com/fileroot_temp2/2020-3/18/201ebfb7-deb4-49ab-8f4f-d8a2095d503b/201ebfb7-deb4-49ab-8f4f-d8a2095d503b3.gif)
![蟻群算法及其在路徑規(guī)劃中的應(yīng)用.ppt_第4頁](http://file1.renrendoc.com/fileroot_temp2/2020-3/18/201ebfb7-deb4-49ab-8f4f-d8a2095d503b/201ebfb7-deb4-49ab-8f4f-d8a2095d503b4.gif)
![蟻群算法及其在路徑規(guī)劃中的應(yīng)用.ppt_第5頁](http://file1.renrendoc.com/fileroot_temp2/2020-3/18/201ebfb7-deb4-49ab-8f4f-d8a2095d503b/201ebfb7-deb4-49ab-8f4f-d8a2095d503b5.gif)
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、蟻群算法及其在路徑規(guī)劃中的應(yīng)用,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,蟻群算法的基本原理源于昆蟲學(xué)家們的觀察和發(fā)現(xiàn),生物界中的螞蟻在搜索食物源時(shí),能夠在其走過的路徑上釋放一種螞蟻特有的分泌物(pheromone)信息激素,使得一定范圍內(nèi)的其它螞蟻能夠覺察并影響其行為。當(dāng)某些路徑上走過的螞蟻越來越多時(shí),留下的這種信息激素也越多,以致后來螞蟻選擇該路徑的概率也越高,從而增加了該路徑的吸引強(qiáng)度,螞蟻群體就是靠著這種內(nèi)部的生物協(xié)同機(jī)制形成了一條它們自己并未意識(shí)到的最短路線。,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,作為與遺傳算法同屬一類的通用型隨機(jī)優(yōu)化方法,蟻群算法不需要任何先驗(yàn)知識(shí),最初只是隨機(jī)地選擇搜索路徑,隨著對(duì)解空間的“了解”,搜索變得有規(guī)律,并逐漸逼近直至最終達(dá)到全局最優(yōu)解。蟻群算法對(duì)搜索空間的“了解”機(jī)制主要包括三個(gè)方面: (1)螞蟻的記憶。一只螞蟻搜索過的路徑在下次搜索時(shí)就不會(huì)再被選擇,由此在蟻群算法中建立tabu(禁忌)列表來進(jìn)行
4、模擬; (2)螞蟻利用信息素進(jìn)行相互通信。螞蟻在所選擇的路徑上會(huì)釋放一種叫做信息素的物質(zhì),當(dāng)同伴進(jìn)行路徑選擇時(shí),會(huì)根據(jù)路徑上的信息素進(jìn)行選擇,這樣信息素就成為螞蟻之間進(jìn)行通訊的媒介。,(3)螞蟻的集群活動(dòng)。通過一只螞蟻的運(yùn)動(dòng)很難到達(dá)食物源,但整個(gè)蟻群進(jìn)行搜索就完全不同。當(dāng)某些路徑上通過的螞蟻越來越多時(shí),在路徑上留下的信息素?cái)?shù)量也越來越多,導(dǎo)致信息素強(qiáng)度增大,螞蟻選擇該路徑的概率隨之增加,從而進(jìn)一步增加該路徑的信息素強(qiáng)度,而某些路徑上通過的螞蟻較少時(shí),路徑上的信息素就會(huì)隨時(shí)間的推移而蒸發(fā)。因此,模擬這種現(xiàn)象即可利用群體智能建立路徑選擇機(jī)制,使蟻群算法的搜索向最優(yōu)解推進(jìn)。,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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 浙江室內(nèi)改水施工方案
- 青島戶外植物墻施工方案
- 鐵路四電工程施工方案
- 霧森設(shè)備安裝施工方案
- 中鐵三局合同范例
- 閔行區(qū)公園假山施工方案
- 商場室內(nèi)廣告合同范例
- 農(nóng)業(yè)荒山開發(fā)合同范例
- 出售攪拌混凝土合同范例
- 線形燈背景墻施工方案
- 渤海大學(xué)《大數(shù)據(jù)分析與實(shí)踐》2023-2024學(xué)年期末試卷
- 2024版2024年《咚咚鏘》中班音樂教案
- GA 2139-2024警用防暴臂盾
- DL∕T 5810-2020 電化學(xué)儲(chǔ)能電站接入電網(wǎng)設(shè)計(jì)規(guī)范
- 北京三甲中醫(yī)疼痛科合作方案
- QCT957-2023洗掃車技術(shù)規(guī)范
- 新外研版高中英語選擇性必修1單詞正序英漢互譯默寫本
- 自愿斷絕父子關(guān)系協(xié)議書電子版
- 2023年4月自考00504藝術(shù)概論試題及答案含解析
- 美麗的大自然(教案)2023-2024學(xué)年美術(shù)一年級(jí)下冊
- 成都特色民俗課件
評(píng)論
0/150
提交評(píng)論