SlideShare a Scribd company logo
Ant Colony Optimization
Medhini G Narasimhan
Department of Information Technology
National Institute of Technology, Karnataka
Contents
❖ Swarm Intelligence
❖ Ant Colony Optimization - Pheromone trails
❖ ACO Algorithm - Edge Selection
❖ ACO Algorithm - Pheromone Update
❖ ACO in Travelling Salesman Problem
❖ Other Applications
❖ Advantages and Disadvantages
Swarm Intelligence
● Discipline dealing with collective behaviour of decentralized self-organised
systems
● Natural systems : Bird Flocking, Fish Schooling
● Artificial systems : Robot Swarm
○ Jasmine Swarm Robots
Ant Colony Optimization
● Shortest path from the nest to their food source using Pheromone trails
● Ants - No vision
● Pheromone - behaviour altering chemical - STIGMERGY
● Ant decides to follow a pheromone trail with certain probability
● Reinforces the trail by laying more pheromone
● Pheromone strength decays over time
● Pheromone builds up along shorter path - more ants follow it - more
attractive
● Population based search technique for solving combinatorial optimization
problems
○ Population based search : GA where entire population is evolved
○ Combinatorial Optimization : Optimal object in a set of finite objects
● ACO Algorithm
○ Edge Selection
○ Pheromone Update
ACO Algorithm - Edge Selection
● Ant - Computational Agent - k
● Iteratively construct solution for problem at hand
● In one iteration, each ant builds its own tour
● Final Solution is obtained from Intermediate Solutions
as the shortest tour
● Trail selection is based
○ Attractiveness of the trail
○ Thickness of the trail
● Attractiveness : Desirability of that edge - Computed from a priori
knowledge - Usually Q/dxy
● Trail Level : Amount of pheromone deposited - How proficient it has
been
● 0 <= α : Parameter to control trail level
● >= 1: Parameter to control attractiveness
● and : Attractiveness and trail level for the other possible state
transitions
ACO - Pheromone Update
● When all ants have completed a solution, the trails are updated
● : amount of pheromone deposited for a state transition XY
● : Pheromone Evaporation Coefficient
○ Small - Slow adaptation
○ High - Fast adaptation
● : Amount of pheromone deposited by kth
ant
● Q : Constant
● : Cost of kth
ant’s tour - Length travelled
ACO - Travelling Salesman Problem
● Minimum weighted Hamiltonian Cover
● Other approaches : Dynamic Programming, Minimum Spanning Tree (2
approximate ), Christofides algorithm (1.5 approximate )
ACO - Travelling Salesman Problem
Other Applications of ACO
● Bus routes, garbage collection, delivery routes
● Machine scheduling: Minimization of transport time for distant production
locations
● Feeding of lacquering machines
● Protein folding
● Telecommunication networks: Online optimization
● Personnel placement in airline companies
● Composition of products
Advantages
● Can be used in dynamic applications
● Positive Feedback leads to rapid discovery of good solutions
● Distributed computation avoids premature convergence
Disadvantages
● Convergence is guaranteed, but time to convergence is uncertain
● Coding is not straightforward
References
● https://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms#Convergence
● http://www.inf.ed.ac.uk/teaching/courses/nat/slides/lecture10_ACO.pdf
● https://bsantosa.files.wordpress.com/2015/03/aco-tutorial-english.pdf
● http://paginas.fe.up.
pt/~mac/ensino/docs/DS20102011/Presentations/PopulationalMetaheuristics/ACO_Nuno_
Muhammad_Zafeiris_Behdad.pdf
● http://www.codeproject.com/Articles/644067/Applying-Ant-Colony-Optimization-Algorithms-
to-Sol#_Toc364710426

More Related Content

What's hot

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
UnnitaDas
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
ITER
 
Ant Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its ApplicationsAnt Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its Applications
adil raja
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
Omid Edriss
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
gidla vinay
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimization
Akash Sethiya
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationvk1dadhich
 
Ant colony algorithm
Ant colony algorithmAnt colony algorithm
Ant colony algorithm
قصي نسور
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
Mohamed Talaat
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
Shankha Goswami
 
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemShow ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
jayatra
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
bharatsharma88
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
midhulavijayan
 
Cuckoo Optimization ppt
Cuckoo Optimization pptCuckoo Optimization ppt
Cuckoo Optimization ppt
Anuja Joshi
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
kamalikanath89
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly Algorithms
Mustafa Salam
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
Ahmed Fouad Ali
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
Ahmed Fouad Ali
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Soumen Santra
 

What's hot (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: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its ApplicationsAnt Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its Applications
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony algorithm
Ant colony algorithmAnt colony algorithm
Ant colony algorithm
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problemShow ant-colony-optimization-for-solving-the-traveling-salesman-problem
Show ant-colony-optimization-for-solving-the-traveling-salesman-problem
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Cuckoo Optimization ppt
Cuckoo Optimization pptCuckoo Optimization ppt
Cuckoo Optimization ppt
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly Algorithms
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
 

Viewers also liked

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Joy Dutta
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 acomcradc
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
Simranjit Singh
 
Google Project Loon abstract
Google Project Loon abstractGoogle Project Loon abstract
Google Project Loon abstract
Rahul Das
 
Jarrar: Informed Search
Jarrar: Informed Search  Jarrar: Informed Search
Jarrar: Informed Search
Mustafa Jarrar
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Karthik Sankar
 
Introduction of Wireless Sensor Network
Introduction of Wireless Sensor NetworkIntroduction of Wireless Sensor Network
Introduction of Wireless Sensor Network
Muhammad Kaife Uddin
 
Project loon ppt
Project loon pptProject loon ppt
Project loon ppt
sneha tatode
 
Bio-inspired techniques and their application to precision agriculture (Andre...
Bio-inspired techniques and their application to precision agriculture (Andre...Bio-inspired techniques and their application to precision agriculture (Andre...
Bio-inspired techniques and their application to precision agriculture (Andre...
askroll
 
Project loon report
Project loon  report Project loon  report
Project loon report
sneha tatode
 
Project loon.ppt
Project loon.pptProject loon.ppt
Project loon.ppt
Sahil Ronaldo
 
Seminar on the Project loon
Seminar on the Project loonSeminar on the Project loon
Seminar on the Project loon
Ajinkya Shelke
 
ACO
ACOACO
Basics of Wireless sensor networks
Basics of Wireless sensor networksBasics of Wireless sensor networks
Basics of Wireless sensor networksRushin Shah
 

Viewers also liked (18)

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 aco
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
Edge Detection
Edge Detection Edge Detection
Edge Detection
 
Google Project Loon abstract
Google Project Loon abstractGoogle Project Loon abstract
Google Project Loon abstract
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Jarrar: Informed Search
Jarrar: Informed Search  Jarrar: Informed Search
Jarrar: Informed Search
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Introduction of Wireless Sensor Network
Introduction of Wireless Sensor NetworkIntroduction of Wireless Sensor Network
Introduction of Wireless Sensor Network
 
Project loon ppt
Project loon pptProject loon ppt
Project loon ppt
 
Bio-inspired techniques and their application to precision agriculture (Andre...
Bio-inspired techniques and their application to precision agriculture (Andre...Bio-inspired techniques and their application to precision agriculture (Andre...
Bio-inspired techniques and their application to precision agriculture (Andre...
 
Project loon report
Project loon  report Project loon  report
Project loon report
 
Project loon
Project loonProject loon
Project loon
 
Project loon.ppt
Project loon.pptProject loon.ppt
Project loon.ppt
 
Seminar on the Project loon
Seminar on the Project loonSeminar on the Project loon
Seminar on the Project loon
 
ACO
ACOACO
ACO
 
Basics of Wireless sensor networks
Basics of Wireless sensor networksBasics of Wireless sensor networks
Basics of Wireless sensor networks
 

Recently uploaded

Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 

Recently uploaded (20)

Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 

Ant colony optimization

  • 1. Ant Colony Optimization Medhini G Narasimhan Department of Information Technology National Institute of Technology, Karnataka
  • 2. Contents ❖ Swarm Intelligence ❖ Ant Colony Optimization - Pheromone trails ❖ ACO Algorithm - Edge Selection ❖ ACO Algorithm - Pheromone Update ❖ ACO in Travelling Salesman Problem ❖ Other Applications ❖ Advantages and Disadvantages
  • 3. Swarm Intelligence ● Discipline dealing with collective behaviour of decentralized self-organised systems ● Natural systems : Bird Flocking, Fish Schooling ● Artificial systems : Robot Swarm ○ Jasmine Swarm Robots
  • 4. Ant Colony Optimization ● Shortest path from the nest to their food source using Pheromone trails ● Ants - No vision ● Pheromone - behaviour altering chemical - STIGMERGY ● Ant decides to follow a pheromone trail with certain probability ● Reinforces the trail by laying more pheromone ● Pheromone strength decays over time ● Pheromone builds up along shorter path - more ants follow it - more attractive
  • 5. ● Population based search technique for solving combinatorial optimization problems ○ Population based search : GA where entire population is evolved ○ Combinatorial Optimization : Optimal object in a set of finite objects ● ACO Algorithm ○ Edge Selection ○ Pheromone Update
  • 6. ACO Algorithm - Edge Selection ● Ant - Computational Agent - k ● Iteratively construct solution for problem at hand ● In one iteration, each ant builds its own tour ● Final Solution is obtained from Intermediate Solutions as the shortest tour ● Trail selection is based ○ Attractiveness of the trail ○ Thickness of the trail
  • 7. ● Attractiveness : Desirability of that edge - Computed from a priori knowledge - Usually Q/dxy ● Trail Level : Amount of pheromone deposited - How proficient it has been ● 0 <= α : Parameter to control trail level ● >= 1: Parameter to control attractiveness ● and : Attractiveness and trail level for the other possible state transitions
  • 8. ACO - Pheromone Update ● When all ants have completed a solution, the trails are updated ● : amount of pheromone deposited for a state transition XY ● : Pheromone Evaporation Coefficient ○ Small - Slow adaptation ○ High - Fast adaptation ● : Amount of pheromone deposited by kth ant
  • 9. ● Q : Constant ● : Cost of kth ant’s tour - Length travelled
  • 10. ACO - Travelling Salesman Problem ● Minimum weighted Hamiltonian Cover ● Other approaches : Dynamic Programming, Minimum Spanning Tree (2 approximate ), Christofides algorithm (1.5 approximate )
  • 11. ACO - Travelling Salesman Problem
  • 12. Other Applications of ACO ● Bus routes, garbage collection, delivery routes ● Machine scheduling: Minimization of transport time for distant production locations ● Feeding of lacquering machines ● Protein folding ● Telecommunication networks: Online optimization ● Personnel placement in airline companies ● Composition of products
  • 13. Advantages ● Can be used in dynamic applications ● Positive Feedback leads to rapid discovery of good solutions ● Distributed computation avoids premature convergence Disadvantages ● Convergence is guaranteed, but time to convergence is uncertain ● Coding is not straightforward
  • 14. References ● https://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms#Convergence ● http://www.inf.ed.ac.uk/teaching/courses/nat/slides/lecture10_ACO.pdf ● https://bsantosa.files.wordpress.com/2015/03/aco-tutorial-english.pdf ● http://paginas.fe.up. pt/~mac/ensino/docs/DS20102011/Presentations/PopulationalMetaheuristics/ACO_Nuno_ Muhammad_Zafeiris_Behdad.pdf ● http://www.codeproject.com/Articles/644067/Applying-Ant-Colony-Optimization-Algorithms- to-Sol#_Toc364710426