SlideShare a Scribd company logo
2
Most read
3
Most read
12
Most read
Ant Colony Optimization (ACO)
DR. AHMED FOUAD ALI
FACULTY OF COMPUTERS AND INFORMATICS
SUEZ CANAL UNIVERSITY
Outline
1. Ant colony optimization (ACO)(Main idea)
2. History of ACO
3. ACO parameters definitions
5. ACO Algorithm
6. Advantage / disadvantage
7. References
4. Ant colony optimization (ACO)
Ant colony optimization (Main Idea)
In a series of experiments on a colony of ants with a
choice between two unequal length paths leading to
a source of food, biologists have observed that ants
tended to use the shortest route.
A model explaining this behavior is as follows:
An ant runs more or less at random around the
colony.
if it discovers a food source, it returns more or less
directly to the nest, leaving in its path a trail of
pheromone.
Ant colony optimization (Main Idea)
These pheromones are attractive, nearby ants will
be inclined to follow, more or less directly, the
track.
Returning to the colony, these ants will strengthen
the route.
If two routes are possible to reach the same food
source, the shorter one will be, in the same time,
traveled by more ants than the long route will.
The short route will be increasingly enhanced,
and the
long route will eventually disappear, pheromones
are volatile.
History of ACO
First proposed by M. Dorigo, 1992.
Heuristic optimization method inspired by
biological systems.
Population based algorithm for solving difficult
combinatorial optimization problems.
Traveling Salesman, vehicle routing, sequential
ordering, graph coloring, routing in communications
networks
Ant behavior is a kind of stochastic distributed
optimization behavior
ACO parameters definitions
Stigmergy
a term coined by French biologist Pierre-Paul
Grasse, is interaction through the environment.
Two individuals interact indirectly when one
of them modifies the environment and the
other responds to the new environment at a
later time.
ACO parameters definitions (Cont.)
Pheromone Trails
Species lay pheromone trails traveling from
nest, to nest or possibly in both directions.
Pheromones evaporate.
Pheromones accumulate with multiple ants
using path.
Ant colony optimization TSP
1. Initializing the pheromone amounts on each route to a
positive, small random value.
2. A simple transition rule for choosing the next city to visit, is
where Ti j(t) is the pheromone intensity on edge (i, j) between cities i and
j, the k-th ant is denoted by k, α is a constant, and Ci,k is the set of cities
ant k still have to
visit from city i.
Ant colony optimization TSP (Cont.)
The transition rule above can be improved by including
local information on the desirability of choosing city j when
currently in city i, i.e.the next city to visit, is
where α and ß are adjustable parameters that control the weight of
pheromone intensity
with dij the Euclidean distance between cities i and j
At the end of each route, Tk, constructed by ant k, the pheromone
intensity Tij on the edges of that route is updated, using
Where
Ant colony optimization TSP (Cont.)
The parameter Q has a value of the same order of the length of the optimal
route, Lk(t) is the length of the route traveled by ant k, and m is the
total number of ants.
The constant p ϵ [0,1], is referred to as the forgetting factor, which
models the evaporation over time of pheromone deposits.
Ant colony optimization TSP (Cont.)
ACO Algorithm for TSP.
1. Initialize the pheromone deposits on each edge (i, j) between cities i and j
to small positive random values, i.e. Tij(0) ~ U(0, max).
2. Place all ants k ϵ 1,…, m on the originating city.
3. Let T+ be the shortest trip, and L+ the length of that trip.
4. For t = I to tmax do the following:
For each ant, build the trip Tk (t) by choosing the next city n —
1 times (n is the number of cities), with probability Фij,k(t).
Compute the length of the route, Lk(t), of each ant.
If an improved route is found, update T+ and L+.
Update the pheromone deposits on each edge.
5. Output the shortest route T+.
Advantage / disadvantage
Advantage:
•Retains memory of entire colony instead of previous
generation only.
•Less affected by poor initial solutions (due to
combination of random path selection and colony
memory).
•Has been applied to a wide variety of applications.
Advantage / disadvantage (Cont.)
Disadvantage:
•Theoretical analysis is difficult:
Due to sequences of random decisions (not
independent).
Probability distribution changes by iteration.
•Convergence is guaranteed, but time to convergence
uncertain.
•Coding is somewhat complicated, not straightforward
Pheromone “trail” additions/deletions, global updates and
local updates.
References
•Computational Intelligence An Introduction
Andries P. Engelbrecht, University of Pretoria South Africa
•Some slides adapted from a presentation
“Ant Colony Optimization. A metaheuristic approach to hard network optimization
problems”.
Particle Swarm Optimization
http://www.particleswarm.info/
http://www.swarmintelligence.org

More Related Content

PDF
Centralized shared memory architectures
Gokuldhev mony
 
PPTX
Task migration in os
uos lahore pakistan
 
PPTX
Flynn's classification
Hamidul Islam
 
PPTX
A simple approach of lexical analyzers
Archana Gopinath
 
PPT
Sequential consistency model
Bharathi Lakshmi Pon
 
PDF
Page reclaim
siburu
 
PPTX
Heterogeneous computing
Rashid Ansari
 
PPTX
Virtual memory management in Operating System
Rashmi Bhat
 
Centralized shared memory architectures
Gokuldhev mony
 
Task migration in os
uos lahore pakistan
 
Flynn's classification
Hamidul Islam
 
A simple approach of lexical analyzers
Archana Gopinath
 
Sequential consistency model
Bharathi Lakshmi Pon
 
Page reclaim
siburu
 
Heterogeneous computing
Rashid Ansari
 
Virtual memory management in Operating System
Rashmi Bhat
 

What's hot (20)

PPTX
Linux Memory Management with CMA (Contiguous Memory Allocator)
Pankaj Suryawanshi
 
PPT
File models and file accessing models
ishmecse13
 
DOCX
CAR PARKING SYSTEM USING VISUAL STUDIO C++ (OPERATING SYSTEM MINI PROJECT )
Mauryasuraj98
 
PDF
Unit 5 Advanced Computer Architecture
Balaji Vignesh
 
PPTX
THREADS of Operating System by Noman Zahid
noman zahid
 
PPTX
Multiprocessor architecture
Arpan Baishya
 
PPTX
General pipeline concepts
Prasenjit Dey
 
PPTX
memory
monica kumari
 
DOCX
AI Lab Manual.docx
KPRevathiAsstprofITD
 
PPTX
8 QUEENS PROBLEM.pptx
sunidhi740916
 
PPTX
Linux Memory Management
Suvendu Kumar Dash
 
PPTX
Superscalar Architecture_AIUB
Nusrat Mary
 
PPTX
Register Organisation of 8086 Microprocessor
Nikhil Kumar
 
PPTX
Real time operating systems (rtos) concepts 8
Abu Bakr Ramadan
 
PDF
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
vtunotesbysree
 
PDF
Linux Memory Management
Anil Kumar Pugalia
 
PPTX
Multithreading models.ppt
Luis Goldster
 
PPTX
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
PPTX
Flynn's Classification .pptx
Nayan Gupta
 
PPTX
Parallel computing
virend111
 
Linux Memory Management with CMA (Contiguous Memory Allocator)
Pankaj Suryawanshi
 
File models and file accessing models
ishmecse13
 
CAR PARKING SYSTEM USING VISUAL STUDIO C++ (OPERATING SYSTEM MINI PROJECT )
Mauryasuraj98
 
Unit 5 Advanced Computer Architecture
Balaji Vignesh
 
THREADS of Operating System by Noman Zahid
noman zahid
 
Multiprocessor architecture
Arpan Baishya
 
General pipeline concepts
Prasenjit Dey
 
AI Lab Manual.docx
KPRevathiAsstprofITD
 
8 QUEENS PROBLEM.pptx
sunidhi740916
 
Linux Memory Management
Suvendu Kumar Dash
 
Superscalar Architecture_AIUB
Nusrat Mary
 
Register Organisation of 8086 Microprocessor
Nikhil Kumar
 
Real time operating systems (rtos) concepts 8
Abu Bakr Ramadan
 
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
vtunotesbysree
 
Linux Memory Management
Anil Kumar Pugalia
 
Multithreading models.ppt
Luis Goldster
 
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
Flynn's Classification .pptx
Nayan Gupta
 
Parallel computing
virend111
 
Ad

Similar to Ant Colony Optimization(ACO) (Swarm intelligence)pptx (20)

PPT
An overview of antcolonyoptimization.ppt
PriyadharshiniG41
 
PPT
Ant colony optimization
vk1dadhich
 
PPTX
Swapnil Shahade
Swapnil Shahade
 
PPTX
ant colony algorithm
bharatsharma88
 
PDF
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
PPTX
Ant colony optimization
Joy Dutta
 
PPT
53564379-Ant-Colony-Optimization.ppt
AhmedSalimJAlJawadi
 
PPT
Ant Colony Optimization algorithms in ADSA
ALIZAIB KHAN
 
PDF
Ant colony optimization
UnnitaDas
 
PPT
Ant Colony Optimization - ACO
Mohamed Talaat
 
PPTX
Ant Colony Optimization (ACO)
Mahmoud El-tayeb
 
PPT
Ant Colony Optimization presentation
Partha Das
 
PDF
Ant colony optimization
Medhini Narasimhan
 
PPT
Ant colony optimization
Meenakshi Devi
 
PPTX
Ant colony optimization (aco)
gidla vinay
 
PDF
Ant Colony Optimization
Pratik Poddar
 
PPTX
Ant colony optimization
Suman Chatterjee
 
PDF
Ant colony optimization based routing algorithm in various wireless sensor ne...
Editor Jacotech
 
PDF
stuetzle.pdf
ahmedsalim244821
 
PPTX
Classification with ant colony optimization
kamalikanath89
 
An overview of antcolonyoptimization.ppt
PriyadharshiniG41
 
Ant colony optimization
vk1dadhich
 
Swapnil Shahade
Swapnil Shahade
 
ant colony algorithm
bharatsharma88
 
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
Ant colony optimization
Joy Dutta
 
53564379-Ant-Colony-Optimization.ppt
AhmedSalimJAlJawadi
 
Ant Colony Optimization algorithms in ADSA
ALIZAIB KHAN
 
Ant colony optimization
UnnitaDas
 
Ant Colony Optimization - ACO
Mohamed Talaat
 
Ant Colony Optimization (ACO)
Mahmoud El-tayeb
 
Ant Colony Optimization presentation
Partha Das
 
Ant colony optimization
Medhini Narasimhan
 
Ant colony optimization
Meenakshi Devi
 
Ant colony optimization (aco)
gidla vinay
 
Ant Colony Optimization
Pratik Poddar
 
Ant colony optimization
Suman Chatterjee
 
Ant colony optimization based routing algorithm in various wireless sensor ne...
Editor Jacotech
 
stuetzle.pdf
ahmedsalim244821
 
Classification with ant colony optimization
kamalikanath89
 
Ad

More from Ahmed Fouad Ali (20)

PPTX
Zebra Optimization Algorithm (ZOA)).pptx
Ahmed Fouad Ali
 
PPTX
Variable neighborhood search (Meta-heuristics).pptx
Ahmed Fouad Ali
 
PPTX
Tabu search algorithm (Meta-heuristics).pptx
Ahmed Fouad Ali
 
PPTX
Simulated Annealing (Meta-heuristics).pptx
Ahmed Fouad Ali
 
PPTX
Social Spider optimization (SSO ).pptx
Ahmed Fouad Ali
 
PPTX
Partical swarm optimization (PSO).pptx
Ahmed Fouad Ali
 
PPTX
Introduction to Latex symbols and commands
Ahmed Fouad Ali
 
PPTX
Group Search Optimizer (GSO) (Population base algorithm)
Ahmed Fouad Ali
 
PPTX
Grey Wolf Optimizer (GWO) (Swarm Intelligence)
Ahmed Fouad Ali
 
PPTX
Gravitational Search Algorithm(GSA).pptx
Ahmed Fouad Ali
 
PPTX
Flower pollination algorithm (Population based algorithm)
Ahmed Fouad Ali
 
PPTX
Cuckoo Search Algorithm (CSA) (Swarm Intelligence)
Ahmed Fouad Ali
 
PPTX
Backtracking Search Optimization Algorithm (BSA)
Ahmed Fouad Ali
 
PPTX
Artificial Fish Swarm Algorithm (Swarm Intelligence)
Ahmed Fouad Ali
 
PPTX
Artificial Bee Colony (ABC) (Swarm Intelligence)
Ahmed Fouad Ali
 
PPTX
Reptile search algorithm (RSA) (Swarm intelligence)
Ahmed Fouad Ali
 
PPTX
Manta Ray Optimization.pptx
Ahmed Fouad Ali
 
PPTX
Harris hawks optimization
Ahmed Fouad Ali
 
PPTX
Sunflower optimization algorithm
Ahmed Fouad Ali
 
PPTX
Crow search algorithm
Ahmed Fouad Ali
 
Zebra Optimization Algorithm (ZOA)).pptx
Ahmed Fouad Ali
 
Variable neighborhood search (Meta-heuristics).pptx
Ahmed Fouad Ali
 
Tabu search algorithm (Meta-heuristics).pptx
Ahmed Fouad Ali
 
Simulated Annealing (Meta-heuristics).pptx
Ahmed Fouad Ali
 
Social Spider optimization (SSO ).pptx
Ahmed Fouad Ali
 
Partical swarm optimization (PSO).pptx
Ahmed Fouad Ali
 
Introduction to Latex symbols and commands
Ahmed Fouad Ali
 
Group Search Optimizer (GSO) (Population base algorithm)
Ahmed Fouad Ali
 
Grey Wolf Optimizer (GWO) (Swarm Intelligence)
Ahmed Fouad Ali
 
Gravitational Search Algorithm(GSA).pptx
Ahmed Fouad Ali
 
Flower pollination algorithm (Population based algorithm)
Ahmed Fouad Ali
 
Cuckoo Search Algorithm (CSA) (Swarm Intelligence)
Ahmed Fouad Ali
 
Backtracking Search Optimization Algorithm (BSA)
Ahmed Fouad Ali
 
Artificial Fish Swarm Algorithm (Swarm Intelligence)
Ahmed Fouad Ali
 
Artificial Bee Colony (ABC) (Swarm Intelligence)
Ahmed Fouad Ali
 
Reptile search algorithm (RSA) (Swarm intelligence)
Ahmed Fouad Ali
 
Manta Ray Optimization.pptx
Ahmed Fouad Ali
 
Harris hawks optimization
Ahmed Fouad Ali
 
Sunflower optimization algorithm
Ahmed Fouad Ali
 
Crow search algorithm
Ahmed Fouad Ali
 

Recently uploaded (20)

PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PDF
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
Arihant Class 10 All in One Maths full pdf
sajal kumar
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 

Ant Colony Optimization(ACO) (Swarm intelligence)pptx

  • 1. Ant Colony Optimization (ACO) DR. AHMED FOUAD ALI FACULTY OF COMPUTERS AND INFORMATICS SUEZ CANAL UNIVERSITY
  • 2. Outline 1. Ant colony optimization (ACO)(Main idea) 2. History of ACO 3. ACO parameters definitions 5. ACO Algorithm 6. Advantage / disadvantage 7. References 4. Ant colony optimization (ACO)
  • 3. Ant colony optimization (Main Idea) In a series of experiments on a colony of ants with a choice between two unequal length paths leading to a source of food, biologists have observed that ants tended to use the shortest route. A model explaining this behavior is as follows: An ant runs more or less at random around the colony. if it discovers a food source, it returns more or less directly to the nest, leaving in its path a trail of pheromone.
  • 4. Ant colony optimization (Main Idea) These pheromones are attractive, nearby ants will be inclined to follow, more or less directly, the track. Returning to the colony, these ants will strengthen the route. If two routes are possible to reach the same food source, the shorter one will be, in the same time, traveled by more ants than the long route will. The short route will be increasingly enhanced, and the long route will eventually disappear, pheromones are volatile.
  • 5. History of ACO First proposed by M. Dorigo, 1992. Heuristic optimization method inspired by biological systems. Population based algorithm for solving difficult combinatorial optimization problems. Traveling Salesman, vehicle routing, sequential ordering, graph coloring, routing in communications networks Ant behavior is a kind of stochastic distributed optimization behavior
  • 6. ACO parameters definitions Stigmergy a term coined by French biologist Pierre-Paul Grasse, is interaction through the environment. Two individuals interact indirectly when one of them modifies the environment and the other responds to the new environment at a later time.
  • 7. ACO parameters definitions (Cont.) Pheromone Trails Species lay pheromone trails traveling from nest, to nest or possibly in both directions. Pheromones evaporate. Pheromones accumulate with multiple ants using path.
  • 8. Ant colony optimization TSP 1. Initializing the pheromone amounts on each route to a positive, small random value. 2. A simple transition rule for choosing the next city to visit, is where Ti j(t) is the pheromone intensity on edge (i, j) between cities i and j, the k-th ant is denoted by k, α is a constant, and Ci,k is the set of cities ant k still have to visit from city i.
  • 9. Ant colony optimization TSP (Cont.) The transition rule above can be improved by including local information on the desirability of choosing city j when currently in city i, i.e.the next city to visit, is where α and ß are adjustable parameters that control the weight of pheromone intensity
  • 10. with dij the Euclidean distance between cities i and j At the end of each route, Tk, constructed by ant k, the pheromone intensity Tij on the edges of that route is updated, using Where Ant colony optimization TSP (Cont.)
  • 11. The parameter Q has a value of the same order of the length of the optimal route, Lk(t) is the length of the route traveled by ant k, and m is the total number of ants. The constant p ϵ [0,1], is referred to as the forgetting factor, which models the evaporation over time of pheromone deposits. Ant colony optimization TSP (Cont.)
  • 12. ACO Algorithm for TSP. 1. Initialize the pheromone deposits on each edge (i, j) between cities i and j to small positive random values, i.e. Tij(0) ~ U(0, max). 2. Place all ants k ϵ 1,…, m on the originating city. 3. Let T+ be the shortest trip, and L+ the length of that trip. 4. For t = I to tmax do the following: For each ant, build the trip Tk (t) by choosing the next city n — 1 times (n is the number of cities), with probability Фij,k(t). Compute the length of the route, Lk(t), of each ant. If an improved route is found, update T+ and L+. Update the pheromone deposits on each edge. 5. Output the shortest route T+.
  • 13. Advantage / disadvantage Advantage: •Retains memory of entire colony instead of previous generation only. •Less affected by poor initial solutions (due to combination of random path selection and colony memory). •Has been applied to a wide variety of applications.
  • 14. Advantage / disadvantage (Cont.) Disadvantage: •Theoretical analysis is difficult: Due to sequences of random decisions (not independent). Probability distribution changes by iteration. •Convergence is guaranteed, but time to convergence uncertain. •Coding is somewhat complicated, not straightforward Pheromone “trail” additions/deletions, global updates and local updates.
  • 15. References •Computational Intelligence An Introduction Andries P. Engelbrecht, University of Pretoria South Africa •Some slides adapted from a presentation “Ant Colony Optimization. A metaheuristic approach to hard network optimization problems”. Particle Swarm Optimization http://www.particleswarm.info/ http://www.swarmintelligence.org