Ant Colony Optimization 22c: 145, Chapter 12. Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements.

Slides:



Advertisements
Similar presentations
Computational Intelligence Winter Term 2011/12 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Advertisements

Computational Intelligence Winter Term 2013/14 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Swarm algorithms COMP308. Swarming – The Definition aggregation of similar animals, generally cruising in the same direction Termites swarm to build colonies.
1 Topic 7: Stigmergy, Swarm Intelligence and Ant Algorithms stigmergy swarm intelligence ant algorithms  AntNet: routing  AntSystem: TSP.
Ant colonies for the traveling salesman problem Eliran Natan Seminar in Bioinformatics (236818) – Spring 2013 Computer Science Department Technion - Israel.
Ant Colony Optimization. Brief introduction to ACO Ant colony optimization = ACO. Ants are capable of remarkably efficient discovery of short paths during.
Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.
Anti-pheromone as a Tool for Better Exploration of Search Space by James Montgomery and Marcus Randall, Bond University, Australia.
Ant Colony Optimization Presenter: Chih-Yuan Chou.
Ant Colonies As Logistic Processes Optimizers
Ant Colony Optimization Optimisation Methods. Overview.
Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO Kristie Simpson EE536: Advanced Artificial Intelligence Montana State.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Presented by: Martyna Kowalczyk CSCI 658
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
1 IE 607 Heuristic Optimization Ant Colony Optimization.
FORS 8450 Advanced Forest Planning Lecture 19 Ant Colony Optimization.
Ant Colony Optimization
Ant colony optimization algorithms Mykulska Eugenia
L/O/G/O Ant Colony Optimization M1 : Cecile Chu.
Part B Ants (Natural and Artificial) 8/25/ Real Ants (especially the black garden ant, Lasius niger)
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
Search Methods An Annotated Overview Edward Tsang.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Ant Colony Optimization Theresa Meggie Barker von Haartman IE 516 Spring 2005.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
Topic 6: Stigmergy, Swarm Intelligence and Ant Algorithms swarm intelligence stigmergy ant algorithms  AntNet: routing  AntSystem: TSP.
Optimizing Pheromone Modification for Dynamic Ant Algorithms Ryan Ward TJHSST Computer Systems Lab 2006/2007 Testing To test the relative effectiveness.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Combinatorial Optimization Chapter 8, Essentials of Metaheuristics, 2013 Spring, 2014 Metaheuristics Byung-Hyun Ha R2.
Ant Colony Optimization Quadratic Assignment Problem Hernan AGUIRRE, Adel BEN HAJ YEDDER, Andre DIAS and Pascalis RAPTIS Problem Leader: Marco Dorigo Team.
AntNet: A nature inspired routing algorithm
5 Fundamentals of Ant Colony Search Algorithms Yong-Hua Song, Haiyan Lu, Kwang Y. Lee, and I. K. Yu.
Ant colonies for the travelling salesman problem Macro Dorigo, Luca Maria Gambardella 資工三 李明杰.
Ant Colony Optimization Andriy Baranov
The Ant System Optimization by a colony of cooperating agents.
Biologically Inspired Computation Ant Colony Optimisation.
AUT- Department of Industrial Engineering Behrooz Karimi 1 Ant Colony Optimization By: Dr. Behrooz Karimi
What is Ant Colony Optimization?
Philipp A. Djang Ph.D. Army Research Labs
5 th Quest Programme Presentation on “Better Utilization of Equipment” Dt of Presentation: 29/07/2010 By : Ravi Agarwal, Asst. Mgr (Min.) KIOM.
Name : Mamatha J M Seminar guide: Mr. Kemparaju. GRID COMPUTING.
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Swarm Intelligence. Content Overview Swarm Particle Optimization (PSO) – Example Ant Colony Optimization (ACO)
Ant Colony Optimization
Ant Colony Optimization
Scientific Research Group in Egypt (SRGE)
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Ant colonies for traveling salesman problem
metaheuristic methods and their applications
Computational Intelligence
Ant Colony Optimization Quadratic Assignment Problem
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Swarm Intelligence.
ANT COLONY OPTIMIZATION
Overview of SWARM INTELLIGENCE and ANT COLONY OPTIMIZATION
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
Planning the transportation of elderly to a daycare center
traveling salesman problem
Computational Intelligence
Ant Colony Optimization
Presentation transcript:

Ant Colony Optimization 22c: 145, Chapter 12

Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements to Ant System Applications

Swarm Intelligence Collective system capable of accomplishing difficult tasks in dynamic and varied environments without any external guidance or control and with no central coordination Achieving a collective performance which could not normally be achieved by an individual acting alone Constituting a natural model particularly suited to distributed problem solving

Inherent features Inherent parallelism Stochastic nature Adaptivity Use of positive feedback Autocatalytic in nature

Natural behavior of an ant Foraging modes Wander mode Search mode Return mode Attracted mode Trace mode Carry mode

Natural behavior of ant Ant Algorithms – (P.Koumoutsakos – based on notes L. Gamberdella (

How to implement in a program Ants:Simple computer agents Move ant:Pick next component in the construction of solution Trace:Pheromone,, a global type of information Memory:M K or Tabu K Next move:Use probability to move ant

ACO for the Traveling Salesman Problem The TSP is a very important problem in the context of Ant Colony Optimization because it is the problem to which the original AS was first applied, and it has later often been used as a benchmark to test a new idea and algorithmic variants. It is a metaphor problem for the ant colony It is one of the most studied NP-hard problems in the combinatorial optimization it is very easily to explain. So that the algorithm behavior is not obscured by too many technicalities.

Ant Colony Optimization (ACO) for TSP Graph (N,E): where N = cities(nodes), E = edges = the tour cost from city i to city j (edge weight) Ant move from one city i to the next j with some transition probability. A D C B

Each edge is associated a static value based on the edge-cost  (r,s) = 1/d r,s. Each edge of the graph is augmented with a trace  (r,s) deposited by ants. Initially, 0. Trace is dynamic and it is learned at run-time Each ant tries to produce a complete tour, using the probability depending on  (r,s) and  (r,s) to choose the next city. Ant Colony Optimization (ACO) for TSP

ACO Algorithm for TSP Initialize Place each ant in a randomly chosen city Choose NextCity(For Each Ant) more cities to visit For Each Ant Return to the initial cities Update trace level using the tour cost for each ant Print Best tour yes No Stopping criteria yes No

A simple TSP example A E D C B 1 [] d AB =100;d BC = 60…;d DE =150

Iteration 1 A E D C B 1 [A] 5 [E] 3 [C] 2 [B] 4 [D]

How to choose next city? A E D C B 1 [A] [A,D]

Iteration 2 A E D C B 3 [C,B] 5 [E,A] 1 [A,D] 2 [B,C] 4 [D,E]

Iteration 3 A E D C B 4 [D,E,A] 5 [E,A,B] 3 [C,B,E] 2 [B,C,D] 1 [A,D,C]

Iteration 4 A E D C B 4 [D,E,A,B] 2 [B,C,D,A] 5 [E,A,B,C] 1 [A,DCE] 3 [C,B,E,D]

Iteration 5 A E D C B 1 [A,D,C,E,B] 3 [C,B,E,D,A] 4 [D,E,A,B,C] 2 [B,C,D,A,E] 5 [E,A,B,C,D]

Path and Trace Update 1 [A,D,C,E,B] 5 [E,A,B,C,D] L 1 =300 L 2 =450 L 3 =260 L 4 =280 L 5 =420 2 [B,C,D,A,E] 3 [C,B,E,D,A] 4 [D,E,A,B,C]

End of First Run All ants die New ants are born Save Best Tour (Sequence and length)

Ant System (Ant Cycle) Dorigo [1] 1991 t = 0; NC = 0; τ ij (t)=c for ∆τ ij =0 Place the m ants on the n nodes Update tabu k (s) Compute the length L k of every ant Update the shortest tour found = For every edge (i,j) Compute For k:=1 to m do Initialize Choose the city j to move to. Use probability Tabu list management Move k-th ant to town j. Insert town j in tabu k (s) Set t = t + n; NC=NC+1; ∆τ ij =0 NC<NC max && not stagn. Yes End No Yes

Stopping Criteria Stagnation Max Iterations

ACO : Ant Colony Optimization for TSP

Algorithm found best solutions on small problems (75 city) On larger problems converged to good solutions – but not the best On “static” problems like TSP hard to beat specialist algorithms Ants are “dynamic” optimizers – should we even expect good performance on static problems Coupling ant with local optimizers gave world class results…. Performance

Parameters of ACO Taken from Dorigo [1] Comparison among three strategies, averages over 10 trials. Other parameters: Q, constant for trace updates, and m, the number of ants

Pheromone trail and heuristic function: are they useful? Comparison between ACS standard, ACS with no heuristic (i.e., we set B=0), and ACS in which ants neither sense nor deposit pheromone. Problem: Oliver30. Averaged over 30 trials, 10,000/m iterations per trial.

General ACO A stochastic construction procedure Probabilistically build a solution Iteratively adding solution components to partial solutions - Heuristic information - Trace/Pheromone trail Reinforcement Learning reminiscence Modify the problem representation at each iteration

General ACO Ants work concurrently and independently Collective interaction via indirect communication leads to good solutions

Some inherent advantages Positive Feedback accounts for rapid discovery of good solutions Distributed computation avoids premature convergence The greedy heuristic helps find acceptable solution in the early solution in the early stages of the search process. The collective interaction of a population of agents.

Disadvantages in Ant Systems Slower convergence than other Heuristics Performed poorly for TSP problems larger than 75 cities. No centralized processor to guide the AS towards good solutions

Applications Traveling Salesman Problem Quadratic Assignment Problem Network Model Problem Vehicle routing

Conclusion ACO is a relatively new metaheuristic approach for solving hard combinatorial optimization problems. Artificial ants implement a randomized construction heuristic which makes probabilistic decisions. The cumulated search experience is taken into account by the adaptation of the pheromone trail. ACO shows great performance with the “ill- structured” problems like network routing. In ACO local search is important to obtain good results.

References Dorigo M. and G. Di Caro (1999). The Ant Colony Optimization Meta-Heuristic. In D. Corne, M. Dorigo and F. Glover, editors, New Ideas in Optimization, McGraw-Hill, M. Dorigo and L. M. Gambardella. Ant colonies for the traveling salesman problem. BioSystems, 43:73–81, M. Dorigo and L. M. Gambardella. Ant Colony System: A cooperative learning approach to the traveling salesman problem. IEEE Transactions on Evolutionary Computation, 1(1):53–66, G. Di Caro and M. Dorigo. Mobile agents for adaptive routing. In H. El-Rewini, editor, Proceedings of the 31st International Conference on System Sciences (HICSS-31), pages 74–83. IEEE Computer Society Press, Los Alamitos, CA, M. Dorigo, V. Maniezzo, and A. Colorni. The Ant System: An autocatalytic optimizing process. Technical Report Revised, Dipartimento di Elettronica,Politecnico di Milano, Italy, L. M. Gambardella, ` E. D. Taillard, and G. Agazzi. MACS-VRPTW: A multiple ant colony system for vehicle routing problems with time windows. In D. Corne, M. Dorigo, and F. Glover, editors, New Ideas in Optimization, pages 63–76. McGraw Hill, London, UK, L. M. Gambardella, ` E. D. Taillard, and M. Dorigo. Ant colonies for the quadratic assignment problem. Journal of the Operational Research Society,50(2):167–176, V. Maniezzo and A. Colorni. The Ant System applied to the quadratic assignment problem. IEEE Transactions on Data and Knowledge Engineering, 11(5):769–778, Gambardella L. M., E. Taillard and M. Dorigo (1999). Ant Colonies for the Quadratic Assignment Problem. Journal of the Operational Research Society, 50: