SlideShare uma empresa Scribd logo
1 de 36
Ameisenalgorithmen – Ant Colony Optimization Lehrprobe zur Habilation, Barbara Hammer, AG LNM, Universität Osnabrück
Optimization ,[object Object],[object Object],[object Object],[object Object],General optimization problem: given f:X  ℝ, find x ε X such that f(x) is minimum    needle in a haystack, hopeless    traveling salesperson problem, NP-hard     shortest path problem, polynomial    protein structure prediction problem, NP-hard
Ant colony food nest
[object Object],[object Object]
Ant Colony Optimization ,[object Object],[object Object],[object Object],[object Object],[object Object]
History: ACO for shortest paths …
History: ACO for shortest paths ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],nest food
History: ACO for shortest paths I:directed ,[object Object],[object Object],for all i: p i :=0;  /*ant position init*/ s i :=hungry;  /*ant state init*/ for all i   j:  τ i  j :=const;  /*pheromone init*/ repeat  for all i:  ant_step (i);  /*ant step*/ for all i   j:  τ i  j  := (1- ρ )  τ i  j  ;  /*evaporate pheromone*/
History: ACO for shortest paths I:directed ant_step (i): if p i =N: s i :=satisfied;  if p i =0: s i :=hungry;  /*collect food/deliver food*/ if s i =hungry:  choose j with p i  j with probability  τ pi   j / Σ pi  j’ τ pi  j’  /*choose next step*/ update  Δτ pi   j  :=  ε ; p i :=j;  /*update pheromone*/ if s i =satisfied:  choose j with j  p i  with probability  τ j  pi / Σ j’  pi τ j’  pi update  Δτ j  pi :=  ε ; p i :=j;  /* reversed directions*/
History: ACO for shortest paths II:general ,[object Object],WC4 WC5 Barbara Marc 449a Anja Dagmar Espresso 322 339 WC3 Friedhelm Fachschaft WC2 Rechner Astrid Zeitschriften WC Bibo RZ-Sekretariat Toiletten Cafete RZ Getraenke-automat Mensa
History: ACO for shortest paths II:general 449a 449a ... Marc was not so happy with the result ...
History: ACO for shortest paths II:general for all i: p i :=0;  /*ant position init*/ s i :=( );   /*ant brain is empty*/ for all i-j:  τ i-j :=const;  /*pheromone init*/ repeat  for all i:  construct_solution (i);  for all i:  global_pheromone_update (i);  for all i-j:  τ i-j  := (1- ρ )  τ i-j ;  /*evaporate*/ construct_solution (i):  while p i ≠N   /*no solution*/ choose j with p i -j with probability  τ pi-j  /  Σ pi-j’ τ pi-j’ ; p i :=j; append j to s i ;  /*remember the trail*/   global_pheromone_update (i):  for all j-j’ in s i :  Δτ j-j’ := 1/length of the path stored in s i ;   minibrain update according  to the quality minibrain s i :=hungry repeat  for all i:  ant_step (i);
History: ACO for shortest paths II:general WC4 WC5 Barbara Marc 449a Anja Dagmar Espresso 322 339 WC3 Friedhelm Fachschaft WC2 Rechner Astrid Zeitschriften WC Bibo RZ-Sekretariat Toiletten Cafete RZ Getraenke Mensa
History: ACO for shortest paths   init pheromone t i-j  ; repeat  for all ants i:  construct_solution (i);  for all ants i:  global_pheromone_update (i);  for all edges:  evaporate pheromone; construct_solution (i):  init ant; while not yet a solution: expand the solution by one edge probabilistically according to the pheromone;   global_pheromone_update (i):  for all edges in the solution:  increase the pheromone according to the quality ;
Traveling salesperson and ACO-metaheuristic …
Traveling salesperson Traveling salesperson problem  (TSP): given n cities {1,...,N} and distances d ij  ≥0  between the cities, find a tour with shortest length, i.e. a permutation  π :{1,…,N}  {1,…,N} such that the length =  Σ i d π (i) π ((i+1)mod N)  is minimum classical NP-hard benchmark problem   A simple  greedy heuristic :  start somewhere and always add the closest not yet visited city to the tour
Traveling salesperson init pheromone; repeat  for all ants i:  construct_solution (i);  for all ants i:  global_pheromone_update (i);  for all edges:  evaporate pheromone; construct_solution (i): init ant; while not yet a solution expand the solution by one edge probabilistically according to the pheromone;   global_pheromone_update (i):  for all edge in the solution:  increase the pheromone according to the quality ;   A B C D key observation : a tour (A  C  D  B  A) decomposes into edges A  C, C  D, D  B pheromone  on the edges
Traveling salesperson init: set  τ ij :=const for all cities i≠j; repeat  for all ants i:  construct_solution (i);  for all ants i:  global_pheromone_update (i);  for all edges i-j:  evaporate pheromone;
Traveling salesperson global_pheromone_update (i);  for all j  k in the solution:  Δτ jk  := const / length of the constructed tour short tours yield to most pheromone construct_solution (i):  set ant to a randomly chosen city; while not yet a solution:  j=current city, expand by j  k with probability = only valid tours are constructed close cities are preferred α ,  β  >0 control the mixture  of the greedy heuristic  and the pheromone following
Traveling salesperson ,[object Object],[object Object],25.1 459.8 422 Sim. Annealing 1.5 420.6 420 Tabu-search 1.3 420.4 420 ACO std.deviation average best  21761 21282 100 cities 580 542 545 535 75 cities 443 426 428 425 50 cities Sim.Ann. Evol.Prog. Gen.Alg. ACO
ACO-metaheuristic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],edges i  j partial tours tours which visit each city at most once and in consecutive order length of the tour valid tours
ACO-metaheuristic init pheromone  τ i =const for each component c i ; repeat  for all ants i:  construct_solution (i);  for all ants i:  global_pheromone_update (i);  for all pheromones i:  evaporate:  τ i =(1- ρ ) ∙τ i ; construct_solution (i);  init s={ }; while s is not a solution: choose c j  with probability =   expand s by c j ;  global_pheromone_update (i);  for all c j  in the solution s:  increase pheromone:  τ j = τ j + const / f(s);   η  is a heuristic value, α , β  balance the  heuristic/pheromone general ACO algorithm
Protein folding - state of the art ACO …
Protein folding ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],in the 2D-HP-model (Dill)
Protein folding ,[object Object],[object Object],[object Object],9 additional 1-1 contacts
Protein folding ,[object Object],[object Object],[object Object],[object Object],[object Object],R S R ... R L S
Protein folding ,[object Object],[object Object],[object Object],[object Object],[object Object],init pheromone  τ i-D =const for each tuple i-D ; repeat  for all ants i:  construct_solution (i);  for the best ants i:  optimize_solution (i); for the best ants i:  global_pheromone_update (i);  for all pheromones i-D:  evaporate:  τ i-D =(1- ρ ) ∙τ i-D ; daemon action: local optimization elitism
Protein folding ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],η  is related to the number of 1-1 contacts of this motif feasibility optimize_solution (i);  perform a fixed number of  feasible and improving  substitutions of local structural motifs at random global_pheromone_update (i);  for all local structural motifs in a solution: τ j-D  :=  τ j-D  + number of 1-1 contacts in the solution / const;
Protein folding ,[object Object],GA: genetic algorithm EMC: evolutionary algorithm  + Monte Carlo methods MSOE: Monte Carlo including  overlapping conformations PERM: iterated heuristic growing method 47 48 47 100 47 50 50 100 51 53 52 85 42 38 42 39 37 64 36 36 35 34 60 21 21 21 21 50 23 23 23 23 48 14 14 14 14 36 8 8 8 8 25 9 9 9 9 24 9 9 9 9 20 ACO PERM MSOE EMC GA length
General comments -  where is my manuscript …
General comments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
General comments ,[object Object],No free lunch theorem  (Macready/Wolpert)  I n the mean, no optimization algorithm is to be preferred! Precise:   Assume A and B are finite, B is totally ordered, F is a set of functions from A to B which is closed under permutation, H is a (randomized) search heuristic. Then the expected time to reach the first optimum is independent of H. ... so it might take a while until the ants find my manuscript, but they’ll find it.
Rettet die Bildung! Jawoll! Gegen Stellenk ürzungen im Hochschulbereich!
 
ACO-metaheuristic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Protein folding – state of the art ACO ,[object Object],[object Object],[object Object],[object Object],[object Object],LRS S RLS LRS L RLS L RSS RLS L SRL RLS LRS S RLS LRS L RLS SL S L RL R

Mais conteúdo relacionado

Destaque

Sii. .Cz.Prezentace.2010.Small
Sii. .Cz.Prezentace.2010.SmallSii. .Cz.Prezentace.2010.Small
Sii. .Cz.Prezentace.2010.SmallJerryFishlet
 
Nibras Media in Brief
Nibras Media in BriefNibras Media in Brief
Nibras Media in Briefyaz2media
 
ماهو الطاغوت
ماهو الطاغوتماهو الطاغوت
ماهو الطاغوتjaljasir
 
The Trion Towers @ Fort Bonifacio Global City
The Trion Towers @ Fort Bonifacio Global CityThe Trion Towers @ Fort Bonifacio Global City
The Trion Towers @ Fort Bonifacio Global CityNorman Garcia
 
E texbooks for student’s e-resources
E texbooks for student’s e-resourcesE texbooks for student’s e-resources
E texbooks for student’s e-resourcesDimas Prasetyo
 
101 Presentation Sample
101 Presentation Sample101 Presentation Sample
101 Presentation SampleDataVault
 
9 Habits to Nurture Back Your Health
9 Habits to Nurture Back Your Health9 Habits to Nurture Back Your Health
9 Habits to Nurture Back Your HealthJeffrey Pickett
 
Bathroom accessories
Bathroom accessoriesBathroom accessories
Bathroom accessoriescarlfglobal
 
Putting an End to "Organizational ADD"
Putting an End to "Organizational ADD"Putting an End to "Organizational ADD"
Putting an End to "Organizational ADD"TKMG, Inc.
 
Detentie concept lelystad
Detentie concept lelystadDetentie concept lelystad
Detentie concept lelystadTony Hardenberg
 
Kcm 12 10
Kcm 12 10Kcm 12 10
Kcm 12 10bweis1
 
Magnolia Residences @ New Manila Quezon City
Magnolia Residences @ New Manila Quezon CityMagnolia Residences @ New Manila Quezon City
Magnolia Residences @ New Manila Quezon CityNorman Garcia
 
Membentuk iklim pengajaran yang positif di sekolah
Membentuk iklim pengajaran yang positif di sekolahMembentuk iklim pengajaran yang positif di sekolah
Membentuk iklim pengajaran yang positif di sekolahIsmail Zubir
 

Destaque (20)

Life scripts
Life scriptsLife scripts
Life scripts
 
Sii. .Cz.Prezentace.2010.Small
Sii. .Cz.Prezentace.2010.SmallSii. .Cz.Prezentace.2010.Small
Sii. .Cz.Prezentace.2010.Small
 
Jesus
JesusJesus
Jesus
 
Nibras Media in Brief
Nibras Media in BriefNibras Media in Brief
Nibras Media in Brief
 
Black Holes
Black HolesBlack Holes
Black Holes
 
ماهو الطاغوت
ماهو الطاغوتماهو الطاغوت
ماهو الطاغوت
 
The Trion Towers @ Fort Bonifacio Global City
The Trion Towers @ Fort Bonifacio Global CityThe Trion Towers @ Fort Bonifacio Global City
The Trion Towers @ Fort Bonifacio Global City
 
E texbooks for student’s e-resources
E texbooks for student’s e-resourcesE texbooks for student’s e-resources
E texbooks for student’s e-resources
 
310 lecture 10
310 lecture 10310 lecture 10
310 lecture 10
 
Facebook
FacebookFacebook
Facebook
 
101 Presentation Sample
101 Presentation Sample101 Presentation Sample
101 Presentation Sample
 
9 Habits to Nurture Back Your Health
9 Habits to Nurture Back Your Health9 Habits to Nurture Back Your Health
9 Habits to Nurture Back Your Health
 
Bathroom accessories
Bathroom accessoriesBathroom accessories
Bathroom accessories
 
Putting an End to "Organizational ADD"
Putting an End to "Organizational ADD"Putting an End to "Organizational ADD"
Putting an End to "Organizational ADD"
 
Detentie concept lelystad
Detentie concept lelystadDetentie concept lelystad
Detentie concept lelystad
 
Kcm 12 10
Kcm 12 10Kcm 12 10
Kcm 12 10
 
Magnolia Residences @ New Manila Quezon City
Magnolia Residences @ New Manila Quezon CityMagnolia Residences @ New Manila Quezon City
Magnolia Residences @ New Manila Quezon City
 
Membentuk iklim pengajaran yang positif di sekolah
Membentuk iklim pengajaran yang positif di sekolahMembentuk iklim pengajaran yang positif di sekolah
Membentuk iklim pengajaran yang positif di sekolah
 
Chapter02
Chapter02Chapter02
Chapter02
 
презентация2
презентация2презентация2
презентация2
 

Semelhante a Aco

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationITER
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationUnnitaDas
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentationPartha Das
 
Volume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVolume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVissarion Fisikopoulos
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problemWajahat Hussain
 
Python for Scientific Computing
Python for Scientific ComputingPython for Scientific Computing
Python for Scientific ComputingAlbert DeFusco
 
Price of anarchy is independent of network topology
Price of anarchy is independent of network topologyPrice of anarchy is independent of network topology
Price of anarchy is independent of network topologyAleksandr Yampolskiy
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.pptAhmedSalimJAlJawadi
 
Efficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeEfficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeVissarion Fisikopoulos
 
Optimization of probabilistic argumentation with Markov processes
Optimization of probabilistic argumentation with Markov processesOptimization of probabilistic argumentation with Markov processes
Optimization of probabilistic argumentation with Markov processesEmmanuel Hadoux
 
14th Athens Colloquium on Algorithms and Complexity (ACAC19)
14th Athens Colloquium on Algorithms and Complexity (ACAC19)14th Athens Colloquium on Algorithms and Complexity (ACAC19)
14th Athens Colloquium on Algorithms and Complexity (ACAC19)Apostolos Chalkis
 
lecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdflecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdfAnaNeacsu5
 
A new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesA new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesVissarion Fisikopoulos
 
Design and Analysis of Algorithms Assignment Help
Design and Analysis of Algorithms Assignment HelpDesign and Analysis of Algorithms Assignment Help
Design and Analysis of Algorithms Assignment HelpProgramming Homework Help
 
Design and Analysis of Algorithms Exam Help
Design and Analysis of Algorithms Exam HelpDesign and Analysis of Algorithms Exam Help
Design and Analysis of Algorithms Exam HelpProgramming Exam Help
 

Semelhante a Aco (20)

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 
Volume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVolume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensions
 
Swapnil Shahade
Swapnil  ShahadeSwapnil  Shahade
Swapnil Shahade
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
Python for Scientific Computing
Python for Scientific ComputingPython for Scientific Computing
Python for Scientific Computing
 
algorithm Unit 3
algorithm Unit 3algorithm Unit 3
algorithm Unit 3
 
Price of anarchy is independent of network topology
Price of anarchy is independent of network topologyPrice of anarchy is independent of network topology
Price of anarchy is independent of network topology
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Efficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeEfficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope Volume
 
Optimization of probabilistic argumentation with Markov processes
Optimization of probabilistic argumentation with Markov processesOptimization of probabilistic argumentation with Markov processes
Optimization of probabilistic argumentation with Markov processes
 
Volume computation and applications
Volume computation and applications Volume computation and applications
Volume computation and applications
 
Unit 3 daa
Unit 3 daaUnit 3 daa
Unit 3 daa
 
14th Athens Colloquium on Algorithms and Complexity (ACAC19)
14th Athens Colloquium on Algorithms and Complexity (ACAC19)14th Athens Colloquium on Algorithms and Complexity (ACAC19)
14th Athens Colloquium on Algorithms and Complexity (ACAC19)
 
lecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdflecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdf
 
A new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesA new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodies
 
Design and Analysis of Algorithms Assignment Help
Design and Analysis of Algorithms Assignment HelpDesign and Analysis of Algorithms Assignment Help
Design and Analysis of Algorithms Assignment Help
 
Design and Analysis of Algorithms Exam Help
Design and Analysis of Algorithms Exam HelpDesign and Analysis of Algorithms Exam Help
Design and Analysis of Algorithms Exam Help
 

Último

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 

Último (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 

Aco

  • 1. Ameisenalgorithmen – Ant Colony Optimization Lehrprobe zur Habilation, Barbara Hammer, AG LNM, Universität Osnabrück
  • 2.
  • 4.
  • 5.
  • 6. History: ACO for shortest paths …
  • 7.
  • 8.
  • 9. History: ACO for shortest paths I:directed ant_step (i): if p i =N: s i :=satisfied; if p i =0: s i :=hungry; /*collect food/deliver food*/ if s i =hungry: choose j with p i  j with probability τ pi  j / Σ pi  j’ τ pi  j’ /*choose next step*/ update Δτ pi  j := ε ; p i :=j; /*update pheromone*/ if s i =satisfied: choose j with j  p i with probability τ j  pi / Σ j’  pi τ j’  pi update Δτ j  pi := ε ; p i :=j; /* reversed directions*/
  • 10.
  • 11. History: ACO for shortest paths II:general 449a 449a ... Marc was not so happy with the result ...
  • 12. History: ACO for shortest paths II:general for all i: p i :=0; /*ant position init*/ s i :=( ); /*ant brain is empty*/ for all i-j: τ i-j :=const; /*pheromone init*/ repeat for all i: construct_solution (i); for all i: global_pheromone_update (i); for all i-j: τ i-j := (1- ρ ) τ i-j ; /*evaporate*/ construct_solution (i): while p i ≠N /*no solution*/ choose j with p i -j with probability τ pi-j / Σ pi-j’ τ pi-j’ ; p i :=j; append j to s i ; /*remember the trail*/ global_pheromone_update (i): for all j-j’ in s i : Δτ j-j’ := 1/length of the path stored in s i ; minibrain update according to the quality minibrain s i :=hungry repeat for all i: ant_step (i);
  • 13. History: ACO for shortest paths II:general WC4 WC5 Barbara Marc 449a Anja Dagmar Espresso 322 339 WC3 Friedhelm Fachschaft WC2 Rechner Astrid Zeitschriften WC Bibo RZ-Sekretariat Toiletten Cafete RZ Getraenke Mensa
  • 14. History: ACO for shortest paths init pheromone t i-j ; repeat for all ants i: construct_solution (i); for all ants i: global_pheromone_update (i); for all edges: evaporate pheromone; construct_solution (i): init ant; while not yet a solution: expand the solution by one edge probabilistically according to the pheromone; global_pheromone_update (i): for all edges in the solution: increase the pheromone according to the quality ;
  • 15. Traveling salesperson and ACO-metaheuristic …
  • 16. Traveling salesperson Traveling salesperson problem (TSP): given n cities {1,...,N} and distances d ij ≥0 between the cities, find a tour with shortest length, i.e. a permutation π :{1,…,N}  {1,…,N} such that the length = Σ i d π (i) π ((i+1)mod N) is minimum classical NP-hard benchmark problem   A simple greedy heuristic : start somewhere and always add the closest not yet visited city to the tour
  • 17. Traveling salesperson init pheromone; repeat for all ants i: construct_solution (i); for all ants i: global_pheromone_update (i); for all edges: evaporate pheromone; construct_solution (i): init ant; while not yet a solution expand the solution by one edge probabilistically according to the pheromone; global_pheromone_update (i): for all edge in the solution: increase the pheromone according to the quality ; A B C D key observation : a tour (A  C  D  B  A) decomposes into edges A  C, C  D, D  B pheromone on the edges
  • 18. Traveling salesperson init: set τ ij :=const for all cities i≠j; repeat for all ants i: construct_solution (i); for all ants i: global_pheromone_update (i); for all edges i-j: evaporate pheromone;
  • 19. Traveling salesperson global_pheromone_update (i); for all j  k in the solution: Δτ jk := const / length of the constructed tour short tours yield to most pheromone construct_solution (i): set ant to a randomly chosen city; while not yet a solution: j=current city, expand by j  k with probability = only valid tours are constructed close cities are preferred α , β >0 control the mixture of the greedy heuristic and the pheromone following
  • 20.
  • 21.
  • 22. ACO-metaheuristic init pheromone τ i =const for each component c i ; repeat for all ants i: construct_solution (i); for all ants i: global_pheromone_update (i); for all pheromones i: evaporate: τ i =(1- ρ ) ∙τ i ; construct_solution (i); init s={ }; while s is not a solution: choose c j with probability = expand s by c j ; global_pheromone_update (i); for all c j in the solution s: increase pheromone: τ j = τ j + const / f(s); η is a heuristic value, α , β balance the heuristic/pheromone general ACO algorithm
  • 23. Protein folding - state of the art ACO …
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. General comments - where is my manuscript …
  • 31.
  • 32.
  • 33. Rettet die Bildung! Jawoll! Gegen Stellenk ürzungen im Hochschulbereich!
  • 34.  
  • 35.
  • 36.