ACO.ppt

11
Ant Colony Optimization. 1

Transcript of ACO.ppt

Page 1: ACO.ppt

1

Ant Colony Optimization.

Page 2: ACO.ppt

2

Proposed by Marco Dorigo et al. in 1990s

Inspired by the social behaviours of ant colonies

Main application: Network Optimisation

Background.

Page 3: ACO.ppt

3

Can explore vast areas without global view of the ground.

Can find the food and bring it back to the nest.

Will converge to the shortest path.

The Ants.

Page 4: ACO.ppt

4

By leaving pheromones behind them.

Wherever they go, they let pheromones behind here, marking the area as explored and communicating to the other ants that the way is known.

Double Bridge experiment

How can they manage such great tasks ?

Page 5: ACO.ppt

5

The more ants follow a trail, the more attractive that trail becomes for being followed.

Double Bridge Experiment

NEST FOODNEST FOODNEST FOOD

Page 6: ACO.ppt

6

Ants are forced to decide whether they should go left or right, and the choice that is made is a random decision.

Pheromone accumulation is faster on the shorter path.

The difference in pheromone content between the two paths over time makes the ants choose the shorter path.

Different optimization problems have been explored using a simulation of this real ant behavior.

Route Selection.

Page 7: ACO.ppt

7

Traveling Salesman Problem.◦ A salesman has to visit ‘n’

towns cyclically.

◦ In one tour he visits each towns just once and finishes up where he started.

In what order should he visit them to minimise the distance travelled?

◦ How many orderings? ( n=21)

20!= 20x19x18x17……3x2x1

=2,432,902,008,176,640,000

This number is so big that if the computer could

check 1 billion orderings every second it would still

take 77 years to check them all!

So, we need clever algorithms to solve it.

Page 8: ACO.ppt

8

Problem Definition.

OBJECTIVE:Given a set of ‘n’ cities, the

Traveling

Salesman Problem requires a

salesman to find the shortest route

between the given cities and return

to the starting city, while keeping in

mind that each city can be visited

only once.

Page 9: ACO.ppt

9

Flowchart of ACO

Have all cities been

visited

Have the maximum

Iterations been performed

START ACO

Locate ants randomly in cities across the grid and store the

current city in a tabu list

Determine probabilistically as to which city to visit next

Move to next city and place this city in the

tabu list

Record the length of tour and clear tabu list

Determine the shortest tour till now and

update pheromone

NO

YES

STOPACO

YESNO

Page 10: ACO.ppt

10

Lots of practical applications

Routing such as in trucking, delivery, UAVs

Manufacturing routing such as movement of parts along manufacturing floor or the amount of solder on circuit board

Network design such as determining the amount of cabling required

TSP Applications.

Page 11: ACO.ppt

11

Questions