SlideShare a Scribd company logo
1 of 27
Ant Colony Optimization Algorithms
for the Traveling Salesman Problem
ACO 3.1-3.5
Kristie Simpson
EE536: Advanced Artificial
Intelligence
Montana State University
ACO Review
 Chapter 1: From Real to Artificial Ants (Dr.
Paxton)
– Looked at real ants and the double bridge
experiment.
– Defined a stochastic model for real ants, and then
modified the definition for artificial ants.
– Discussed the Simple-ACO algorithm.
ACO Review
 Chapter 2: The ACO Metaheuristic (Chris,
Shen)
– Introduced combinatorial optimization problems.
– Discussed exact and approximate solutions to
NP-hard problems.
– Discussed the ACO Metaheuristic and example
applications (TSP presented in section 2.3.1).
Chapter 3: ACO Algorithms for TSP
 “But you’re sixty years
old. They can’t expect
you to keep traveling
every week.” –Linda in
act I, scene I of Death
of a Salesman, Authur
Miller, 1949
Why use TSP?
 NP-Hard (permutation problem, N!).
 Easy application of ACO.
 Easy to understand.
 Ant System (the first ACO alogrithm) was
tested on TSP.
 Solutions tend to be most efficient for other
applications.
What is TSP?
 Starting from his hometown, a salesman wants to
find a shortest tour that takes him through a given
set of customer cities and then back home, visiting
each customer city exactly once.
 Represented by a weighted graph G = (N,A).
 The goal in TSP is to find a minimum length
Hamiltonian circuit of the graph.
 An optimal solution is:
University of Heidelburg
NAME : att532
TYPE : TSP
COMMENT : 532-city problem
(Padberg/Rinaldi)
DIMENSION : 532
EDGE_WEIGHT_TYPE : ATT
NODE_COORD_SECTION
1 7810 6053
2 7798 5709
3 7264 5575
4 7324 5560
5 7547 5503
6 7744 5476
7 7821 5457
8 7883 5408
att532 : 27686
http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/
ACO Algorithms for the TSP
 G = (C, L) is equal to G = (N, A).
 All cities have to be visited and that each city
is visited at most once.
 Pheromone trail: the desirability of visiting
city j directly after i.
 Heuristic: inversely proportional to the
distance between two cities i and j.
Tour Construction
1) Choose a start city.
2) Use pheromone and
heuristic values to add
cites until all have
been visited.
3) Go back to the initial
city.
Note: Tour may be
improved with a local
search (section 3.7).
Skeleton for ACO algorithm
 Set parameters, initialize pheromone trails.
 While termination condition not met
– ConstructAntSolutions
– ApplyLocalSearch
– UpdatePheromones
 Only solution construction and pheromone
updates considered.
ACO Algorithms
 Ant System (AS)
 Elitist Ant System (EAS)
 Rank-Based Ant System (ASrank)
 Min-Max Ant System (MMAS)
 Ant Colony System (ACS)
 Approximate Nondeterministic Tree Search
(ANTS)
 Hyper-Cube Framework for ACO
Ant System (AS)
 m ants concurrently build tour.
 Pheromone initialized to m/Cnn.
 Ants initially in randomly chosen sites.
 Random proportional rule used to decide which city
to visit next. (see Box 3.1 for good parameter values)
Ant System (AS)
 Each ant k maintains a memory Mk for its
neighborhood.
 After all ants have constructed their tours, the
pheromone trails are updated.
 Pheromone evaporation:
Ant System (AS)
 Pheromone update:
Elitist Ant System (EAS)
 First improvement on AS.
 Provide strong additional reinforcement to the arcs
belonging to the best tour found since the start of the
algorithm.
Rank-Based Ant System (ASrank)
 Another improvement over AS.
 Each ant deposits an amount of pheromone that
decreases with its rank.
 In each iteration, only the best (w-1) ranked ants and
the best-so-far ant are allowed to deposit
pheromone.
Min-Max Ant System (MMAS)
 Four modifications with respect to AS.
– Strongly exploits the best tours found.
 This may lead to stagnation. So…
– Limits the possible range of pheromone values.
– Pheromone values initialized to upper limit.
– Pheromone values are reinitialized when system
approaches stagnation.
Min-Max Ant System (MMAS)
 After all ants construct a solution, pheromone
values are updated. (Evaporation is the
same as in AS)
 Lower and upper limits on pheromones limit
the probability of selecting a city.
 Initial pheromone values are set to the upper
limit, resulting in initial exploration.
 Occasionally pheromones are reinitialized.
Ant Colony System (ACS)
 Uses ideas not included in the original AS.
 Differs from AS in three main points:
– Exploits the accumulated search experience more
strongly than AS.
– Pheromone evaporation and deposit take place
only on the best-so-far tour.
– Each time an ant uses an arc, some pheromone
is removed from the arc.
Ant Colony System (ACS)
 Pseudorandom proportional rule used to
decide which city to visit next.
 Only best-so-far ant adds pheromone after
each iteration. Evaporation and deposit only
apply to best-so-far.
Ant Colony System (ACS)
 The previous pheromone update was global.
Each ant in ACS also uses a local update
that is applied after crossing an arc.
 Makes arc less desirable for following ants,
increasing exploration.
Approximate Nondeterministic Tree
Search (ANTS)
 Uses ideas not included in the original AS.
 Not applied to TSP.
 Computes lower bounds on the completion of
a partial solution to define the heuristic
information that is used by each ant during
the solution construction.
 Creates a dynamic heuristic where the lower
the estimate the more attractive the path.
Approximate Nondeterministic Tree
Search (ANTS)
 Two modifications with respect to AS:
– Use of a novel action choice rule.
– Modified pheromone trail update rule. (No explicit
pheromone evaporation)
Hyper-cube Framework for ACO
 Uses ideas not included in the original AS.
 Not applied to TSP.
 Automatically rescales the pheromone values for
them to lie always in the interval [0,1].
 Decision variables {0, 1} typically correspond to the
components used by the ants for construction.
 A solution problem then corresponds to one corner
of the n-dimensional hyper-cube, where n is the
number of decision variables.
Hyper-cube Framework for ACO
Parallel Implementation
 Fine-grained – few individuals per processor,
frequent information exchange.
– Can lead to major communication overhead.
 Coarse-grained – larger subpopulations per
processor, information exchange is rare.
– Much more promising for ACO.
– p colonies on p processors.
Partially Asynchronous Parallel
Implementation (PAPI)
 Information exchanged at fixed intervals.
 Studies show it is better to exchange the best
solutions rather than all solutions.

More Related Content

Similar to aco-3a.ppt

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 onIJCI JOURNAL
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentationPartha Das
 
Heuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxHeuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxlwz614595250
 
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...IJECEIAES
 
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...ijsrd.com
 
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 IJECEIAES
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationPratik Poddar
 
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 ProblemIRJET Journal
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimizationkamalikanath89
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.pptAhmedSalimJAlJawadi
 
香港六合彩-六合彩
香港六合彩-六合彩香港六合彩-六合彩
香港六合彩-六合彩vfnvtd
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...ijaia
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat AlgorithmXin-She Yang
 
hCHAC Lambda (NICSO 2010)
hCHAC Lambda (NICSO 2010)hCHAC Lambda (NICSO 2010)
hCHAC Lambda (NICSO 2010)Antonio Mora
 
Ai presentation
Ai presentationAi presentation
Ai presentationvini89
 

Similar to aco-3a.ppt (20)

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
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 
Heuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptxHeuristic algorithms for solving TSP.doc.pptx
Heuristic algorithms for solving TSP.doc.pptx
 
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
The Effect of Updating the Local Pheromone on ACS Performance using Fuzzy Log...
 
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...
 
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
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
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
 
Classification with ant colony optimization
Classification with ant colony optimizationClassification with ant colony optimization
Classification with ant colony optimization
 
53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt53564379-Ant-Colony-Optimization.ppt
53564379-Ant-Colony-Optimization.ppt
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
Jp2516981701
Jp2516981701Jp2516981701
Jp2516981701
 
香港六合彩-六合彩
香港六合彩-六合彩香港六合彩-六合彩
香港六合彩-六合彩
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
bic10_ants.ppt
bic10_ants.pptbic10_ants.ppt
bic10_ants.ppt
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat Algorithm
 
hCHAC Lambda (NICSO 2010)
hCHAC Lambda (NICSO 2010)hCHAC Lambda (NICSO 2010)
hCHAC Lambda (NICSO 2010)
 
Ai presentation
Ai presentationAi presentation
Ai presentation
 

More from ahmedsalim244821

More from ahmedsalim244821 (10)

stuetzle.pdf
stuetzle.pdfstuetzle.pdf
stuetzle.pdf
 
lecture10_ACO.pdf
lecture10_ACO.pdflecture10_ACO.pdf
lecture10_ACO.pdf
 
Swarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdfSwarm Optimization Techniques_ACO.pdf
Swarm Optimization Techniques_ACO.pdf
 
ANT-presentation.ppt
ANT-presentation.pptANT-presentation.ppt
ANT-presentation.ppt
 
Micro-strip Antennas.pdf
Micro-strip Antennas.pdfMicro-strip Antennas.pdf
Micro-strip Antennas.pdf
 
ZERO_ENERGY_BUILDING.ppt
ZERO_ENERGY_BUILDING.pptZERO_ENERGY_BUILDING.ppt
ZERO_ENERGY_BUILDING.ppt
 
Chap16-1-NMOS-Inverter.pdf
Chap16-1-NMOS-Inverter.pdfChap16-1-NMOS-Inverter.pdf
Chap16-1-NMOS-Inverter.pdf
 
lecture08.pdf
lecture08.pdflecture08.pdf
lecture08.pdf
 
lecture-09-evolutionary-computation-genetic-algorithms.pdf
lecture-09-evolutionary-computation-genetic-algorithms.pdflecture-09-evolutionary-computation-genetic-algorithms.pdf
lecture-09-evolutionary-computation-genetic-algorithms.pdf
 
problems - MLP.pdf
problems - MLP.pdfproblems - MLP.pdf
problems - MLP.pdf
 

Recently uploaded

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

aco-3a.ppt

  • 1. Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO 3.1-3.5 Kristie Simpson EE536: Advanced Artificial Intelligence Montana State University
  • 2. ACO Review  Chapter 1: From Real to Artificial Ants (Dr. Paxton) – Looked at real ants and the double bridge experiment. – Defined a stochastic model for real ants, and then modified the definition for artificial ants. – Discussed the Simple-ACO algorithm.
  • 3. ACO Review  Chapter 2: The ACO Metaheuristic (Chris, Shen) – Introduced combinatorial optimization problems. – Discussed exact and approximate solutions to NP-hard problems. – Discussed the ACO Metaheuristic and example applications (TSP presented in section 2.3.1).
  • 4. Chapter 3: ACO Algorithms for TSP  “But you’re sixty years old. They can’t expect you to keep traveling every week.” –Linda in act I, scene I of Death of a Salesman, Authur Miller, 1949
  • 5. Why use TSP?  NP-Hard (permutation problem, N!).  Easy application of ACO.  Easy to understand.  Ant System (the first ACO alogrithm) was tested on TSP.  Solutions tend to be most efficient for other applications.
  • 6. What is TSP?  Starting from his hometown, a salesman wants to find a shortest tour that takes him through a given set of customer cities and then back home, visiting each customer city exactly once.  Represented by a weighted graph G = (N,A).  The goal in TSP is to find a minimum length Hamiltonian circuit of the graph.  An optimal solution is:
  • 7. University of Heidelburg NAME : att532 TYPE : TSP COMMENT : 532-city problem (Padberg/Rinaldi) DIMENSION : 532 EDGE_WEIGHT_TYPE : ATT NODE_COORD_SECTION 1 7810 6053 2 7798 5709 3 7264 5575 4 7324 5560 5 7547 5503 6 7744 5476 7 7821 5457 8 7883 5408 att532 : 27686 http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/
  • 8. ACO Algorithms for the TSP  G = (C, L) is equal to G = (N, A).  All cities have to be visited and that each city is visited at most once.  Pheromone trail: the desirability of visiting city j directly after i.  Heuristic: inversely proportional to the distance between two cities i and j.
  • 9. Tour Construction 1) Choose a start city. 2) Use pheromone and heuristic values to add cites until all have been visited. 3) Go back to the initial city. Note: Tour may be improved with a local search (section 3.7).
  • 10. Skeleton for ACO algorithm  Set parameters, initialize pheromone trails.  While termination condition not met – ConstructAntSolutions – ApplyLocalSearch – UpdatePheromones  Only solution construction and pheromone updates considered.
  • 11. ACO Algorithms  Ant System (AS)  Elitist Ant System (EAS)  Rank-Based Ant System (ASrank)  Min-Max Ant System (MMAS)  Ant Colony System (ACS)  Approximate Nondeterministic Tree Search (ANTS)  Hyper-Cube Framework for ACO
  • 12. Ant System (AS)  m ants concurrently build tour.  Pheromone initialized to m/Cnn.  Ants initially in randomly chosen sites.  Random proportional rule used to decide which city to visit next. (see Box 3.1 for good parameter values)
  • 13. Ant System (AS)  Each ant k maintains a memory Mk for its neighborhood.  After all ants have constructed their tours, the pheromone trails are updated.  Pheromone evaporation:
  • 14. Ant System (AS)  Pheromone update:
  • 15. Elitist Ant System (EAS)  First improvement on AS.  Provide strong additional reinforcement to the arcs belonging to the best tour found since the start of the algorithm.
  • 16. Rank-Based Ant System (ASrank)  Another improvement over AS.  Each ant deposits an amount of pheromone that decreases with its rank.  In each iteration, only the best (w-1) ranked ants and the best-so-far ant are allowed to deposit pheromone.
  • 17. Min-Max Ant System (MMAS)  Four modifications with respect to AS. – Strongly exploits the best tours found.  This may lead to stagnation. So… – Limits the possible range of pheromone values. – Pheromone values initialized to upper limit. – Pheromone values are reinitialized when system approaches stagnation.
  • 18. Min-Max Ant System (MMAS)  After all ants construct a solution, pheromone values are updated. (Evaporation is the same as in AS)  Lower and upper limits on pheromones limit the probability of selecting a city.  Initial pheromone values are set to the upper limit, resulting in initial exploration.  Occasionally pheromones are reinitialized.
  • 19. Ant Colony System (ACS)  Uses ideas not included in the original AS.  Differs from AS in three main points: – Exploits the accumulated search experience more strongly than AS. – Pheromone evaporation and deposit take place only on the best-so-far tour. – Each time an ant uses an arc, some pheromone is removed from the arc.
  • 20. Ant Colony System (ACS)  Pseudorandom proportional rule used to decide which city to visit next.  Only best-so-far ant adds pheromone after each iteration. Evaporation and deposit only apply to best-so-far.
  • 21. Ant Colony System (ACS)  The previous pheromone update was global. Each ant in ACS also uses a local update that is applied after crossing an arc.  Makes arc less desirable for following ants, increasing exploration.
  • 22. Approximate Nondeterministic Tree Search (ANTS)  Uses ideas not included in the original AS.  Not applied to TSP.  Computes lower bounds on the completion of a partial solution to define the heuristic information that is used by each ant during the solution construction.  Creates a dynamic heuristic where the lower the estimate the more attractive the path.
  • 23. Approximate Nondeterministic Tree Search (ANTS)  Two modifications with respect to AS: – Use of a novel action choice rule. – Modified pheromone trail update rule. (No explicit pheromone evaporation)
  • 24. Hyper-cube Framework for ACO  Uses ideas not included in the original AS.  Not applied to TSP.  Automatically rescales the pheromone values for them to lie always in the interval [0,1].  Decision variables {0, 1} typically correspond to the components used by the ants for construction.  A solution problem then corresponds to one corner of the n-dimensional hyper-cube, where n is the number of decision variables.
  • 26. Parallel Implementation  Fine-grained – few individuals per processor, frequent information exchange. – Can lead to major communication overhead.  Coarse-grained – larger subpopulations per processor, information exchange is rare. – Much more promising for ACO. – p colonies on p processors.
  • 27. Partially Asynchronous Parallel Implementation (PAPI)  Information exchanged at fixed intervals.  Studies show it is better to exchange the best solutions rather than all solutions.