ant colony optimization Clay McLeod April 27, 2015 University of - - PowerPoint PPT Presentation

ant colony optimization
SMART_READER_LITE
LIVE PREVIEW

ant colony optimization Clay McLeod April 27, 2015 University of - - PowerPoint PPT Presentation

ant colony optimization Clay McLeod April 27, 2015 University of Mississippi lists Ant Colony Optimization (ACO) is a swarm algorithm that attempts to emulate the behavior of ants searching for food. First proposed by Marco Dorigo


slide-1
SLIDE 1

ant colony optimization

Clay McLeod April 27, 2015

University of Mississippi

slide-2
SLIDE 2

lists ∙ Ant Colony Optimization (ACO) is a swarm algorithm that attempts to emulate the behavior of ants searching for food. ∙ First proposed by Marco Dorigo for his Master’s thesis in 1992. ∙ Useful in solving minimum optimization problems, especially those that closely emulate the biological system by which they are inspired.

1

slide-3
SLIDE 3

lists ∙ Ant Colony Optimization (ACO) is a swarm algorithm that attempts to emulate the behavior of ants searching for food. ∙ First proposed by Marco Dorigo for his Master’s thesis in 1992. ∙ Useful in solving minimum optimization problems, especially those that closely emulate the biological system by which they are inspired.

1

slide-4
SLIDE 4

lists ∙ Ant Colony Optimization (ACO) is a swarm algorithm that attempts to emulate the behavior of ants searching for food. ∙ First proposed by Marco Dorigo for his Master’s thesis in 1992. ∙ Useful in solving minimum optimization problems, especially those that closely emulate the biological system by which they are inspired.

1

slide-5
SLIDE 5

inspiration ∙ Ants communicate through an indirect, distributed communication called stigmergy. ∙ Process involves modifying their environment by placing pheromone as they travel towards food. ∙ Ants can sense the presence and density of the pheromone on the ground. ∙ Through a natural instinct, ants are attracted to pheromone, making them more likely to follow the path of previous ants.

2

slide-6
SLIDE 6

inspiration ∙ Ants communicate through an indirect, distributed communication called stigmergy. ∙ Process involves modifying their environment by placing pheromone as they travel towards food. ∙ Ants can sense the presence and density of the pheromone on the ground. ∙ Through a natural instinct, ants are attracted to pheromone, making them more likely to follow the path of previous ants.

2

slide-7
SLIDE 7

inspiration ∙ Ants communicate through an indirect, distributed communication called stigmergy. ∙ Process involves modifying their environment by placing pheromone as they travel towards food. ∙ Ants can sense the presence and density of the pheromone on the ground. ∙ Through a natural instinct, ants are attracted to pheromone, making them more likely to follow the path of previous ants.

2

slide-8
SLIDE 8

inspiration ∙ Ants communicate through an indirect, distributed communication called stigmergy. ∙ Process involves modifying their environment by placing pheromone as they travel towards food. ∙ Ants can sense the presence and density of the pheromone on the ground. ∙ Through a natural instinct, ants are attracted to pheromone, making them more likely to follow the path of previous ants.

2

slide-9
SLIDE 9

algorithm overview

slide-10
SLIDE 10

pseudocode

initialization; while not sufficiently sure of optimal solution do for m ants do currentPosition = NNEST; while currentPosition != NFOOD do Randomly travel to a connected node, paths with pheromone are more likely to be chosen. Update currentPosition to our current node. end end Update global pheromone map end Algorithm 1: Simple ACO algorithm

4

slide-11
SLIDE 11

modeling

Undirected Graph, G ∈ (V, E) ∙ Vertices are the environment, including the nest, food source, and intermediate landmarks. ∙ Edges are the connected paths for the ants to walk between these vertices. Artificial Ants ∙ Represented by mathematical constructs used to simulate an ant performing a walk between two vertices. Pheromone ∙ Represented by normalized weights on each edge in the graph.

5

slide-12
SLIDE 12

modeling

Undirected Graph, G ∈ (V, E) ∙ Vertices are the environment, including the nest, food source, and intermediate landmarks. ∙ Edges are the connected paths for the ants to walk between these vertices. Artificial Ants ∙ Represented by mathematical constructs used to simulate an ant performing a walk between two vertices. Pheromone ∙ Represented by normalized weights on each edge in the graph.

5

slide-13
SLIDE 13

modeling

Undirected Graph, G ∈ (V, E) ∙ Vertices are the environment, including the nest, food source, and intermediate landmarks. ∙ Edges are the connected paths for the ants to walk between these vertices. Artificial Ants ∙ Represented by mathematical constructs used to simulate an ant performing a walk between two vertices. Pheromone ∙ Represented by normalized weights on each edge in the graph.

5

slide-14
SLIDE 14

visualization

6

slide-15
SLIDE 15

visualization

Shorter paths are traveled more quickly by each ant, meaning that they become more saturated with pheromone as time goes on.

7

slide-16
SLIDE 16

visualization

This, in turn, makes the ants more likely to follow the path because they are attracted to the pheromone, effectively converging on the optimal shortest path.

8

slide-17
SLIDE 17

variations

slide-18
SLIDE 18

variations

Ant System ∙ Pheromone is updated by all m ants after every ant has built a solution (like in the implementation described earlier). ∙ Baseline comparison, reasonable results. Ant Colony System ∙ Introduces ants also updating the pheromone levels after each step in their path construction. ∙ Mixed results based on application. MAX-MIN Ant System ∙ Only the best ant can place new pheromone levels in the graph, amount of minimum and maximum pheromone is bounded for each edge. ∙ Produces consistently better results than the first two approaches.

10

slide-19
SLIDE 19

variations

Ant System ∙ Pheromone is updated by all m ants after every ant has built a solution (like in the implementation described earlier). ∙ Baseline comparison, reasonable results. Ant Colony System ∙ Introduces ants also updating the pheromone levels after each step in their path construction. ∙ Mixed results based on application. MAX-MIN Ant System ∙ Only the best ant can place new pheromone levels in the graph, amount of minimum and maximum pheromone is bounded for each edge. ∙ Produces consistently better results than the first two approaches.

10

slide-20
SLIDE 20

variations

Ant System ∙ Pheromone is updated by all m ants after every ant has built a solution (like in the implementation described earlier). ∙ Baseline comparison, reasonable results. Ant Colony System ∙ Introduces ants also updating the pheromone levels after each step in their path construction. ∙ Mixed results based on application. MAX-MIN Ant System ∙ Only the best ant can place new pheromone levels in the graph, amount of minimum and maximum pheromone is bounded for each edge. ∙ Produces consistently better results than the first two approaches.

10

slide-21
SLIDE 21

applications

slide-22
SLIDE 22

selected applications

∙ Optimal - Vehicle Routing, Bayesian Networks, Project Scheduling1 ∙ Good, not great - Traveling salesman, Max Clique Problem ∙ Experimental - Protein Folding

1Highly constrained results.

12

slide-23
SLIDE 23

selected applications

∙ Optimal - Vehicle Routing, Bayesian Networks, Project Scheduling1 ∙ Good, not great - Traveling salesman, Max Clique Problem ∙ Experimental - Protein Folding

1Highly constrained results.

12

slide-24
SLIDE 24

selected applications

∙ Optimal - Vehicle Routing, Bayesian Networks, Project Scheduling1 ∙ Good, not great - Traveling salesman, Max Clique Problem ∙ Experimental - Protein Folding

1Highly constrained results.

12

slide-25
SLIDE 25

Questions?

13