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

Weitere ähnliche Inhalte

Was ist angesagt?

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationJoy Dutta
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)gidla vinay
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationOmid Edriss
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony MethodUday Wankar
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationITER
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.N Vinayak
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithmAhmed Fouad Ali
 
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
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithmAhmed Fouad Ali
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligenceEslam Hamed
 

Was ist angesagt? (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 (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony Method
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
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
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.
 
Nature-inspired algorithms
Nature-inspired algorithmsNature-inspired algorithms
Nature-inspired algorithms
 
Ant colony algorithm
Ant colony algorithmAnt colony algorithm
Ant colony algorithm
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
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
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithm
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 

Andere mochten auch

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
 

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

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

Ähnlich wie Ant colony optimization (20)

ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
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...
 

Kürzlich hochgeladen

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 

Kürzlich hochgeladen (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 

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