Ant Colony Optimization
Ant Colony Optimization
OPTIMIZATION
1/27/15
Basic
Definitions
1/27/15
Pheromone
Apheromoneis
a
secreted
or
excretedchemicalfactor that triggers a social
response in members of the samespecies.
Pheromones are chemicals capable of acting
outside the body of the secreting individual to
impact the behavior of the receiving individual.
Type
s
I.
Aggregation
function in defense against predators, mate selection,
and overcoming host resistance by mass attack.
ii.
Alarm
Some species release a volatile substance when
attacked by a predator that can trigger aggression
(inants,bees, termites)in members of the same
species.
1/27/15
iii.
Signal
cause short-term changes, such as the neurotransmitter
release that activates a response.
iv.
Territorial
Laid down in the environment, territorial pheromones
mark the boundaries of an organism's territory.
v.
Trail
Trail pheromones are common in social insects. For
example,antsmark their paths with these
pheromones, which are volatile hydrocarbons.
vi.
Information
There is two kind of information:
a) Heuristic Information
b) Pheromone trail information
1/27/15
1/27/15
Heuristic Information
It related to general strategies or methods for solving
problems.
That solve a problem more quickly but is not certain to arrive
at an optimal solution.
Aheuristicis a word from the Greek meaning "to discover." It
is an approach to problem solving that takes one's personal
experience into account.
Heuristictechniquesinvolving or serving as an aid to learning,
discovery,
or
problem-solving
by
experimental
and
Metaheuristics
Ametaheuristicis a set of concepts that can be
used to define heuristic methods that can be
applied to a wide set of different problems.
A metaheuristics refers to a master strategy that
guides and modifies other heuristics to produce
solutions beyond those that are normally
generated in a quest for local optimality Fred
Glover and Manuel Laguna
A metaheuristic can be seen as a general
algorithmic framework which can be applied to
different optimization problems with relatively
few modifications to make them adapted to a
specific problem.
Examples of metaheuristics include ant colony
1/27/15
optimization (ACO), tabu search (TS), iterated7
Introduction
1/27/15
Swarm Intelligence
Swarm intelligence takes
inspiration from the social
behaviors of insects and of
other animals.
In particular, ants have
inspired a number of
methods and techniques
among which the most
studied and the most
successful is the general
purpose
optimization
technique known as ant
colony optimization.
1/27/15
10
1/27/15
11
12
1/27/15
13
1/27/15
14
1/27/15
15
1/27/15
16
17
D
C
1/27/15
18
1/27/15
19
1/27/15
20
21
1/27/15
22
Applications
1. ACO for the Traveling Salesman Problem
In the traveling salesman
problem, a set of cities is
given and the distance
between each of them is
known. The goal is to find
the shortest tour that
allows each city to be
visited once and only
once. In more formal
terms, the goal is to find
a Hamiltonian tour of
minimal length on a fully
connected graph.
1/27/15
23
concerned
with
the
allocation
of
scarce
1/27/15
25
4. Applications to Telecommunication
Networks
ACO algorithms have shown to be a very effective
approach for routing problems in telecommunication
networks where the properties of the system, such as
the cost of using links or the availability of nodes, vary
over time. ACO algorithms were first applied to routing
problems in circuit switched networks (such as telephone
networks) and then in packet-switched networks (such
as local area networks or the Internet).
1/27/15
26
27
Implementation of ACO in
Travelling
Salesman Problem (TSP)
1/27/15
28
29
Problem
Formulation
Travelling salesman
problem (TSP) consists of finding the
shortest route in complete weighted graph G with n nodes
and n(n-1) edges, so that the start node and the end node
are identical and all other nodes in this tour are visited
exactly
Let C beonce.
the matrix of shortest distances (dimension nxn),
where n is the number of nodes of graph G. The elements
of matrix C represents the shortest distances between all
pairs of nodes (i, j), i, j=1, 2, ,n. The travelling salesman
problem can be formulated in the category programming
binary, where variables are equal to 0 or 1, depending on
the fact whether the route from node I to node j is
realized (xij= 1) or not (xit= 0).
1/27/15
30
1/27/15
31
1/27/15
32
amount of
where
i - indicates the attractiveness of transition in the past
i - adds to transition attractiveness for ants,
Ni - set of nodes connected to point i, without the last visited
point before i,
, - parameters found by simulation.
1/27/15
33
Rever
Virtual ant is using the same
se reverse path as the path to
the food resource based on his internal memory, but in
opposite order and without cycles, which are eliminated.
After
elimination of the
cycles,
where
ijt- value of pheromone in step t,
- value by ants saved pheromones in step t.
Values can be constant or they can be changed
depends of solution quality.
1/27/15
34
At last, the
Evaporation of
Pheromones
pheromones on the edges are
evaporated.
1/27/15
35
36
1/27/15
37
more cities
to visit
No
Stopping
criteria
yes
1/27/15
38
Computational
Experiments
The moving of ants
provides the parallel and independent
search of the route with the help of dynamical change of
pheromone trail. For experiment, we used the problem of
32 cities in Slovakia. We were able to get an optimal
solution to that problem with the help of MATLAB.
1/27/15
39
Conclusio
n
1/27/15
40
1/27/15
41
1)
Referenc
es The Ant Colony Optimization
M. Dorigo and G. Di Caro,
meta-heuristic, in NewIdeas in Optimization, D. Corne et
al., Eds., McGraw Hill, London, UK, pp. 1132, 1999.
1/27/15
42
Thank
you !!!