SlideShare une entreprise Scribd logo
1  sur  22
Ant Colony Optimization
(ACO)
Submitted by:
Subvesh Raichand
MTech, 3rd
Semester
07204007
Electronics and Communication
Optimization
 Given a graph with two specified vertices A and B, find a shortest
path from A to B.
 Given a set of cities and pairwise distances, find a shortest tour.
 Given a sequence of amino acids of a protein, find the structure
of the protein.
 ‘Where is my manuscript for the talk, I put it on this pile of
papers...’
General optimization problem:
given f:X ,ℝ
find xεX such that f(x) is minimum
 shortest path problem, polynomial
 traveling salesperson problem,
 protein structure prediction problem,
 needle in a haystack, hopeless
Ant Colony Optimization (ACO)
 In the real world, ants (initially) wander randomly, and upon
finding food return to their colony while laying down pheromone
trails. If other ants find such a path, they are likely not to keep
traveling at random, but instead follow the trail laid by earlier
ants, returning and reinforcing it if they eventually find food
 Over time, however, the pheromone trail starts to evaporate, thus
reducing its attractive strength. The more time it takes for an ant
to travel down the path and back again, the more time the
pheromones have to evaporate.
 A short path, by comparison, gets marched over faster, and thus
the pheromone density remains high
 Pheromone evaporation has also the advantage of avoiding the
convergence to a locally optimal solution. If there were no
evaporation at all, the paths chosen by the first ants would tend
to be excessively attractive to the following ones. In that case,
the exploration of the solution space would be constrained.
ACO
 Thus, when one ant finds a good (short) path from the colony to
a food source, other ants are more likely to follow that path, and
such positive feedback eventually leaves all the ants following a
single path.
 The idea of the ant colony algorithm is to mimic this behavior
with "simulated ants" walking around the search space
representing the problem to be solved.
 Ant colony optimization algorithms have been used to produce
near-optimal solutions to the traveling salesman problem.
 They have an advantage over simulated annealing and genetic
algorithm approaches when the graph may change dynamically.
The ant colony algorithm can be run continuously and can adapt
to changes in real time.
 This is of interest in network routing and urban transportation
systems.
ACO Defined
 A heuristic optimization method for
shortest path and other optimization
problems which borrows ideas from
biological ants.
 Based on the fact that ants are able to
find shortest route between their nest
and source of food.
Shortest Route
 Shortest route is found using pheromone
trails which ants deposit whenever they
travel, as a form of indirect communication
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
When ants leave their nest to search for a food source,
they randomly rotate around an obstacle
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
initially the pheromone deposits will be the same for the
right and left directions
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
When the ants in the shorter direction find a food source, they carry the
food and start returning back, following their pheromone trails, and still
depositing more pheromone.
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
An ant will most likely choose the shortest path when returning back to the
nest with food as this path will have the most deposited pheromone
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
For the same reason, new ants that later starts out from the nest to
find food will also choose the shortest path.
Ant Colony Optimization
 Ant foraging – Co-operative search by
pheromone trails
Over time, this positive feedback (autocatalytic) process prompts all
ants to choose the shorter path
ACO algorithm
 The process starts by generating m random
ants (solution).
 An ant represents a solution
string, with a selected value for each variable.
 An ant is evaluated according to an objective
function.
 Accordingly, pheromone concentration
associated with each possible route( variable
value) is changed in a way to reinforce good
solutions as follows:
ACO algorithm
ACO algorithm Implementation
above.
ACO Pseudo Code
Pseudo code for ACO is shown below:
Pheromone Concentration Calculations
Pheromone Concentration Calculation
Main parameters at glance
ACO Characteristics
 Exploit a positive feedback mechanism
 Demonstrate a distributed computational
architecture
 Exploit a global data structure that changes
dynamically as each ant transverses the
route
 Has an element of distributed computation
to it involving the population of ants
 Involves probabilistic transitions among
states or rather between nodes
References:
 Emad Elbeltagi, Tarek Hegazy, Donald
Grierson, Comparison among five
evolutionary-based optimized algorithm, 19
January 2005,Advanced Engineering
informatics 19 (2005) 43-53
 www.google.com
 www.sciencedirect.com
Thank You!

Contenu connexe

Tendances

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationAbdul Rahman
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
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 Applicationsadil raja
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSOMohamed Talaat
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationITER
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)gidla vinay
 
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
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationanurag singh
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization Ahmed Fouad Ali
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimizationmidhulavijayan
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony MethodUday Wankar
 

Tendances (20)

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
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
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
bat algorithm
bat algorithmbat algorithm
bat algorithm
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
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...
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Ant colony algorithm
Ant colony algorithmAnt colony algorithm
Ant colony algorithm
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony Method
 

En vedette

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problemguest3d82c4
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications Ahmed_hashmi
 

En vedette (7)

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problem
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications
 

Similaire à Ant colony optimization

Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_OptimizationNeha Reddy
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationMuhammad Haroon
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationMuhammad Haroon
 
cs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptcs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptDeveshKhandare
 
Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Borseshweta
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfnrusinhapadhi
 
Meta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptMeta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptSubramanianManivel1
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationIJMER
 
Swarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdfSwarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdfahmedsalim244821
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptxRiki378702
 
Heuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxHeuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxlwz614595250
 
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...Antonio Mora
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithmguest4c60e4
 

Similaire à Ant colony optimization (20)

Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
 
Neural nw ant colony algorithm
Neural nw   ant colony algorithmNeural nw   ant colony algorithm
Neural nw ant colony algorithm
 
acoa
acoaacoa
acoa
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimization
 
Swarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimizationSwarm intelligence and particle swarm optimization
Swarm intelligence and particle swarm optimization
 
cs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.pptcs621-lect7-SI-13aug07.ppt
cs621-lect7-SI-13aug07.ppt
 
Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07Cs621 lect7-si-13aug07
Cs621 lect7-si-13aug07
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
231semMish (1).ppt
231semMish (1).ppt231semMish (1).ppt
231semMish (1).ppt
 
Meta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.pptMeta Heuristics Optimization and Nature Inspired.ppt
Meta Heuristics Optimization and Nature Inspired.ppt
 
231semMish.ppt
231semMish.ppt231semMish.ppt
231semMish.ppt
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony Optimization
 
Swarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdfSwarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdf
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
 
Heuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxHeuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptx
 
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...
KohonAnts: A Self-Organizing Ant Algorithm for Clustering and Pattern Classif...
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
 

Dernier

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Dernier (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Ant colony optimization

  • 1. Ant Colony Optimization (ACO) Submitted by: Subvesh Raichand MTech, 3rd Semester 07204007 Electronics and Communication
  • 2. Optimization  Given a graph with two specified vertices A and B, find a shortest path from A to B.  Given a set of cities and pairwise distances, find a shortest tour.  Given a sequence of amino acids of a protein, find the structure of the protein.  ‘Where is my manuscript for the talk, I put it on this pile of papers...’ General optimization problem: given f:X ,ℝ find xεX such that f(x) is minimum  shortest path problem, polynomial  traveling salesperson problem,  protein structure prediction problem,  needle in a haystack, hopeless
  • 3. Ant Colony Optimization (ACO)  In the real world, ants (initially) wander randomly, and upon finding food return to their colony while laying down pheromone trails. If other ants find such a path, they are likely not to keep traveling at random, but instead follow the trail laid by earlier ants, returning and reinforcing it if they eventually find food  Over time, however, the pheromone trail starts to evaporate, thus reducing its attractive strength. The more time it takes for an ant to travel down the path and back again, the more time the pheromones have to evaporate.  A short path, by comparison, gets marched over faster, and thus the pheromone density remains high  Pheromone evaporation has also the advantage of avoiding the convergence to a locally optimal solution. If there were no evaporation at all, the paths chosen by the first ants would tend to be excessively attractive to the following ones. In that case, the exploration of the solution space would be constrained.
  • 4. ACO  Thus, when one ant finds a good (short) path from the colony to a food source, other ants are more likely to follow that path, and such positive feedback eventually leaves all the ants following a single path.  The idea of the ant colony algorithm is to mimic this behavior with "simulated ants" walking around the search space representing the problem to be solved.  Ant colony optimization algorithms have been used to produce near-optimal solutions to the traveling salesman problem.  They have an advantage over simulated annealing and genetic algorithm approaches when the graph may change dynamically. The ant colony algorithm can be run continuously and can adapt to changes in real time.  This is of interest in network routing and urban transportation systems.
  • 5. ACO Defined  A heuristic optimization method for shortest path and other optimization problems which borrows ideas from biological ants.  Based on the fact that ants are able to find shortest route between their nest and source of food.
  • 6. Shortest Route  Shortest route is found using pheromone trails which ants deposit whenever they travel, as a form of indirect communication
  • 7. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails When ants leave their nest to search for a food source, they randomly rotate around an obstacle
  • 8. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails initially the pheromone deposits will be the same for the right and left directions
  • 9. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails When the ants in the shorter direction find a food source, they carry the food and start returning back, following their pheromone trails, and still depositing more pheromone.
  • 10. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails An ant will most likely choose the shortest path when returning back to the nest with food as this path will have the most deposited pheromone
  • 11. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails For the same reason, new ants that later starts out from the nest to find food will also choose the shortest path.
  • 12. Ant Colony Optimization  Ant foraging – Co-operative search by pheromone trails Over time, this positive feedback (autocatalytic) process prompts all ants to choose the shorter path
  • 13. ACO algorithm  The process starts by generating m random ants (solution).  An ant represents a solution string, with a selected value for each variable.  An ant is evaluated according to an objective function.  Accordingly, pheromone concentration associated with each possible route( variable value) is changed in a way to reinforce good solutions as follows:
  • 16. ACO Pseudo Code Pseudo code for ACO is shown below:
  • 20. ACO Characteristics  Exploit a positive feedback mechanism  Demonstrate a distributed computational architecture  Exploit a global data structure that changes dynamically as each ant transverses the route  Has an element of distributed computation to it involving the population of ants  Involves probabilistic transitions among states or rather between nodes
  • 21. References:  Emad Elbeltagi, Tarek Hegazy, Donald Grierson, Comparison among five evolutionary-based optimized algorithm, 19 January 2005,Advanced Engineering informatics 19 (2005) 43-53  www.google.com  www.sciencedirect.com