SlideShare una empresa de Scribd logo
1 de 48
SUBMITTED BY -
JOY DUTTA
ROLL - 91/CSE/101006
BTECH - CSE
CALCUTTA UNIVERSITY
Introduction
 In COMPUTER SCIENCE and OPERATION RESEARCH, the ant
colony optimization algorithm(ACO) is a probabilistic technique
for solving computational problems which can be reduced to
finding good paths through graphs.
 This algorithm is a member of the ant colony algorithms family, in
swarm intelligence methods, and it constitutes some metaheuristic
optimizations.
 There are various algorithms, that are member of the ant colony
optimizations algorithms, aiming to search for an optimal path in
a graph, based on the behavior of ants seeking a path between
their colony and a source of food.
 The original idea has since diversified to solve a wider class of
numerical problems, and as a result, several problems have
emerged, drawing on various aspects of the behavior of ants.
Introduction Cont..
 In the next generation of wireless communication systems, there will
be need of networks that can establish themselves without any
requirement of preexisting infrastructure.
 Mobile Ad-Hoc Networks (MANETS) - Mobile implies that the
interconnecting nodes are not fixed to be remain at one place, rather
they can move from one place to the other. Ad-Hoc implies that the
network does not depend on any pre-existing infrastructure such as
routers.
 One of the most important performance parameter in ad- hoc
networks is minimizing the total transmission energy in the path and
extending the battery life of the nodes.
Introduction Cont…
 There exists a protocol Minimum Transmission Power
Routing (MTPR) which tries to minimize the total
transmission power .
THE WHOLE CONCEPT OF
ANT COLONY OPTIMIZATION
IS TO MINIMIZE THE PATH
AND POWER CONSUMPTION.
Ant Colony Optimization (ACO)
Overview
“Ant Colony Optimization (ACO)
studies artificial systems that take
inspiration from the behavior of real
ant colonies and which are used to
solve discrete optimization problems.”
-Source: ACO website, http://iridia.ulb.ac.be/~mdorigo/ACO/about.html
PRACTICALLY……
Ants go through the food while laying down
pheromone trails
Shortest path is discovered via pheromone trails
 each ant moves at random (first)
 pheromone is deposited on path
 Shorter path, more pheromone rails (positive feedback
sys)
 ants follow the intense pheromone trails
Ant Colony Optimization (AC)
A Practical Scenario
All is well in the world of the ant.
Naturally Observed Ant Behavior
Oh no! An obstacle has blocked our path!
Ant Colony Optimization (ACO)
Naturally Observed Ant Behavior
Where do we go? Everybody, flip a coin.
Naturally Observed Ant Behavior
Shorter path reinforced.
Actual Scenario
Swarm Intelligence
Stigmergy
Autocatalyzation
Ant System
ACTUAL SCENARIO
Almost blind.
Incapable of achieving complex tasks alone.
Rely on the phenomena of swarm intelligence for
survival.
Capable of establishing shortest-route paths from their
colony to feeding sources and back.
Use stigmergic communication via pheromone trails.
ACTUAL SCENARIO !!!
Follow existing pheromone trails with high probability.
What emerges is a form of autocatalytic behavior: the
more ants follow a trail, the more attractive that trail
becomes for being followed.
The process is thus characterized by a positive feedback
loop, where the probability of a discrete path choice
increases with the number of times the same path was
chosen before.
Actual Scenario!!! (cont..)
“Swarm Intelligence”
 Collective system capable of accomplishing difficult
tasks in dynamic and varied environments without any
external guidance or control and with no central
coordination
 Achieving a collective performance which could not
normally be achieved by an individual acting alone
 Constituting a natural model particularly suited to
distributed problem solving
Ant Colony Optimization (ACO)
“Stigmergic”
 Two individuals interact indirectly when one of them
modifies the environment and the other responds to the
new environment at a later time. This is stigmergy.
Real ants use stigmergy. How again?
PHEROMONES!!!
“Autocatalyzation”
Autocatalysis is a positive
feedback loop that drives the
ants to explore promising
aspects of the search space over
less promising areas.
E
D
CH
B
A
(b)
30 ants
30 ants
15 ants
15 ants
15 ants
15 ants
t = 0
d = 0.5
d = 0.5
d = 1
d = 1
E
D
CH
B
A
(a)
E
D
CH
B
A
(c)
30 ants
30 ants
20 ants
20 ants
10 ants
10 ants
t = 1
τ = 30
τ = 30
τ = 15
τ = 15
Initial state:
no ants
Autocatalyzation
This is why ACO algorithms are
called autocatalytic positive
feedback algorithms!
Ant Colony Optimization
ACO for Traveling Salesman Problem
The first ACO algorithm was called the Ant
system and it was aimed to solve the travelling salesman
problem, in which the goal is to find the shortest round-
trip to link a series of cities. At each stage, the ant chooses
to move from one city to another according to some rules:
 It must visit each city exactly once;
 A distant city has less chance of being chosen (the visibility);
 The more intense the pheromone trail laid out on an edge between
two cities, the greater the probability that that edge will be chosen;
 Having completed its journey, the ant deposits more pheromones
on all edges it traversed, if the journey is short;
 After each iteration, trails of pheromones evaporate.
Ant System
 First introduced by Marco Dorigo in 1992
 Progenitor to “Ant Colony System,” later
discussed
 Result of research on computational intelligence
approaches to combinatorial optimization
 Originally applied to Traveling Salesman
Problem
 Applied later to various hard optimization
problems
Traveling Salesman Problem
• Problem is NP-hard
• Classical combinatorial
optimization problem to test.
TSP PROBLEM : Given N cities, and a distance function d between cities,
find a tour that:
1. Goes through every city once and only once
2. Minimizes the total distance.
HOW TO IMPLEMENT IN A PROGRAM
Ants: Simple computer agents
Move ant: Pick next component in the const. solution
Pheromone:
Memory: MK or TabuK
Next move: Use probability to move ant
k
j,i
Ant Systems (AS)
Ant Systems for TSP
Graph (N,E): where N = cities/nodes, E = edges
= the tour cost from city i to city j (edge weight)
Ant move from one city i to the next j with some transition probability.
ijd
A
D
C
B
Algorithm for TSP(AS)
Initialize
Place each ant in a randomly chosen city
Choose NextCity(For Each Ant)
more cities
to visit
For Each Ant
Return to the initial cities
Update pheromone level using the tour cost for each ant
Print Best tour
yes
No
Stopping
criteria
yes
No
Let see with this small example:
Iteration 1
A
E
D
C
B
1
[A]
5
[E]
3
[C]
2
[B]
4
[D]
Iteration 2
A
E
D
C
B
3
[C,B]
5
[E,A]
1
[A,D]
2
[B,C]
4
[D,E]
Iteration 3
A
E
D
C
B
4
[D,E,A]
5
[E,A,B]
3
[C,B,E]
2
[B,C,D]
1
[A,D,C]
Iteration 4
A
E
D
C
B
4
[D,E,A,B]
2
[B,C,D,A]
5
[E,A,B,C]
1
[A,D,C,E]
3
[C,B,E,D]
Iteration 5
A
E
D
C
B
1
[A,D,C,E,B]
3
[C,B,E,D,A]
4
[D,E,A,B,C]
2
[B,C,D,A,E]
5
[E,A,B,C,D]
Iteration 6
A
E
D
C
B
1
[A,D,C,E,B,A]
3
[C,B,E,D,A,C]
4
[D,E,A,B,C,D]
2
[B,C,D,A,E,B]
5
[E,A,B,C,D,E]
2. End of First Run
4. All ants die
5. New ants are born
3. Save Best Tour (Sequence and length)
CALCULATION
1. Path and Pheromone
Evaluation
COMMON EXTENSIONS TO ACO
ALGORITHMS
Here are some of most popular variations of ACO algorithms-
 Elitist Ant System (EAS)
 MMAS
 Asrank
 ACS
 COAC
 ACO WITH FUZZY
 Elitist ant system(EAS)
The global best solution deposits pheromone on every iteration
along with all the other ants.
 Max-Min ant system (MMAS)
Added Maximum and Minimum pheromone amounts [τmax,τmin]
Only global best or iteration best tour deposited pheromone. All edges
are initialized to τmax and reinitialized to τmax when nearing
stagnation.
 Rank-based ant system (ASrank)
All solutions are ranked according to their length. The amount of
pheromone deposited is then weighted for each solution, such that
solutions with shorter paths deposit more pheromone than the
solutions with longer paths.
Extensions(cont..)
Extensions(cont..)
 Ant Colony System (ACS)
It has been presented before.
 Continuous orthogonal ant colony (COAC)
The pheromone deposit mechanism of COAC is to enable ants to
search for solutions collaboratively and effectively. By using an
orthogonal design method, ants in the feasible domain can explore their
chosen regions rapidly and efficiently, with enhanced global search
capability and accuracy.
The orthogonal design method and the adaptive radius
adjustment method can also be extended to other optimization
algorithms for delivering wider advantages in solving practical
problems.
 Ant Colony Optimization with Fuzzy Logic(ACO WITH FUZZY)
This method introduces fuzzy intelligence into ants to accelerate
searching ability.
ACO Applications
 Scheduling Problem
 Job-shop scheduling problem (JSP)
 Open-shop scheduling problem (OSP)
 Resource-constrained project scheduling problem (RCPSP)
 Group-shop scheduling problem (GSP)
 Vehicle routing problem
 Multi-depot vehicle routing problem (MDVRP)
 Period vehicle routing problem (PVRP)
 Split delivery vehicle routing problem (SDVRP)
 Stochastic vehicle routing problem (SVRP)
 Vehicle routing problem with time windows (VRPTW)
Applications (cont.. )
 Assignment problem
 Quadratic assignment problem(QAP)
 Generalized assignment problem (GAP)
 Frequency assignment problem (FAP)
 Redundancy allocation problem
 Set problem
 Set covering problem(SCP)
 Set partition problem (SPP)
 Multiple knapsack problem (MKP)
 Maximum independent set problem (MIS)
Applications(cont..)
Others
 Connection-oriented network routing
 Connectionless network routing
 Data mining
 Discounted cash flows in project scheduling
 Distributed Information Retrieval
 Grid Workflow Scheduling Problem
 Image processing
 Intelligent testing system
 System identification
 Protein Folding
 Power Electronic Circuit Design
Problem name Authors Algorithm name Year
Traveling salesman Dorigo, Maniezzo & Colorni AS 1991
Gamberdella & Dorigo Ant-Q 1995
Dorigo & Gamberdella ACS &ACS 3 opt 1996
Stutzle & Hoos MMAS 1997
Bullnheimer, Hartl & Strauss ASrank 1997
Cordon, et al. BWAS 2000
Quadratic assignment Maniezzo, Colorni & Dorigo AS-QAP 1994
Gamberdella, Taillard & Dorigo HAS-QAP 1997
Stutzle & Hoos MMAS-QAP 1998
Maniezzo ANTS-QAP 1999
Maniezzo & Colorni AS-QAP 1994
Scheduling problems Colorni, Dorigo & Maniezzo AS-JSP 1997
Stutzle AS-SMTTP 1999
Barker et al ACS-SMTTP 1999
den Besten, Stutzle & Dorigo ACS-SMTWTP 2000
Merkle, Middenderf & Schmeck ACO-RCPS 1997
Vehicle routing Bullnheimer, Hartl & Strauss AS-VRP 1999
Gamberdella, Taillard & Agazzi HAS-VRP 1999
ACO Algorithms : An Overview
Problem name Authors Algorithm name Year
Connection-oriented Schoonderwood et al. ABC 1996
Network routing White, Pagurek & Oppacher ASGA 1998
Di Caro & Dorigo AntNet-FS 1998
Bonabeau et al. ABC-smart ants 1998
Connection-less Di Caro & Dorigo AntNet & AntNet-FA 1997
Network routing Subramanian, Druschel & Chen Regular ants 1997
Heusse et al. CAF 1998
van der Put & Rethkrantz ABC-backward 1998
Sequential ordering Gamberdella& Dorigo HAS-SOP 1997
Graph coloring Costa & Hertz ANTCOL 1997
Shortest common super sequence Michel & Middendorf AS_SCS 1998
Frequency assignment Maniezzo & Carbonaro ANTS-FAP 1998
Generalized assignment Ramalhinho Lourenco & Serra MMAS-GAP 1998
Multiple knapsack Leguizamon & Michalewicz AS-MKP 1999
Optical networks routing Navarro Varela & Sinclair ACO-VWP 1999
Redundancy allocation Liang & Smith ACO-RAP 1999
Constraint satisfaction Solnon Ant-P-solver 2000
ACO Algorithms : An Overview cont…
Related methods
•Genetic algorithms (GA) maintain a pool of solutions rather than just one.
The process of finding superior solutions mimics that of evolution, with
solutions being combined or mutated to alter the pool of solutions, with
solutions of inferior quality being discarded.
•Simulated annealing (SA) is a related global optimization technique
which traverses the search space by generating neighboring solutions of
the current solution. A superior neighbor is always accepted. An inferior
neighbor is accepted probabilistically based on the difference in quality and
a temperature parameter. The temperature parameter is modified as the
algorithm progresses to alter the nature of the search.
•Reactive search optimization focuses on combining machine learning
with optimization, by adding an internal feedback loop to self-tune the free
parameters of an algorithm to the characteristics of the problem, of the
instance, and of the local situation around the current solution.
•Tabu search (TS) is similar to simulated annealing in that both
traverse the solution space by testing mutations of an individual
solution. While simulated annealing generates only one mutated
solution, tabu search generates many mutated solutions and
moves to the solution with the lowest fitness of those generated.
To prevent cycling and encourage greater movement through
the solution space, a tabu list is maintained of partial or
complete solutions. It is forbidden to move to a solution that
contains elements of the tabu list, which is updated as the
solution traverses the solution space.
•Stochastic diffusion search (SDS), an agent-based
probabilistic global search and optimization technique best
suited to problems where the objective function can be
decomposed into multiple independent partial-functions.
•etc
RELATED METHODS(cont..)
Advantages
Positive Feedback accounts for rapid discovery of good
solutions
Distributed computation avoids premature convergence
The greedy heuristic helps find acceptable solution in the
early solution in the early stages of the search process.
The collective interaction of a population of agents.
Disadvantages
Slower convergence than other Heuristics
Performed poorly for TSP problems larger than 75 cities.
No centralized processor to guide the AS towards good
solutions
Conclusion
 ACO is a recently proposed metaheuristic approach for
solving hard combinatorial optimization problems(NP
HARD Problems).
 Artificial ants implement a randomized construction
heuristic which makes probabilistic decisions.
 The a cumulated search experience is taken into account by
the adaptation of the pheromone trail.
 ACO Shows great performance with the “ill-structured”
problems like network routing.
 In ACO Local search is extremely important to obtain good
results.
Ant colony optimization

Más contenido relacionado

La actualidad más candente

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Meenakshi Devi
 

La actualidad más candente (20)

Ant colony opitimization numerical example
Ant colony opitimization numerical exampleAnt colony opitimization numerical example
Ant colony opitimization numerical example
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Genetic algorithm ppt
Genetic algorithm pptGenetic algorithm ppt
Genetic algorithm ppt
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
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
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzification
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
Final project
Final projectFinal project
Final project
 
Ant colony Optimization
Ant colony OptimizationAnt colony Optimization
Ant colony Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 

Similar a Ant colony optimization

Similar a Ant colony optimization (20)

Acoseminar
AcoseminarAcoseminar
Acoseminar
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Ant Colony Algorithm
Ant Colony AlgorithmAnt Colony Algorithm
Ant Colony Algorithm
 
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
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
 
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile RobotsChaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
 
acoa
acoaacoa
acoa
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
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
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
Mobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimizationMobile robot path planning using ant colony optimization
Mobile robot path planning using ant colony optimization
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
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
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
ANT ALGORITME.pptx
ANT ALGORITME.pptxANT ALGORITME.pptx
ANT ALGORITME.pptx
 
aco-3a.ppt
aco-3a.pptaco-3a.ppt
aco-3a.ppt
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Ant colony optimization

  • 1. SUBMITTED BY - JOY DUTTA ROLL - 91/CSE/101006 BTECH - CSE CALCUTTA UNIVERSITY
  • 2. Introduction  In COMPUTER SCIENCE and OPERATION RESEARCH, the ant colony optimization algorithm(ACO) is a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs.  This algorithm is a member of the ant colony algorithms family, in swarm intelligence methods, and it constitutes some metaheuristic optimizations.  There are various algorithms, that are member of the ant colony optimizations algorithms, aiming to search for an optimal path in a graph, based on the behavior of ants seeking a path between their colony and a source of food.  The original idea has since diversified to solve a wider class of numerical problems, and as a result, several problems have emerged, drawing on various aspects of the behavior of ants.
  • 3. Introduction Cont..  In the next generation of wireless communication systems, there will be need of networks that can establish themselves without any requirement of preexisting infrastructure.  Mobile Ad-Hoc Networks (MANETS) - Mobile implies that the interconnecting nodes are not fixed to be remain at one place, rather they can move from one place to the other. Ad-Hoc implies that the network does not depend on any pre-existing infrastructure such as routers.  One of the most important performance parameter in ad- hoc networks is minimizing the total transmission energy in the path and extending the battery life of the nodes.
  • 4. Introduction Cont…  There exists a protocol Minimum Transmission Power Routing (MTPR) which tries to minimize the total transmission power . THE WHOLE CONCEPT OF ANT COLONY OPTIMIZATION IS TO MINIMIZE THE PATH AND POWER CONSUMPTION.
  • 5. Ant Colony Optimization (ACO) Overview “Ant Colony Optimization (ACO) studies artificial systems that take inspiration from the behavior of real ant colonies and which are used to solve discrete optimization problems.” -Source: ACO website, http://iridia.ulb.ac.be/~mdorigo/ACO/about.html
  • 6. PRACTICALLY…… Ants go through the food while laying down pheromone trails Shortest path is discovered via pheromone trails  each ant moves at random (first)  pheromone is deposited on path  Shorter path, more pheromone rails (positive feedback sys)  ants follow the intense pheromone trails
  • 7. Ant Colony Optimization (AC) A Practical Scenario All is well in the world of the ant.
  • 8. Naturally Observed Ant Behavior Oh no! An obstacle has blocked our path!
  • 9. Ant Colony Optimization (ACO) Naturally Observed Ant Behavior Where do we go? Everybody, flip a coin.
  • 10. Naturally Observed Ant Behavior Shorter path reinforced.
  • 12. Almost blind. Incapable of achieving complex tasks alone. Rely on the phenomena of swarm intelligence for survival. Capable of establishing shortest-route paths from their colony to feeding sources and back. Use stigmergic communication via pheromone trails. ACTUAL SCENARIO !!!
  • 13. Follow existing pheromone trails with high probability. What emerges is a form of autocatalytic behavior: the more ants follow a trail, the more attractive that trail becomes for being followed. The process is thus characterized by a positive feedback loop, where the probability of a discrete path choice increases with the number of times the same path was chosen before. Actual Scenario!!! (cont..)
  • 14. “Swarm Intelligence”  Collective system capable of accomplishing difficult tasks in dynamic and varied environments without any external guidance or control and with no central coordination  Achieving a collective performance which could not normally be achieved by an individual acting alone  Constituting a natural model particularly suited to distributed problem solving
  • 15.
  • 16. Ant Colony Optimization (ACO) “Stigmergic”  Two individuals interact indirectly when one of them modifies the environment and the other responds to the new environment at a later time. This is stigmergy. Real ants use stigmergy. How again? PHEROMONES!!!
  • 17. “Autocatalyzation” Autocatalysis is a positive feedback loop that drives the ants to explore promising aspects of the search space over less promising areas.
  • 18. E D CH B A (b) 30 ants 30 ants 15 ants 15 ants 15 ants 15 ants t = 0 d = 0.5 d = 0.5 d = 1 d = 1 E D CH B A (a) E D CH B A (c) 30 ants 30 ants 20 ants 20 ants 10 ants 10 ants t = 1 τ = 30 τ = 30 τ = 15 τ = 15 Initial state: no ants
  • 19.
  • 20. Autocatalyzation This is why ACO algorithms are called autocatalytic positive feedback algorithms!
  • 22. ACO for Traveling Salesman Problem The first ACO algorithm was called the Ant system and it was aimed to solve the travelling salesman problem, in which the goal is to find the shortest round- trip to link a series of cities. At each stage, the ant chooses to move from one city to another according to some rules:  It must visit each city exactly once;  A distant city has less chance of being chosen (the visibility);  The more intense the pheromone trail laid out on an edge between two cities, the greater the probability that that edge will be chosen;  Having completed its journey, the ant deposits more pheromones on all edges it traversed, if the journey is short;  After each iteration, trails of pheromones evaporate.
  • 23. Ant System  First introduced by Marco Dorigo in 1992  Progenitor to “Ant Colony System,” later discussed  Result of research on computational intelligence approaches to combinatorial optimization  Originally applied to Traveling Salesman Problem  Applied later to various hard optimization problems
  • 24. Traveling Salesman Problem • Problem is NP-hard • Classical combinatorial optimization problem to test. TSP PROBLEM : Given N cities, and a distance function d between cities, find a tour that: 1. Goes through every city once and only once 2. Minimizes the total distance.
  • 25. HOW TO IMPLEMENT IN A PROGRAM Ants: Simple computer agents Move ant: Pick next component in the const. solution Pheromone: Memory: MK or TabuK Next move: Use probability to move ant k j,i
  • 26. Ant Systems (AS) Ant Systems for TSP Graph (N,E): where N = cities/nodes, E = edges = the tour cost from city i to city j (edge weight) Ant move from one city i to the next j with some transition probability. ijd A D C B
  • 27. Algorithm for TSP(AS) Initialize Place each ant in a randomly chosen city Choose NextCity(For Each Ant) more cities to visit For Each Ant Return to the initial cities Update pheromone level using the tour cost for each ant Print Best tour yes No Stopping criteria yes No
  • 28. Let see with this small example: Iteration 1 A E D C B 1 [A] 5 [E] 3 [C] 2 [B] 4 [D]
  • 34. 2. End of First Run 4. All ants die 5. New ants are born 3. Save Best Tour (Sequence and length) CALCULATION 1. Path and Pheromone Evaluation
  • 35. COMMON EXTENSIONS TO ACO ALGORITHMS Here are some of most popular variations of ACO algorithms-  Elitist Ant System (EAS)  MMAS  Asrank  ACS  COAC  ACO WITH FUZZY
  • 36.  Elitist ant system(EAS) The global best solution deposits pheromone on every iteration along with all the other ants.  Max-Min ant system (MMAS) Added Maximum and Minimum pheromone amounts [τmax,τmin] Only global best or iteration best tour deposited pheromone. All edges are initialized to τmax and reinitialized to τmax when nearing stagnation.  Rank-based ant system (ASrank) All solutions are ranked according to their length. The amount of pheromone deposited is then weighted for each solution, such that solutions with shorter paths deposit more pheromone than the solutions with longer paths. Extensions(cont..)
  • 37. Extensions(cont..)  Ant Colony System (ACS) It has been presented before.  Continuous orthogonal ant colony (COAC) The pheromone deposit mechanism of COAC is to enable ants to search for solutions collaboratively and effectively. By using an orthogonal design method, ants in the feasible domain can explore their chosen regions rapidly and efficiently, with enhanced global search capability and accuracy. The orthogonal design method and the adaptive radius adjustment method can also be extended to other optimization algorithms for delivering wider advantages in solving practical problems.  Ant Colony Optimization with Fuzzy Logic(ACO WITH FUZZY) This method introduces fuzzy intelligence into ants to accelerate searching ability.
  • 38. ACO Applications  Scheduling Problem  Job-shop scheduling problem (JSP)  Open-shop scheduling problem (OSP)  Resource-constrained project scheduling problem (RCPSP)  Group-shop scheduling problem (GSP)  Vehicle routing problem  Multi-depot vehicle routing problem (MDVRP)  Period vehicle routing problem (PVRP)  Split delivery vehicle routing problem (SDVRP)  Stochastic vehicle routing problem (SVRP)  Vehicle routing problem with time windows (VRPTW)
  • 39. Applications (cont.. )  Assignment problem  Quadratic assignment problem(QAP)  Generalized assignment problem (GAP)  Frequency assignment problem (FAP)  Redundancy allocation problem  Set problem  Set covering problem(SCP)  Set partition problem (SPP)  Multiple knapsack problem (MKP)  Maximum independent set problem (MIS)
  • 40. Applications(cont..) Others  Connection-oriented network routing  Connectionless network routing  Data mining  Discounted cash flows in project scheduling  Distributed Information Retrieval  Grid Workflow Scheduling Problem  Image processing  Intelligent testing system  System identification  Protein Folding  Power Electronic Circuit Design
  • 41. Problem name Authors Algorithm name Year Traveling salesman Dorigo, Maniezzo & Colorni AS 1991 Gamberdella & Dorigo Ant-Q 1995 Dorigo & Gamberdella ACS &ACS 3 opt 1996 Stutzle & Hoos MMAS 1997 Bullnheimer, Hartl & Strauss ASrank 1997 Cordon, et al. BWAS 2000 Quadratic assignment Maniezzo, Colorni & Dorigo AS-QAP 1994 Gamberdella, Taillard & Dorigo HAS-QAP 1997 Stutzle & Hoos MMAS-QAP 1998 Maniezzo ANTS-QAP 1999 Maniezzo & Colorni AS-QAP 1994 Scheduling problems Colorni, Dorigo & Maniezzo AS-JSP 1997 Stutzle AS-SMTTP 1999 Barker et al ACS-SMTTP 1999 den Besten, Stutzle & Dorigo ACS-SMTWTP 2000 Merkle, Middenderf & Schmeck ACO-RCPS 1997 Vehicle routing Bullnheimer, Hartl & Strauss AS-VRP 1999 Gamberdella, Taillard & Agazzi HAS-VRP 1999 ACO Algorithms : An Overview
  • 42. Problem name Authors Algorithm name Year Connection-oriented Schoonderwood et al. ABC 1996 Network routing White, Pagurek & Oppacher ASGA 1998 Di Caro & Dorigo AntNet-FS 1998 Bonabeau et al. ABC-smart ants 1998 Connection-less Di Caro & Dorigo AntNet & AntNet-FA 1997 Network routing Subramanian, Druschel & Chen Regular ants 1997 Heusse et al. CAF 1998 van der Put & Rethkrantz ABC-backward 1998 Sequential ordering Gamberdella& Dorigo HAS-SOP 1997 Graph coloring Costa & Hertz ANTCOL 1997 Shortest common super sequence Michel & Middendorf AS_SCS 1998 Frequency assignment Maniezzo & Carbonaro ANTS-FAP 1998 Generalized assignment Ramalhinho Lourenco & Serra MMAS-GAP 1998 Multiple knapsack Leguizamon & Michalewicz AS-MKP 1999 Optical networks routing Navarro Varela & Sinclair ACO-VWP 1999 Redundancy allocation Liang & Smith ACO-RAP 1999 Constraint satisfaction Solnon Ant-P-solver 2000 ACO Algorithms : An Overview cont…
  • 43. Related methods •Genetic algorithms (GA) maintain a pool of solutions rather than just one. The process of finding superior solutions mimics that of evolution, with solutions being combined or mutated to alter the pool of solutions, with solutions of inferior quality being discarded. •Simulated annealing (SA) is a related global optimization technique which traverses the search space by generating neighboring solutions of the current solution. A superior neighbor is always accepted. An inferior neighbor is accepted probabilistically based on the difference in quality and a temperature parameter. The temperature parameter is modified as the algorithm progresses to alter the nature of the search. •Reactive search optimization focuses on combining machine learning with optimization, by adding an internal feedback loop to self-tune the free parameters of an algorithm to the characteristics of the problem, of the instance, and of the local situation around the current solution.
  • 44. •Tabu search (TS) is similar to simulated annealing in that both traverse the solution space by testing mutations of an individual solution. While simulated annealing generates only one mutated solution, tabu search generates many mutated solutions and moves to the solution with the lowest fitness of those generated. To prevent cycling and encourage greater movement through the solution space, a tabu list is maintained of partial or complete solutions. It is forbidden to move to a solution that contains elements of the tabu list, which is updated as the solution traverses the solution space. •Stochastic diffusion search (SDS), an agent-based probabilistic global search and optimization technique best suited to problems where the objective function can be decomposed into multiple independent partial-functions. •etc RELATED METHODS(cont..)
  • 45. Advantages Positive Feedback accounts for rapid discovery of good solutions Distributed computation avoids premature convergence The greedy heuristic helps find acceptable solution in the early solution in the early stages of the search process. The collective interaction of a population of agents.
  • 46. Disadvantages Slower convergence than other Heuristics Performed poorly for TSP problems larger than 75 cities. No centralized processor to guide the AS towards good solutions
  • 47. Conclusion  ACO is a recently proposed metaheuristic approach for solving hard combinatorial optimization problems(NP HARD Problems).  Artificial ants implement a randomized construction heuristic which makes probabilistic decisions.  The a cumulated search experience is taken into account by the adaptation of the pheromone trail.  ACO Shows great performance with the “ill-structured” problems like network routing.  In ACO Local search is extremely important to obtain good results.

Notas del editor

  1. In applied mathematics and theoretical computer science, combinatorial optimization is a topic that consists of finding an optimal object from a finite set of objects. In many such problems, exhaustive search is not feasible. It operates on the domain of those optimization problems, in which the set of feasible solutions is discrete or can be reduced to discrete, and in which the goal is to find the best solution. Some common problems involving combinatorial optimization are the traveling salesman problem ("TSP") and the minimum spanning tree problem.Combinatorial optimization is a subset of mathematical optimization that is related to operations research, algorithm theory, andcomputational complexity theory. It has important applications in several fields, including artificial intelligence, machine learning,mathematics, auction theory, and software engineering.
  2. Metaheuristic designates a computational method that optimizes a problem by iteratively trying to improve a candidate solution with regard to a given measure of quality. Metaheuristics make few or no assumptions about the problem being optimized and can search very large spaces of candidate solutions.