SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Kürzlich hochgeladen (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

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.