Professional Documents
Culture Documents
Optimisation
Dr. Techn. Kadri Sylejmani
Department of Computer Engineering
Faculty of Electrical and Computer Engineering
University of Prishtina
Note: The slides in this presentation are prepared based on the following sources:
1. The original slides of prof. David Wolfe Corne, Department of Computer Sciences, Heriot Watt
University (http://www.macs.hw.ac.uk/~dwcorne/Teaching/bic1516.htm) and
2. The book “Essentials of Metaheuristics” from Sean Luke, that is available for free at
http://cs.gmu.edu/$\sim$sean/book/metaheuristics/
3. The pictures in the following slides are hyperlinked to the originating source
Swarm Algorithms
Note:
The starting point for these slides was
some excellent ppt by Tony White
(tony@sce.carleton.ca)
(Carleton University, Canada)
Emergent Problem Solving in Lasius Niger ants
For Lasius Niger (black garden ant) ants, [Franks, 89]
observed:
regulation of nest temperature within 1 degree Celsius range;
forming bridges;
raiding specific areas for food;
building and protecting nest;
sorting brood (lloj) and food items;
cooperating in carrying large items;
emigration of a colony;
finding shortest route from nest to food source;
preferentially exploiting the richest food source available.
These are swarm behaviours – beyond what any individual can do.
A living bridge
Clustered by ants
Co-operative carrying
Explainable (arguably) as emergent property of many
individuals operating simple rules?
For Lasius Niger (black garden ant)ants, [Franks, 89]
observed:
regulation of nest temperature within 1 degree celsius range;
forming bridges;
raiding specific areas for food;
building and protecting nest;
sorting brood and food items;
cooperating in carrying large items;
emigration of a colony;
finding shortest route from nest to food source;
preferentially exploiting the richest food source available.
E E E
T=0 T=1
30 ants
30 ants
D D D
10 20
15 15
d=1.0 d=0.5 ants ants
ants ants
H C C H C
H
d=1.0 d=0.5
B 10 B 20
15 B 15
ants ants
ants ants
30
30
ants
A
ants A
A
Ant Colony Optimisation Algorithms: Basic Ideas
D
Pheromone C
A B
D
Pheromone C
D
Pheromone C
D
Pheromone C
D
Pheromone C
So, he has nearly finished his tour, having gone over the links:
BC, CD, and DA.
A B
D
Pheromone C
So, he has nearly finished his tour, having gone over the links:
BC, CD, and DA. AB is added to complete the round trip.
A B
D
Pheromone C
A B
D
Pheromone C
A B
Where will he go?
D
Pheromone C
Where Ak (r , s) 1/ Lk
A
B
C
D
E
E.g. Single machine scheduling with due-dates
These jobs have to be done; their length represents the
time they will take.
A 3pm
B 3:30pm
C 5pm
D 4pm
E 4:30pm
E.g. Single machine scheduling with due-dates
These jobs have to be done; their length represents the
time they will take.
2 pm 3 pm 4 pm 5 pm 6 pm
2 pm 3 pm 4 pm 5 pm 6 pm
E Start
C D
Why is it sensible to have a Start node for this problem?
Example table from a research paper comparing ACO with
other algorithms on some scheduling problems
See here if you’re very interested in ACO:
• http://iridia.ulb.ac.be/dorigo/ACO/ACO.html