SlideShare une entreprise Scribd logo
1  sur  41
Télécharger pour lire hors ligne
Introduction   Main ACO Algorithms    Applications of ACO   Advantages and Disadvantages   Summary   References




               Ant colony Optimization Algorithms :
                     Introduction and Beyond

               Anirudh Shekhawat                   Pratik Poddar             Dinesh Boswal

                                     Indian Institute of Technology Bombay


                             Artificial Intelligence Seminar 2009
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Outline

       1       Introduction
                  Ant Colony Optimization
                  Meta-heuristic Optimization
                  History
                  The ACO Metaheuristic
       2       Main ACO Algorithms
                 Main ACO Algorithms
                 Ant System
                 Ant Colony System
                 MAX-MIN Ant System
       3       Applications of ACO
       4       Advantages and Disadvantages
                 Advantages
                 Disadvanatges
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization

What is Ant Colony Optimization?




       ACO
          Probabilistic technique.
               Searching for optimal path in the graph based on
               behaviour of ants seeking a path between their colony and
               source of food.
               Meta-heuristic optimization
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization

ACO Concept




       Overview of the Concept
               Ants navigate from nest to food source. Ants are blind!
               Shortest path is discovered via pheromone trails.
               Each ant moves at random
               Pheromone is deposited on path
               More pheromone on path increases probability of path
               being followed
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization

ACO System




       Overview of the System
               Virtual trail accumulated on path segments
               Path selected at random based on amount of "trail" present
               on possible paths from starting node
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization

ACO System




       Overview of the System
               Virtual trail accumulated on path segments
               Path selected at random based on amount of "trail" present
               on possible paths from starting node
               Ant reaches next node, selects next path
               Continues until reaches starting node
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony Optimization

ACO System




       Overview of the System
               Virtual trail accumulated on path segments
               Path selected at random based on amount of "trail" present
               on possible paths from starting node
               Ant reaches next node, selects next path
               Continues until reaches starting node
               Finished tour is a solution.
               Tour is analyzed for optimality
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Meta-heuristic Optimization

Meta-heuristic




           1   Heuristic method for solving a very general class of
               computational problems by combining user-given heuristics
               in the hope of obtaining a more efficient procedure.
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Meta-heuristic Optimization

Meta-heuristic




           1   Heuristic method for solving a very general class of
               computational problems by combining user-given heuristics
               in the hope of obtaining a more efficient procedure.
           2   ACO is meta-heuristic
           3   Soft computing technique for solving hard discrete
               optimization problems
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


History

History




           1   Ant System was developed by Marco Dorigo (Italy) in his
               PhD thesis in 1992.
           2   Max-Min Ant System developed by Hoos and Stützle in
               1996
           3   Ant Colony was developed by Gambardella Dorigo in 1997
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


The ACO Metaheuristic

The ACO Meta-heuristic




       ACO
       Set Parameters, Initialize pheromone trails
       SCHEDULE ACTIVITIES
           1   Construct Ant Solutions
           2   Daemon Actions (optional)
           3   Update Pheromones

       Virtual trail accumulated on path segments
Introduction   Main ACO Algorithms   Applications of ACO    Advantages and Disadvantages   Summary   References


The ACO Metaheuristic

ACO - Construct Ant Solutions




       ACO - Construct Ant Solutions
       An ant will move from node i to node j with probability
                                                           α     β
                                                        (τi,j )(ηi,j )
                                            pi,j =     P α β
                                                         (τi,j )(ηi,j )

       where
       τi,j is the amount of pheromone on edge i, j
       α is a parameter to control the influence of τi,j
       ηi,j is the desirability of edge i, j (typically 1/di,j )
       β is a parameter to control the influence of ηi,j
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


The ACO Metaheuristic

ACO - Pheromone Update


       ACO - Pheromone Update
       Amount of pheromone is updated according to the equation

                                      τi,j = (1 − ρ)τi,j + ∆τi,j

       where
       τi,j is the amount of pheromone on a given edge i, j
       ρ is the rate of pheromone evaporation
       ∆τi,j is the amount of pheromone deposited, typically given by

                           k         1/Lk        if ant k travels on edge i, j
                        ∆τi,j =
                                     0           otherwise

       where Lk is the cost of the k th ant’s tour (typically length).
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Main ACO Algorithms

ACO




       ACO
          Many special cases of the ACO metaheuristic have been
          proposed.
               The three most successful ones are: Ant System, Ant
               Colony System (ACS), and MAX-MIN Ant System (MMAS).
               For illustration, example problem used is Travelling
               Salesman Problem.
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant System

ACO - Ant System

       ACO - Ant System
               First ACO algorithm to be proposed (1992)
               Pheromone values are updated by all the ants that have
               completed the tour.
                                                                      m       k
                                     τij ← (1 − ρ) · τij +            k =1 ∆τij ,
               where
               ρ is the evaporation rate
               m is the number of ants
               ∆τij is pheromone quantity laid on edge (i, j) by the k th ant
                   k


                              k          1/Lk        if ant k travels on edge i, j
                           ∆τi,j =
                                         0           otherwise
               where Lk is the tour length of the k th ant.
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony System

ACO - Ant Colony System




       ACO - Ant Colony System
               First major improvement over Ant System
               Differences with Ant System:
                    1   Decision Rule - Pseudorandom proportional rule
                    2   Local Pheromone Update
                    3   Best only offline Pheromone Update
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony System

ACO - Ant Colony System




       ACO - Ant Colony System
               Ants in ACS use the pseudorandom proportional rule
               Probability for an ant to move from city i to city j depends
               on a random variable q uniformly distributed over [0, 1],
               and a parameter q0 .
               If q ≤ q0 , then, among the feasible components, the
                                                          β
               component that maximizes the product τil ηil is chosen,
               otherwise the same equation as in Ant System is used.
               This rule favours exploitation of pheromone information
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony System

ACO - Ant Colony System



       ACO - Ant Colony System
               Diversifying component against exploitation: local
               pheromone update.
               The local pheromone update is performed by all ants after
               each step.
               Each ant applies it only to the last edge traversed:
                                         τij = (1 − ϕ) · τij + ϕ · τ0
               where
               ϕ ∈ (0, 1] is the pheromone decay coefficient
               τ0 is the initial value of the pheromone (value kept small
               Why?)
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Ant Colony System

ACO - Ant Colony System



       ACO - Ant Colony System
               Best only offline pheromone update after construction
               Offline pheromone update equation
                                                                  best
                                     τij ← (1 − ρ) · τij + ρ · ∆τij
               where
                 best =      1/Lbest       if best ant k travels on edge i, j
               τij
                             0             otherwise
               Lbest can be set to the length of the best tour found in the
               current iteration or the best solution found since the start of
               the algorithm.
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


MAX-MIN Ant System

ACO - MAX-MIN Ant System




       ACO - MAX-MIN Ant System
               Differences with Ant System:
                 1   Best only offline Pheromone Update
                 2   Min and Max values of the pheromone are explicitly limited
                            τij is constrained between τmin and τmax (explicitly set by
                            algorithm designer).
                            After pheromone update, τij is set to τmax if τij > τmax and to
                            τmin if τij < τmin
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Applications of ACO




       ACO
          Routing in telecommunication networks
               Traveling Salesman
               Graph Coloring
               Scheduling
               Constraint Satisfaction
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Advantages

Advantages of ACO




       ACO
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Advantages

Advantages of ACO




       ACO
          Inherent parallelism
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Advantages

Advantages of ACO




       ACO
          Inherent parallelism
               Positive Feedback accounts for rapid discovery of good
               solutions
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Advantages

Advantages of ACO




       ACO
          Inherent parallelism
               Positive Feedback accounts for rapid discovery of good
               solutions
               Efficient for Traveling Salesman Problem and similar
               problems
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Advantages

Advantages of ACO




       ACO
          Inherent parallelism
               Positive Feedback accounts for rapid discovery of good
               solutions
               Efficient for Traveling Salesman Problem and similar
               problems
               Can be used in dynamic applications (adapts to changes
               such as new distances, etc)
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
          Theoretical analysis is difficult
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
          Theoretical analysis is difficult
                Sequences of random decisions (not independent)
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
          Theoretical analysis is difficult
                Sequences of random decisions (not independent)
                Probability distribution changes by iteration
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
          Theoretical analysis is difficult
                Sequences of random decisions (not independent)
                Probability distribution changes by iteration
                Research is experimental rather than theoretical
Introduction    Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References


Disadvanatges

Disadvantages of ACO




       ACO
          Theoretical analysis is difficult
                Sequences of random decisions (not independent)
                Probability distribution changes by iteration
                Research is experimental rather than theoretical
                Time to convergence uncertain (but convergence is
                gauranteed!)
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Summary
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Summary




               Artificial Intelligence technique used to develop a new
               method to solve problems unsolvable since last many
               years
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Summary




               Artificial Intelligence technique used to develop a new
               method to solve problems unsolvable since last many
               years
               ACO is a recently proposed metaheuristic approach for
               solving hard combinatorial optimization problems.
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Summary




               Artificial Intelligence technique used to develop a new
               method to solve problems unsolvable since last many
               years
               ACO is a recently proposed metaheuristic approach for
               solving hard combinatorial optimization problems.
               Artificial ants implement a randomized construction
               heuristic which makes probabilistic decisions
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




Summary




               Artificial Intelligence technique used to develop a new
               method to solve problems unsolvable since last many
               years
               ACO is a recently proposed metaheuristic approach for
               solving hard combinatorial optimization problems.
               Artificial ants implement a randomized construction
               heuristic which makes probabilistic decisions
               ACO shows great performance with the “ill-structured”
               problems like network routing
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




References



               M. Dorigo, M. Birattari, T. Stützle, “Ant Colony Optimization
               – Artificial Ants as a Computational Intelligence
               Technique”, IEEE Computational Intelligence Magazine,
               2006
               M. Dorigo K. Socha, “An Introduction to Ant Colony
               Optimization”, T. F. Gonzalez, Approximation Algorithms
               and Metaheuristics, CRC Press, 2007
               M. Dorigo T. Stützle, “The Ant Colony Optimization
               Metaheuristic: Algorithms, Applications, and Advances”,
               Handbook of Metaheuristics, 2002
Introduction   Main ACO Algorithms   Applications of ACO   Advantages and Disadvantages   Summary   References




       Thank You.. Questions??

Contenu connexe

Tendances

Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Meenakshi Devi
 

Tendances (20)

Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Ant Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its ApplicationsAnt Colony Optimization: The Algorithm and Its Applications
Ant Colony Optimization: The Algorithm and Its Applications
 
Optimization by Ant Colony Method
Optimization by Ant Colony MethodOptimization by Ant Colony Method
Optimization by Ant Colony Method
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
Ant colony Optimization
Ant colony OptimizationAnt colony Optimization
Ant colony Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
Optimization techniques: Ant Colony Optimization: Bee Colony Optimization: Tr...
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 

Similaire à Ant Colony Optimization

antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
nrusinhapadhi
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
Neha Reddy
 
Ant colony based image segmentation
Ant colony based image segmentationAnt colony based image segmentation
Ant colony based image segmentation
Morshed Maruf
 

Similaire à Ant Colony Optimization (20)

Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
antcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdfantcolonyoptimization-130619020831-phpapp01.pdf
antcolonyoptimization-130619020831-phpapp01.pdf
 
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
Ant Colony Optimization for Optimal Low-Pass State Variable Filter Sizing
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
aco-3a.ppt
aco-3a.pptaco-3a.ppt
aco-3a.ppt
 
aco-3a.ppt
aco-3a.pptaco-3a.ppt
aco-3a.ppt
 
aco-3a.ppt
aco-3a.pptaco-3a.ppt
aco-3a.ppt
 
Cib vol3no1 article4
Cib vol3no1 article4Cib vol3no1 article4
Cib vol3no1 article4
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
 
A new move towards updating pheromone trail in order to gain increased predic...
A new move towards updating pheromone trail in order to gain increased predic...A new move towards updating pheromone trail in order to gain increased predic...
A new move towards updating pheromone trail in order to gain increased predic...
 
TEI 4
TEI 4TEI 4
TEI 4
 
Ant_Colony_Optimization
Ant_Colony_OptimizationAnt_Colony_Optimization
Ant_Colony_Optimization
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
Swarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman ProblemSwarm Intelligence Technique ACO and Traveling Salesman Problem
Swarm Intelligence Technique ACO and Traveling Salesman Problem
 
Assembly Sequence Optimization
Assembly Sequence OptimizationAssembly Sequence Optimization
Assembly Sequence Optimization
 
FAninal aco
FAninal acoFAninal aco
FAninal aco
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Ant colony based image segmentation
Ant colony based image segmentationAnt colony based image segmentation
Ant colony based image segmentation
 
A Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine PlacementA Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
A Multi-Objective Ant Colony System Algorithm for Virtual Machine Placement
 

Plus de Pratik Poddar (10)

Guide to wall street quant jobs for IITians
Guide to wall street quant jobs for IITiansGuide to wall street quant jobs for IITians
Guide to wall street quant jobs for IITians
 
Art of Puzzle Solving
Art of Puzzle SolvingArt of Puzzle Solving
Art of Puzzle Solving
 
Clipr Introduction
Clipr IntroductionClipr Introduction
Clipr Introduction
 
Clipr rodinhood openhouse
Clipr rodinhood openhouseClipr rodinhood openhouse
Clipr rodinhood openhouse
 
Grad School101
Grad School101Grad School101
Grad School101
 
What is Cryptography?
What is Cryptography?What is Cryptography?
What is Cryptography?
 
Audio Watermarking and Steganography
Audio Watermarking and SteganographyAudio Watermarking and Steganography
Audio Watermarking and Steganography
 
Identity Based Encryption
Identity Based EncryptionIdentity Based Encryption
Identity Based Encryption
 
Non-convex Optimization in Networks
Non-convex Optimization in NetworksNon-convex Optimization in Networks
Non-convex Optimization in Networks
 
Security Attacks on RSA
Security Attacks on RSASecurity Attacks on RSA
Security Attacks on RSA
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Ant Colony Optimization

  • 1. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant colony Optimization Algorithms : Introduction and Beyond Anirudh Shekhawat Pratik Poddar Dinesh Boswal Indian Institute of Technology Bombay Artificial Intelligence Seminar 2009
  • 2. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Outline 1 Introduction Ant Colony Optimization Meta-heuristic Optimization History The ACO Metaheuristic 2 Main ACO Algorithms Main ACO Algorithms Ant System Ant Colony System MAX-MIN Ant System 3 Applications of ACO 4 Advantages and Disadvantages Advantages Disadvanatges
  • 3. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization What is Ant Colony Optimization? ACO Probabilistic technique. Searching for optimal path in the graph based on behaviour of ants seeking a path between their colony and source of food. Meta-heuristic optimization
  • 4. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization ACO Concept Overview of the Concept Ants navigate from nest to food source. Ants are blind! Shortest path is discovered via pheromone trails. Each ant moves at random Pheromone is deposited on path More pheromone on path increases probability of path being followed
  • 5. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization
  • 6. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization
  • 7. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization ACO System Overview of the System Virtual trail accumulated on path segments Path selected at random based on amount of "trail" present on possible paths from starting node
  • 8. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization ACO System Overview of the System Virtual trail accumulated on path segments Path selected at random based on amount of "trail" present on possible paths from starting node Ant reaches next node, selects next path Continues until reaches starting node
  • 9. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony Optimization ACO System Overview of the System Virtual trail accumulated on path segments Path selected at random based on amount of "trail" present on possible paths from starting node Ant reaches next node, selects next path Continues until reaches starting node Finished tour is a solution. Tour is analyzed for optimality
  • 10. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Meta-heuristic Optimization Meta-heuristic 1 Heuristic method for solving a very general class of computational problems by combining user-given heuristics in the hope of obtaining a more efficient procedure.
  • 11. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Meta-heuristic Optimization Meta-heuristic 1 Heuristic method for solving a very general class of computational problems by combining user-given heuristics in the hope of obtaining a more efficient procedure. 2 ACO is meta-heuristic 3 Soft computing technique for solving hard discrete optimization problems
  • 12. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References History History 1 Ant System was developed by Marco Dorigo (Italy) in his PhD thesis in 1992. 2 Max-Min Ant System developed by Hoos and Stützle in 1996 3 Ant Colony was developed by Gambardella Dorigo in 1997
  • 13. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References The ACO Metaheuristic The ACO Meta-heuristic ACO Set Parameters, Initialize pheromone trails SCHEDULE ACTIVITIES 1 Construct Ant Solutions 2 Daemon Actions (optional) 3 Update Pheromones Virtual trail accumulated on path segments
  • 14. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References The ACO Metaheuristic ACO - Construct Ant Solutions ACO - Construct Ant Solutions An ant will move from node i to node j with probability α β (τi,j )(ηi,j ) pi,j = P α β (τi,j )(ηi,j ) where τi,j is the amount of pheromone on edge i, j α is a parameter to control the influence of τi,j ηi,j is the desirability of edge i, j (typically 1/di,j ) β is a parameter to control the influence of ηi,j
  • 15. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References The ACO Metaheuristic ACO - Pheromone Update ACO - Pheromone Update Amount of pheromone is updated according to the equation τi,j = (1 − ρ)τi,j + ∆τi,j where τi,j is the amount of pheromone on a given edge i, j ρ is the rate of pheromone evaporation ∆τi,j is the amount of pheromone deposited, typically given by k 1/Lk if ant k travels on edge i, j ∆τi,j = 0 otherwise where Lk is the cost of the k th ant’s tour (typically length).
  • 16. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Main ACO Algorithms ACO ACO Many special cases of the ACO metaheuristic have been proposed. The three most successful ones are: Ant System, Ant Colony System (ACS), and MAX-MIN Ant System (MMAS). For illustration, example problem used is Travelling Salesman Problem.
  • 17. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant System ACO - Ant System ACO - Ant System First ACO algorithm to be proposed (1992) Pheromone values are updated by all the ants that have completed the tour. m k τij ← (1 − ρ) · τij + k =1 ∆τij , where ρ is the evaporation rate m is the number of ants ∆τij is pheromone quantity laid on edge (i, j) by the k th ant k k 1/Lk if ant k travels on edge i, j ∆τi,j = 0 otherwise where Lk is the tour length of the k th ant.
  • 18. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony System ACO - Ant Colony System ACO - Ant Colony System First major improvement over Ant System Differences with Ant System: 1 Decision Rule - Pseudorandom proportional rule 2 Local Pheromone Update 3 Best only offline Pheromone Update
  • 19. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony System ACO - Ant Colony System ACO - Ant Colony System Ants in ACS use the pseudorandom proportional rule Probability for an ant to move from city i to city j depends on a random variable q uniformly distributed over [0, 1], and a parameter q0 . If q ≤ q0 , then, among the feasible components, the β component that maximizes the product τil ηil is chosen, otherwise the same equation as in Ant System is used. This rule favours exploitation of pheromone information
  • 20. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony System ACO - Ant Colony System ACO - Ant Colony System Diversifying component against exploitation: local pheromone update. The local pheromone update is performed by all ants after each step. Each ant applies it only to the last edge traversed: τij = (1 − ϕ) · τij + ϕ · τ0 where ϕ ∈ (0, 1] is the pheromone decay coefficient τ0 is the initial value of the pheromone (value kept small Why?)
  • 21. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Ant Colony System ACO - Ant Colony System ACO - Ant Colony System Best only offline pheromone update after construction Offline pheromone update equation best τij ← (1 − ρ) · τij + ρ · ∆τij where best = 1/Lbest if best ant k travels on edge i, j τij 0 otherwise Lbest can be set to the length of the best tour found in the current iteration or the best solution found since the start of the algorithm.
  • 22. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References MAX-MIN Ant System ACO - MAX-MIN Ant System ACO - MAX-MIN Ant System Differences with Ant System: 1 Best only offline Pheromone Update 2 Min and Max values of the pheromone are explicitly limited τij is constrained between τmin and τmax (explicitly set by algorithm designer). After pheromone update, τij is set to τmax if τij > τmax and to τmin if τij < τmin
  • 23. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Applications of ACO ACO Routing in telecommunication networks Traveling Salesman Graph Coloring Scheduling Constraint Satisfaction
  • 24. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Advantages Advantages of ACO ACO
  • 25. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Advantages Advantages of ACO ACO Inherent parallelism
  • 26. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Advantages Advantages of ACO ACO Inherent parallelism Positive Feedback accounts for rapid discovery of good solutions
  • 27. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Advantages Advantages of ACO ACO Inherent parallelism Positive Feedback accounts for rapid discovery of good solutions Efficient for Traveling Salesman Problem and similar problems
  • 28. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Advantages Advantages of ACO ACO Inherent parallelism Positive Feedback accounts for rapid discovery of good solutions Efficient for Traveling Salesman Problem and similar problems Can be used in dynamic applications (adapts to changes such as new distances, etc)
  • 29. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO
  • 30. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO Theoretical analysis is difficult
  • 31. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO Theoretical analysis is difficult Sequences of random decisions (not independent)
  • 32. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO Theoretical analysis is difficult Sequences of random decisions (not independent) Probability distribution changes by iteration
  • 33. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO Theoretical analysis is difficult Sequences of random decisions (not independent) Probability distribution changes by iteration Research is experimental rather than theoretical
  • 34. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Disadvanatges Disadvantages of ACO ACO Theoretical analysis is difficult Sequences of random decisions (not independent) Probability distribution changes by iteration Research is experimental rather than theoretical Time to convergence uncertain (but convergence is gauranteed!)
  • 35. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Summary
  • 36. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Summary Artificial Intelligence technique used to develop a new method to solve problems unsolvable since last many years
  • 37. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Summary Artificial Intelligence technique used to develop a new method to solve problems unsolvable since last many years ACO is a recently proposed metaheuristic approach for solving hard combinatorial optimization problems.
  • 38. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Summary Artificial Intelligence technique used to develop a new method to solve problems unsolvable since last many years ACO is a recently proposed metaheuristic approach for solving hard combinatorial optimization problems. Artificial ants implement a randomized construction heuristic which makes probabilistic decisions
  • 39. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Summary Artificial Intelligence technique used to develop a new method to solve problems unsolvable since last many years ACO is a recently proposed metaheuristic approach for solving hard combinatorial optimization problems. Artificial ants implement a randomized construction heuristic which makes probabilistic decisions ACO shows great performance with the “ill-structured” problems like network routing
  • 40. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References References M. Dorigo, M. Birattari, T. Stützle, “Ant Colony Optimization – Artificial Ants as a Computational Intelligence Technique”, IEEE Computational Intelligence Magazine, 2006 M. Dorigo K. Socha, “An Introduction to Ant Colony Optimization”, T. F. Gonzalez, Approximation Algorithms and Metaheuristics, CRC Press, 2007 M. Dorigo T. Stützle, “The Ant Colony Optimization Metaheuristic: Algorithms, Applications, and Advances”, Handbook of Metaheuristics, 2002
  • 41. Introduction Main ACO Algorithms Applications of ACO Advantages and Disadvantages Summary References Thank You.. Questions??