SlideShare a Scribd company logo
1 of 48
Download to read offline
Ant Colony OptimizationAn
Introduction.
Thomas StuĢˆtzle
stuetzle@informatik.tu-darmstadt.de
http://www.intellektik.informatik.tu-darmstadt.de/Ėœtom.
Technische UniversitaĢˆt Darmstadt
Fachbereich Informatik
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.1
What is Ant Colony Optimization?
Ant Colony Optimization (ACO) is a
population-based, general search technique for
the solution of difficult combinatorial problems
which is inspired by the pheromone trail laying
behavior of real ant colonies.
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.2
Outline of the talk
Biological Inspiration
ACO algorithms
ACO applications
ACO metaheuristic
ACO theory
Conclusions
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.3
Biological Inspiration
Pheromone trail following behavior
in many ant species the visual perceptive faculty is only
very rudimentarily developed
most communication among individuals is based on
chemicals called pheromone
a particular type in some ant species is trail pheromone,
used for marking and following paths
collective trail laying / trail following behavior is the inspiring
source of Ant Colony Optimization
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.4
Double bridge experiments Deneubourg et al.
laboratory colonies of Iridomyrmex humilis
ants deposit pheromone while walking from food
sources to nest and vice versa
ants tend to choose, in probability, paths marked by
strong pheromone concentrations
Nest Food
600
15 cm
Nest Food
1 2
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.5
Experimental results
equal length bridges: convergence to a single path
0
5 0
100
0-20 20-40 40-60 60-80 80-100
% of traffic on the short branch
%
of
experiments
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.6
Experimental results
equal length bridges: convergence to a single path
different length paths: convergence to short path
0
5 0
100
0-20 20-40 40-60 60-80 80-100
% of traffic on the short branch
%
of
experiments
0
5 0
100
0-20 20-40 40-60 60-80 80-100
% of traffic on the short branch
%
of
experiments
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.6
Stochastic model
a stochastic model was derived from the
experiments and verified in simulations
functional form of transition probability






























: probability of choosing branch

when being at
decision point





: corresponding pheromone concentration
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.7
Towards artificial ants
real ant colonies are solving shortest path problems
Ant Colony Optimization takes elements from real ant
behavior to solve more complex problems than real ants
In ACO, artificial ants are stochastic solution construction
procedures that probabilistically build solutions exploiting
(artificial) pheromone trails which change dynamically at
run time to reflect the agentsā€™ acquired search experience
heuristic information on the problem instance being
solved
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.8
Travelling Salesman Problem
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.9
Stochastic solution construction
i
j
k
g
Ļ„ ij Ī·ij
?
,
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.10
Stochastic solution construction
use memory to remember partial tours
being at a city

choose next city probabilistically
among feasible neighbors
probabilistic choice depends on pheromone trails


and heuristic information









ā€œusualā€ action choice rule at node



























if



Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.11
Pheromone update
use positive feedback to reinforce components of
good solutions
better solutions give more feedback
use pheromone evaporation to avoid unlimited
increase of pheromone trails and allow forgetting of
bad choices
pheromone evaporation



Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.12
Pheromone update (2)
Example of pheromone update































if arc



is used by ant

on its tour


: Tour length of ant


: Number of ants
The resulting algorithm is called Ant System
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.13
Ant System
Ant System is the first ACO algorithm proposed in
1991 by Dorigo et al.
encouraging initial results on TSP but inferior to
state-of-the-art
Role of Ant System
ā€œproof of conceptā€
stimulation of further research on algorithmic
variants and new applications
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.14
Ant System: The algorithm
procedure Ant System for TSP
Initialize pheromones
while (termination condition not met) do
for


to



do
for



to

do
ApplyProbabilisticActionChoiceRule


end
end
GlobalPheromoneTrailUpdate
end
end Ant System for TSP
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.15
ACO Algorithms: Overview
ACO algorithm Authors Year TSP
Ant System Dorigo, Maniezzo  Colorni 1991 yes
Elitist AS Dorigo 1992 yes
Ant-Q Gambardella  Dorigo 1995 yes
Ant Colony System Dorigo  Gambardella 1996 yes
AS StĆ¼tzle  Hoos 1996 yes
Rank-based AS Bullnheimer, Hartl  Strauss 1997 yes
ANTS Maniezzo 1998 no
Best-Worst AS CordĆ³n, et al. 2000 yes
Hyper-cube ACO Blum, Roli, Dorigo 2001 no
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.16
Elitist Ant System Dorigo, 1992
strong additional reinforcement of best found solution


(best-so-far solution)
pheromone update rule becomes










































is defined analogous to





Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.17
Ant Colony System (ACS) Gambardella, Dorigo 1996, 1997
pseudo-random proportional action choice rule:
with probability


an ant

located at city

chooses successor city with maximal








(exploitation)
with probability



an ant

chooses the
successor city according to action choice rule
used in Ant System (biased exploration)
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.18
Ant Colony System (2)
global pheromone update rule
only the best-so-far solution

deposits
pheromone after each iteration























where











.
pheromone update only affects edges contained
in

!
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.19
Ant Colony System (3)
local pheromone update rule
ants ā€œeat awayā€ pheromone on the edges just
crossed









is some small constant value
increases exploration by reducing the
desirability of frequently used edges
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.20
ā€“ Ant System StĆ¼tzle, Hoos 1996-2001
extension of Ant System with stronger exploitation
of best solutions and additional mechanism to avoid
search stagnation
only the iteration-best or best-so-far ant deposit
pheromone















best


Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.21
ā€“ Ant System (2)
additional limits on the feasible pheromone trails
for all





we have: min





max
counteracts stagnation of search through
aggressive pheromone update
heuristics for determining min and max
pheromone values are initialized to max
stronger exploration at the start of the algorithm
pheromone trail re-initialization to increase
exploration
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.22
Comparison of ACO algorithms
all algorithms construct



tours for symmetric TSPs,




tours for asymmetric TSPs
only solution construction
Instance opt


AS ACS


e AS
eil51.tsp 426 427.6 428.1 428.3 437.3
kroA100.tsp 21282 21320.3 21420.0 21522.83 22471.4
d198.tsp 15780 15972.5 16054.0 16205.0 16705.6
lin318.tsp 42029 42220.2 42570.0 43422.8 45535.2
ry48p.atsp 14422 14553.2 14565.4 14685.2 15296.4
ft70.atsp 38673 39040.2 39099.0 39261.8 39596.3
kro124p.atsp 36230 36773.5 36857.0 37510.2 38733.1
ftv170.atsp 2755 2828.8 2826.5 2952.4 3154.5
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.23
Comparison of ACO algorithms
42000
44000
46000
48000
50000
52000
54000
1 10 100 1000
Tour
length
Time in seconds
MMAS
ACS
AS
EAS
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.24
Combining ACO with local search
current wisdom suggests that good strategy for attacking
combinatorial problems is a coupling of a constructive
heuristic and a local search
problem: finding a good coupling
ACO plus local search seems to be such a good coupling as
experimental results suggest
Advantages
local search fine-tunes constructed solutions
ACO algorithm alleviates initialization problem of local
search
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.25
Experimental results
much improved performance; e.g. ā€“
Ant System+3-opt:
instances with up to 500 cities:
optimal found within few seconds/minutes
for large instances (tested up to 3038 cities)
solutions within 0.25% of optimal can be found
in reasonable time ( 

hour)
performance is close to state-of-the-art
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.26
Experimental results
0
0.2
0.4
0.6
0.8
1
1 10 100 1000
probability
of
finding
optimal
solution
CPU time
ILS
MMAS
RGA
GLS
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
10 100 1000
probability
of
finding
optimal
solution
CPU time
ILS
MMAS
RGA
GLS
0
0.2
0.4
0.6
0.8
1
10 100 1000 10000
probability
of
finding
optimal
solution
CPU time
ILS
MMAS
RGA
GLS
0
0.2
0.4
0.6
0.8
1
10 100 1000 10000
probability
of
finding
optimal
solution
CPU time
ILS
MMAS
RGA
GLS
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.27
Observations
common features among extensions
strong exploitation of best found solutions
the most efficient extensions use local search
differences concern essential aspects of the search
control
best performing variants add explicit diversification
features
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.28
ACO applications: QAP
Design a keyboard layout!
Goal:
find a keyboard layout that
minimizes the average writing
time!
Distance: time for pressing
two keys consecutively
Flow: frequency of a letter
given another letter
Objective function: average
writing time















is the letter assigned to the key

.
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.29
AS for the QAP
Two decisions have to be made:
which letter (item) is to be chosen next?
to which key (location) is this letter assigned?
In ā€“ Ant System:
items are chosen randomly


gives desirability of assigning item

to location




















Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.30
Experimental results ā€“ 1
Problem
instance
Ro-TS GH HAS-QAP


AS-
QAP



AS-
QAP






random problems with uniformly distributed matrix entries (i)
tai40a 0.990 0.884 1.989 0.794 1.509
tai50a 1.125 1.049 2.800 1.060 1.795
tai60a 1.203 1.159 3.070 1.137 1.882
tai80a 0.900 0.796 2.689 0.836 1.402
random flows on grids (ii)
nug30 0.013 0.007 0.098 0.013 0.039
sko49 0.076 0.040 0.141 0.068 0.115
sko56 0.088 0.060 0.101 0.075 0.098
sko64 0.071 0.092 0.129 0.071 0.099
sko72 0.146 0.143 0.277 0.090 0.172
sko81 0.136 0.136 0.144 0.062 0.124
sko90 0.128 0.196 0.231 0.114 0.140
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.31
Results ā€“ 2
Problem in-
stance
Ro-TS GH HAS-QAP


AS-
QAP



AS-
QAP






real-life instances (iii)
bur26a-h 0.002 0.043 0.0 0.006 0.0
kra30a 0.268 0.134 0.630 0.134 0.157
kra30b 0.023 0.054 0.071 0.044 0.066
ste36a 0.155 n.a. n.a. 0.061 0.126
ste36b 0.081 n.a. n.a. 0.0 0.0
randomly generated real-life like instances (iv)
tai40b 0.531 0.211 0.0 0.402 0.0
tai50b 0.342 0.214 0.192 0.172 0.009
tai60b 0.417 0.291 0.048 0.005 0.005
tai80b 1.031 0.829 0.667 0.591 0.266
tai100b 0.512 n.a. n.a. 0.230 0.114
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.32
ACO for static problems
procedure Ant Colony Optimization
Initialize parameters, pheromone trails
while (termination condition not met) do
ConstructSolutions
ApplyLocalSearch %optional
GlobalUpdateTrails
end
end Ant Colony Optimization
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.33
ACO applications: routing
goal: build routing tables to direct data traffic optimizing
some measure of network performance
a routing table entry


gives for node

and destination
node

of a data packet the next node

to move to
routing is difficult because routing costs are dynamic
adaptive routing is difficult because changes in control
policy result in changes in the performance measures
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.34
ACO algorithm: AntNet Di Caro, Dorigo, 1997-1999
ants are launched at regular intervals from each node to
randomly chosen destinations
ants are routed probabilistically biased by artificial
pheromone values and heuristic information
ants memorize path and trip time
when reaching destination node, ants retrace path and update
pheromone trails
data packets are routed deterministically
AntNet is distributed and asynchronous
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.35
Experimental results
comparisons were done to a number of state-of-the-art
algorithms
experiments were run under varying traffic conditions
AntNet compared very favorably to other algorithms and
was shown to be very robust
reason: ACO matches well the problem characteristics
stochastic state transitions
only distributed information is available
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.36
Applications of ACO
Main application fields
-hard problems
dynamic shortest path problems (network routing)
World class performance on
sequential ordering, vehicle routing, quadratic
assignment, open-shop scheduling, shortest common
super-sequence problem, 2D-HP protein folding,
packet-switched network routing, mobile ad-hoc
network routing ..
Very good performance on many other problems
Industrial applications
AntOptima
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.37
The ACO Metaheuristic Dorigo, Di Caro, Gambardella 1999
ACO metaheuristic was proposed a posteriori as a common
framework for ACO applications
artificial ants in ACO are seen as stochastic solution
construction procedures
solution construction is biased by
pheromone trails which change at run-time
heuristic information on the problem instance
the antsā€™ memory
additional capabilities via daemon actions
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.38
The ACO metaheuristic
procedure ACO metaheuristic
ScheduleActivities
ManageAntsActivity()
EvaporatePheromone()
DaemonActions() Optional

end ScheduleActivities
end ACO metaheuristic
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.39
ACO as tree search
ACO metaheuristic is centrally based on notion of
construction graph
alternative point of view: ants as stochastic tree
search procedures
highlights ants as stochastic construction procedures
= stochastic search tree exploration
this latter view highlights natural relationships of
ACO to tree search procedures such as
Branch-and-Bound, backtracking, beam-search, etc.
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.40
ACO Theory
convergence proofs Gutjahr 1999ā€“2005; StĆ¼tzle, Dorigo 2001-2004
formal relationships to other methods
model-based search framework Zlochin et al. 2005
relationship to methods such as PBIL, stochastic
gradient descent, cross-entropy method or EDAs
Meuleau, Dorigo, 2002
models of ACO behavior
modelling the dynamics of ACO Merkle, Middendorf 2002-04
examination of search bias Blum et al. 2002-05
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.41
ACO Theoryā€”Convergence proofs
Gutjahr (1999) has proved convergence to the optimal
solution of a Graph-based Ant System:
Let


be the probability with which an agent traverses
the optimal tour at iteration

.
For each




and for a fixed evaporation rate, if
the number of agents is large enough, then













For each




and for a fixed number of agents, if
the evaporation rate is small enough, then













Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.42
ACO Theoryā€”Convergence proofs
StĆ¼tzle and Dorigo (2001/02) proved convergence
properties for a class of ACO algorithms called ACO min:
for any


they prove that the probability of finding at
least once an optimal solution is








tends to one for



these results are directly extendable to two of the
experimentally most successful ACO algorithms:

ā€“

Ant System and Ant Colony System
Gutjahr (2002) extends these proofs by to convergence with
probability one
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.43
Recent Trends in ACO
continued interest in applications
new applications
multi-objective optimization
dynamic optimization problems
stochastic optimization problems
increasing interest in theoretical issues
methodology for applying ACO
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.44
Conclusions
Ant Colony Optimization is becoming a mature field
variety of algorithms available
many successful applications
theoretical results
dedicated workshops (ANTSā€™1998 ā€” 2006) and
journal special issues
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.45
Conclusions
Ant Colony Optimization is becoming a mature field
variety of algorithms available
many successful applications
theoretical results
dedicated workshops (ANTSā€™1998 ā€” 2006) and
journal special issues
ACO is the most successful technique of the
wider field of Swarm Intelligence
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.45
Interested in more?
Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.46

More Related Content

Similar to stuetzle.pdf

Swarm Intelligence Heuristics for Graph Coloring Problem
Swarm Intelligence Heuristics for Graph Coloring ProblemSwarm Intelligence Heuristics for Graph Coloring Problem
Swarm Intelligence Heuristics for Graph Coloring Problem
Mario Pavone
Ā 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
Neha Reddy
Ā 

Similar to stuetzle.pdf (20)

Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
Ā 
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
Ā 
Swarm Intelligence Heuristics for Graph Coloring Problem
Swarm Intelligence Heuristics for Graph Coloring ProblemSwarm Intelligence Heuristics for Graph Coloring Problem
Swarm Intelligence Heuristics for Graph Coloring Problem
Ā 
gas source search
gas source searchgas source search
gas source search
Ā 
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
An Improved Ant Colony System Algorithm for Solving Shortest Path Network Pro...
Ā 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
Ā 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
Ā 
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
Ā 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
Ā 
Final project
Final projectFinal project
Final project
Ā 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
Ā 
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
Ā 
Cib vol3no1 article4
Cib vol3no1 article4Cib vol3no1 article4
Cib vol3no1 article4
Ā 
Bat Algorithm: A Novel Approach for Global Engineering Optimization
Bat Algorithm: A Novel Approach for Global Engineering OptimizationBat Algorithm: A Novel Approach for Global Engineering Optimization
Bat Algorithm: A Novel Approach for Global Engineering Optimization
Ā 
A new move towards updating pheromone trail in order to gain increased predic...
A new move towards updating pheromone trail in order to gain increased predic...A new move towards updating pheromone trail in order to gain increased predic...
A new move towards updating pheromone trail in order to gain increased predic...
Ā 
Assembly Sequence Optimization
Assembly Sequence OptimizationAssembly Sequence Optimization
Assembly Sequence Optimization
Ā 
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
Ā 
Bat Algorithm: Literature Review and Applications
Bat Algorithm: Literature Review and ApplicationsBat Algorithm: Literature Review and Applications
Bat Algorithm: Literature Review and Applications
Ā 
Bat Algorithm: A Novel Approach for Global Engineering Optimization
Bat Algorithm: A Novel Approach for Global Engineering OptimizationBat Algorithm: A Novel Approach for Global Engineering Optimization
Bat Algorithm: A Novel Approach for Global Engineering Optimization
Ā 

More from ahmedsalim244821 (9)

lecture10_ACO.pdf
lecture10_ACO.pdflecture10_ACO.pdf
lecture10_ACO.pdf
Ā 
Swarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdfSwarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdf
Ā 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
Ā 
Micro-strip Antennas.pdf
Micro-strip Antennas.pdfMicro-strip Antennas.pdf
Micro-strip Antennas.pdf
Ā 
ZERO_ENERGY_BUILDING.ppt
ZERO_ENERGY_BUILDING.pptZERO_ENERGY_BUILDING.ppt
ZERO_ENERGY_BUILDING.ppt
Ā 
Chap16-1-NMOS-Inverter.pdf
Chap16-1-NMOS-Inverter.pdfChap16-1-NMOS-Inverter.pdf
Chap16-1-NMOS-Inverter.pdf
Ā 
lecture08.pdf
lecture08.pdflecture08.pdf
lecture08.pdf
Ā 
lecture-09-evolutionary-computation-genetic-algorithms.pdf
lecture-09-evolutionary-computation-genetic-algorithms.pdflecture-09-evolutionary-computation-genetic-algorithms.pdf
lecture-09-evolutionary-computation-genetic-algorithms.pdf
Ā 
problems - MLP.pdf
problems - MLP.pdfproblems - MLP.pdf
problems - MLP.pdf
Ā 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
Ā 
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Ā 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
Ā 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
Ā 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
Ā 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
Ā 

Recently uploaded (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Ā 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
Ā 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
Ā 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
Ā 
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
Call Girls in South Ex (delhi) call me [šŸ”9953056974šŸ”] escort service 24X7
Ā 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
Ā 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Ā 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
Ā 
Jaipur ā¤CALL GIRL 0000000000ā¤CALL GIRLS IN Jaipur ESCORT SERVICEā¤CALL GIRL IN...
Jaipur ā¤CALL GIRL 0000000000ā¤CALL GIRLS IN Jaipur ESCORT SERVICEā¤CALL GIRL IN...Jaipur ā¤CALL GIRL 0000000000ā¤CALL GIRLS IN Jaipur ESCORT SERVICEā¤CALL GIRL IN...
Jaipur ā¤CALL GIRL 0000000000ā¤CALL GIRLS IN Jaipur ESCORT SERVICEā¤CALL GIRL IN...
Ā 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
Ā 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Ā 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
Ā 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
Ā 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
Ā 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
Ā 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
Ā 
BhubaneswaršŸŒ¹Call Girls Bhubaneswar ā¤Komal 9777949614 šŸ’Ÿ Full Trusted CALL GIRL...
BhubaneswaršŸŒ¹Call Girls Bhubaneswar ā¤Komal 9777949614 šŸ’Ÿ Full Trusted CALL GIRL...BhubaneswaršŸŒ¹Call Girls Bhubaneswar ā¤Komal 9777949614 šŸ’Ÿ Full Trusted CALL GIRL...
BhubaneswaršŸŒ¹Call Girls Bhubaneswar ā¤Komal 9777949614 šŸ’Ÿ Full Trusted CALL GIRL...
Ā 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Ā 
Orlandoā€™s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlandoā€™s Arnold Palmer Hospital Layout Strategy-1.pptxOrlandoā€™s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlandoā€™s Arnold Palmer Hospital Layout Strategy-1.pptx
Ā 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
Ā 

stuetzle.pdf

  • 1. Ant Colony OptimizationAn Introduction. Thomas StuĢˆtzle stuetzle@informatik.tu-darmstadt.de http://www.intellektik.informatik.tu-darmstadt.de/Ėœtom. Technische UniversitaĢˆt Darmstadt Fachbereich Informatik Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.1
  • 2. What is Ant Colony Optimization? Ant Colony Optimization (ACO) is a population-based, general search technique for the solution of difficult combinatorial problems which is inspired by the pheromone trail laying behavior of real ant colonies. Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.2
  • 3. Outline of the talk Biological Inspiration ACO algorithms ACO applications ACO metaheuristic ACO theory Conclusions Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.3
  • 4. Biological Inspiration Pheromone trail following behavior in many ant species the visual perceptive faculty is only very rudimentarily developed most communication among individuals is based on chemicals called pheromone a particular type in some ant species is trail pheromone, used for marking and following paths collective trail laying / trail following behavior is the inspiring source of Ant Colony Optimization Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.4
  • 5. Double bridge experiments Deneubourg et al. laboratory colonies of Iridomyrmex humilis ants deposit pheromone while walking from food sources to nest and vice versa ants tend to choose, in probability, paths marked by strong pheromone concentrations Nest Food 600 15 cm Nest Food 1 2 Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.5
  • 6. Experimental results equal length bridges: convergence to a single path 0 5 0 100 0-20 20-40 40-60 60-80 80-100 % of traffic on the short branch % of experiments Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.6
  • 7. Experimental results equal length bridges: convergence to a single path different length paths: convergence to short path 0 5 0 100 0-20 20-40 40-60 60-80 80-100 % of traffic on the short branch % of experiments 0 5 0 100 0-20 20-40 40-60 60-80 80-100 % of traffic on the short branch % of experiments Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.6
  • 8. Stochastic model a stochastic model was derived from the experiments and verified in simulations functional form of transition probability : probability of choosing branch when being at decision point : corresponding pheromone concentration Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.7
  • 9. Towards artificial ants real ant colonies are solving shortest path problems Ant Colony Optimization takes elements from real ant behavior to solve more complex problems than real ants In ACO, artificial ants are stochastic solution construction procedures that probabilistically build solutions exploiting (artificial) pheromone trails which change dynamically at run time to reflect the agentsā€™ acquired search experience heuristic information on the problem instance being solved Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.8
  • 10. Travelling Salesman Problem Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.9
  • 11. Stochastic solution construction i j k g Ļ„ ij Ī·ij ? , Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.10
  • 12. Stochastic solution construction use memory to remember partial tours being at a city choose next city probabilistically among feasible neighbors probabilistic choice depends on pheromone trails and heuristic information ā€œusualā€ action choice rule at node if Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.11
  • 13. Pheromone update use positive feedback to reinforce components of good solutions better solutions give more feedback use pheromone evaporation to avoid unlimited increase of pheromone trails and allow forgetting of bad choices pheromone evaporation Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.12
  • 14. Pheromone update (2) Example of pheromone update if arc is used by ant on its tour : Tour length of ant : Number of ants The resulting algorithm is called Ant System Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.13
  • 15. Ant System Ant System is the first ACO algorithm proposed in 1991 by Dorigo et al. encouraging initial results on TSP but inferior to state-of-the-art Role of Ant System ā€œproof of conceptā€ stimulation of further research on algorithmic variants and new applications Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.14
  • 16. Ant System: The algorithm procedure Ant System for TSP Initialize pheromones while (termination condition not met) do for to do for to do ApplyProbabilisticActionChoiceRule end end GlobalPheromoneTrailUpdate end end Ant System for TSP Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.15
  • 17. ACO Algorithms: Overview ACO algorithm Authors Year TSP Ant System Dorigo, Maniezzo Colorni 1991 yes Elitist AS Dorigo 1992 yes Ant-Q Gambardella Dorigo 1995 yes Ant Colony System Dorigo Gambardella 1996 yes AS StĆ¼tzle Hoos 1996 yes Rank-based AS Bullnheimer, Hartl Strauss 1997 yes ANTS Maniezzo 1998 no Best-Worst AS CordĆ³n, et al. 2000 yes Hyper-cube ACO Blum, Roli, Dorigo 2001 no Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.16
  • 18. Elitist Ant System Dorigo, 1992 strong additional reinforcement of best found solution (best-so-far solution) pheromone update rule becomes is defined analogous to Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.17
  • 19. Ant Colony System (ACS) Gambardella, Dorigo 1996, 1997 pseudo-random proportional action choice rule: with probability an ant located at city chooses successor city with maximal (exploitation) with probability an ant chooses the successor city according to action choice rule used in Ant System (biased exploration) Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.18
  • 20. Ant Colony System (2) global pheromone update rule only the best-so-far solution deposits pheromone after each iteration where . pheromone update only affects edges contained in ! Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.19
  • 21. Ant Colony System (3) local pheromone update rule ants ā€œeat awayā€ pheromone on the edges just crossed is some small constant value increases exploration by reducing the desirability of frequently used edges Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.20
  • 22. ā€“ Ant System StĆ¼tzle, Hoos 1996-2001 extension of Ant System with stronger exploitation of best solutions and additional mechanism to avoid search stagnation only the iteration-best or best-so-far ant deposit pheromone best Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.21
  • 23. ā€“ Ant System (2) additional limits on the feasible pheromone trails for all we have: min max counteracts stagnation of search through aggressive pheromone update heuristics for determining min and max pheromone values are initialized to max stronger exploration at the start of the algorithm pheromone trail re-initialization to increase exploration Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.22
  • 24. Comparison of ACO algorithms all algorithms construct tours for symmetric TSPs, tours for asymmetric TSPs only solution construction Instance opt AS ACS e AS eil51.tsp 426 427.6 428.1 428.3 437.3 kroA100.tsp 21282 21320.3 21420.0 21522.83 22471.4 d198.tsp 15780 15972.5 16054.0 16205.0 16705.6 lin318.tsp 42029 42220.2 42570.0 43422.8 45535.2 ry48p.atsp 14422 14553.2 14565.4 14685.2 15296.4 ft70.atsp 38673 39040.2 39099.0 39261.8 39596.3 kro124p.atsp 36230 36773.5 36857.0 37510.2 38733.1 ftv170.atsp 2755 2828.8 2826.5 2952.4 3154.5 Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.23
  • 25. Comparison of ACO algorithms 42000 44000 46000 48000 50000 52000 54000 1 10 100 1000 Tour length Time in seconds MMAS ACS AS EAS Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.24
  • 26. Combining ACO with local search current wisdom suggests that good strategy for attacking combinatorial problems is a coupling of a constructive heuristic and a local search problem: finding a good coupling ACO plus local search seems to be such a good coupling as experimental results suggest Advantages local search fine-tunes constructed solutions ACO algorithm alleviates initialization problem of local search Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.25
  • 27. Experimental results much improved performance; e.g. ā€“ Ant System+3-opt: instances with up to 500 cities: optimal found within few seconds/minutes for large instances (tested up to 3038 cities) solutions within 0.25% of optimal can be found in reasonable time ( hour) performance is close to state-of-the-art Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.26
  • 28. Experimental results 0 0.2 0.4 0.6 0.8 1 1 10 100 1000 probability of finding optimal solution CPU time ILS MMAS RGA GLS 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 10 100 1000 probability of finding optimal solution CPU time ILS MMAS RGA GLS 0 0.2 0.4 0.6 0.8 1 10 100 1000 10000 probability of finding optimal solution CPU time ILS MMAS RGA GLS 0 0.2 0.4 0.6 0.8 1 10 100 1000 10000 probability of finding optimal solution CPU time ILS MMAS RGA GLS Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.27
  • 29. Observations common features among extensions strong exploitation of best found solutions the most efficient extensions use local search differences concern essential aspects of the search control best performing variants add explicit diversification features Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.28
  • 30. ACO applications: QAP Design a keyboard layout! Goal: find a keyboard layout that minimizes the average writing time! Distance: time for pressing two keys consecutively Flow: frequency of a letter given another letter Objective function: average writing time is the letter assigned to the key . Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.29
  • 31. AS for the QAP Two decisions have to be made: which letter (item) is to be chosen next? to which key (location) is this letter assigned? In ā€“ Ant System: items are chosen randomly gives desirability of assigning item to location Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.30
  • 32. Experimental results ā€“ 1 Problem instance Ro-TS GH HAS-QAP AS- QAP AS- QAP random problems with uniformly distributed matrix entries (i) tai40a 0.990 0.884 1.989 0.794 1.509 tai50a 1.125 1.049 2.800 1.060 1.795 tai60a 1.203 1.159 3.070 1.137 1.882 tai80a 0.900 0.796 2.689 0.836 1.402 random flows on grids (ii) nug30 0.013 0.007 0.098 0.013 0.039 sko49 0.076 0.040 0.141 0.068 0.115 sko56 0.088 0.060 0.101 0.075 0.098 sko64 0.071 0.092 0.129 0.071 0.099 sko72 0.146 0.143 0.277 0.090 0.172 sko81 0.136 0.136 0.144 0.062 0.124 sko90 0.128 0.196 0.231 0.114 0.140 Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.31
  • 33. Results ā€“ 2 Problem in- stance Ro-TS GH HAS-QAP AS- QAP AS- QAP real-life instances (iii) bur26a-h 0.002 0.043 0.0 0.006 0.0 kra30a 0.268 0.134 0.630 0.134 0.157 kra30b 0.023 0.054 0.071 0.044 0.066 ste36a 0.155 n.a. n.a. 0.061 0.126 ste36b 0.081 n.a. n.a. 0.0 0.0 randomly generated real-life like instances (iv) tai40b 0.531 0.211 0.0 0.402 0.0 tai50b 0.342 0.214 0.192 0.172 0.009 tai60b 0.417 0.291 0.048 0.005 0.005 tai80b 1.031 0.829 0.667 0.591 0.266 tai100b 0.512 n.a. n.a. 0.230 0.114 Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.32
  • 34. ACO for static problems procedure Ant Colony Optimization Initialize parameters, pheromone trails while (termination condition not met) do ConstructSolutions ApplyLocalSearch %optional GlobalUpdateTrails end end Ant Colony Optimization Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.33
  • 35. ACO applications: routing goal: build routing tables to direct data traffic optimizing some measure of network performance a routing table entry gives for node and destination node of a data packet the next node to move to routing is difficult because routing costs are dynamic adaptive routing is difficult because changes in control policy result in changes in the performance measures Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.34
  • 36. ACO algorithm: AntNet Di Caro, Dorigo, 1997-1999 ants are launched at regular intervals from each node to randomly chosen destinations ants are routed probabilistically biased by artificial pheromone values and heuristic information ants memorize path and trip time when reaching destination node, ants retrace path and update pheromone trails data packets are routed deterministically AntNet is distributed and asynchronous Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.35
  • 37. Experimental results comparisons were done to a number of state-of-the-art algorithms experiments were run under varying traffic conditions AntNet compared very favorably to other algorithms and was shown to be very robust reason: ACO matches well the problem characteristics stochastic state transitions only distributed information is available Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.36
  • 38. Applications of ACO Main application fields -hard problems dynamic shortest path problems (network routing) World class performance on sequential ordering, vehicle routing, quadratic assignment, open-shop scheduling, shortest common super-sequence problem, 2D-HP protein folding, packet-switched network routing, mobile ad-hoc network routing .. Very good performance on many other problems Industrial applications AntOptima Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.37
  • 39. The ACO Metaheuristic Dorigo, Di Caro, Gambardella 1999 ACO metaheuristic was proposed a posteriori as a common framework for ACO applications artificial ants in ACO are seen as stochastic solution construction procedures solution construction is biased by pheromone trails which change at run-time heuristic information on the problem instance the antsā€™ memory additional capabilities via daemon actions Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.38
  • 40. The ACO metaheuristic procedure ACO metaheuristic ScheduleActivities ManageAntsActivity() EvaporatePheromone() DaemonActions() Optional end ScheduleActivities end ACO metaheuristic Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.39
  • 41. ACO as tree search ACO metaheuristic is centrally based on notion of construction graph alternative point of view: ants as stochastic tree search procedures highlights ants as stochastic construction procedures = stochastic search tree exploration this latter view highlights natural relationships of ACO to tree search procedures such as Branch-and-Bound, backtracking, beam-search, etc. Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.40
  • 42. ACO Theory convergence proofs Gutjahr 1999ā€“2005; StĆ¼tzle, Dorigo 2001-2004 formal relationships to other methods model-based search framework Zlochin et al. 2005 relationship to methods such as PBIL, stochastic gradient descent, cross-entropy method or EDAs Meuleau, Dorigo, 2002 models of ACO behavior modelling the dynamics of ACO Merkle, Middendorf 2002-04 examination of search bias Blum et al. 2002-05 Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.41
  • 43. ACO Theoryā€”Convergence proofs Gutjahr (1999) has proved convergence to the optimal solution of a Graph-based Ant System: Let be the probability with which an agent traverses the optimal tour at iteration . For each and for a fixed evaporation rate, if the number of agents is large enough, then For each and for a fixed number of agents, if the evaporation rate is small enough, then Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.42
  • 44. ACO Theoryā€”Convergence proofs StĆ¼tzle and Dorigo (2001/02) proved convergence properties for a class of ACO algorithms called ACO min: for any they prove that the probability of finding at least once an optimal solution is tends to one for these results are directly extendable to two of the experimentally most successful ACO algorithms: ā€“ Ant System and Ant Colony System Gutjahr (2002) extends these proofs by to convergence with probability one Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.43
  • 45. Recent Trends in ACO continued interest in applications new applications multi-objective optimization dynamic optimization problems stochastic optimization problems increasing interest in theoretical issues methodology for applying ACO Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.44
  • 46. Conclusions Ant Colony Optimization is becoming a mature field variety of algorithms available many successful applications theoretical results dedicated workshops (ANTSā€™1998 ā€” 2006) and journal special issues Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.45
  • 47. Conclusions Ant Colony Optimization is becoming a mature field variety of algorithms available many successful applications theoretical results dedicated workshops (ANTSā€™1998 ā€” 2006) and journal special issues ACO is the most successful technique of the wider field of Swarm Intelligence Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.45
  • 48. Interested in more? Thomas StuĢˆtzle, Ant Colony Optimization, An Introduction ā€” GoĢˆttingen, 20. April 2005 ā€“ p.46