Ants and the TSP.

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.
VEHICLE ROUTING PROBLEM
Swarm algorithms COMP308. Swarming – The Definition aggregation of similar animals, generally cruising in the same direction Termites swarm to build colonies.
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.
Evolved and Timed Ants Optimizing the Parameters of a Time-Based Ant System Approach to the Traveling Salesman Problem Using a Genetic Algorithm.
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.
When Ants Attack! Ant Algorithms for Subset Selection Problems Derek BridgeFinbarr TarrantChristine Solnon University College CorkUniversity of Lyon.
Biologically Inspired Computation Ant Colony Optimisation.
Ant Colony Optimization: an introduction
Ant Colony Optimization (ACO): Applications to Scheduling
1 IE 607 Heuristic Optimization Ant Colony Optimization.
Ant colony optimization algorithms Mykulska Eugenia
L/O/G/O Ant Colony Optimization M1 : Cecile Chu.
Swarm intelligence Self-organization in nature and how we can learn from it.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
EE4E,M.Sc. C++ Programming Assignment Introduction.
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Ant Colony Optimization Algorithms for TSP: 3-6 to 3-8 Timothy Hahn February 13, 2008.
Biologically Inspired Computation Ant Colony Optimisation.
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
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.
EXCURSIONS IN MODERN MATHEMATICS SIXTH EDITION Peter Tannenbaum 1.
Ant Colony Optimization 22c: 145, Chapter 12. Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements.
Graphs and MSTs Sections 1.4 and 9.1. Partial-Order Relations Everybody is not related to everybody. Examples? Direct road connections between locations.
5 Fundamentals of Ant Colony Search Algorithms Yong-Hua Song, Haiyan Lu, Kwang Y. Lee, and I. K. Yu.
SPANNING TREES Lecture 21 CS2110 – Fall Nate Foster is out of town. NO 3-4pm office hours today!
Ant Colony Optimization Andriy Baranov
The Ant System Optimization by a colony of cooperating agents.
Biologically Inspired Computation Ant Colony Optimisation.
What is Ant Colony Optimization?
By Eric Han, Chung Min Kim, and Kathryn Tarver Investigations of Ant Colony Optimization.
B.Ombuki-Berman1 Swarm Intelligence Ant-based algorithms Ref: Various Internet resources, books, journal papers (see assignment 3 references)
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.
School of Computer Science & Engineering
CSCI 4310 Lecture 10: Local Search Algorithms
Scientific Research Group in Egypt (SRGE)
Finding a Path With Largest Smallest Edge
Reinforcement Learning (1)
Week 11 - Monday CS221.
B. Jayalakshmi and Alok Singh 2015
Comparing Genetic Algorithm and Guided Local Search Methods
Swarm Intelligence: From Natural to Artificial Systems
Ant colonies for traveling salesman problem
Genetic Algorithms and TSP
Heuristics Definition – a heuristic is an inexact algorithm that is based on intuitive and plausible arguments which are “likely” to lead to reasonable.
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?
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
Artificial Intelligence
traveling salesman problem
Multiple Ant Colonies Presented by Brandon Borkholder
Algorithms and data structures
Computational Intelligence
Spanning Trees Lecture 20 CS2110 – Spring 2015.
Presentation transcript:

Ants and the TSP

What’s a TSP? Nodes with edges in between Visit each node at least once All nodes reachable Might make sense on a 2D grid, might not

Why TSP for ants? Obvious application Really hard It’s a benchmark Easy to understand It works!

How do ants solve it? Pheromones placed on edges that are useful Pheromones evaporate off all edges

Local what? Local minima, maxima, optima

Deciding action Tabu list Visibility Amount of pheromone

Pheromone intensity Probability(path) = (intensity)a(visibility)b a = 0 means greedy search b = 0 means converge quickly A good balance is most useful

Pheromone updates Or 0 if not visited Updated at the end of an iteration (all ants complete tour) D intensity = intensity_constant / length_of_tour Or 0 if not visited Still need evaporation New intensity = decay_constant * intensity + D intensity

How Many Ants? How about #ants = #cities? Place randomly or one at each city, doesn’t matter.

Another Modification Elitist Ant Will only take the best tour so far Keeps the current best solution from “getting lost” More elitists as iterations continue

How good is AS? Similar or better than GP for 30-70 cities On bigger problems Did not find solutions in 3000 steps Converged quickly to “good” solutions Did not do well compared to SP solvers What is needed to fix it? Authors decided on local search

Before moving on The authors of the Ant System analyzed its behavior Does not converge closely Keeps trying new solutions Avoids maxima traps Good for converging quickly to “good” solutions Good for dynamic situations

ACS ACS (Ant Colony System) – improved AS Four changes Transitions Pheromone updates Local updates Candidate lists

1) A new transition rule More explicit exploration enforcement Next city selected from candidate list If random > threshold, most desireable Otherwise, weighted random (same as before)

2) A new update rule Intensity formula is the same D intensity = intensity_constant / length_of_tour Or 0 if not visited Only applied to best solution Other solutions must emerge through local updates

3) Local updates Intensity decays when ant follows edge Intensity = (1-decay_constant)*intensity + (decay_constant) * leftover_constant Forces ants to try different paths

4) Candidate list The q closest unvisited cities are the only ones considered If no unvisited cities, go to the nearest city

How does ACS do? Tested on 2500 iterations with 10 ants for 50 cities Comparable to or better than standard algorithms. On larger problems, a local search is needed

Unimplemented improvements Actually use the threshold Allow the r best ants to udpate Penalize bad routes Use better local searches Test using “dynamic benchmarks”

Implemented modifications Max-Min AS Only one ant updates Pheromones bounded to (min, max) Trails initialized to max. Trail-smoothing D intensity a (max – intensity)

Another modification AS-rank Uses elitists Updates proportional to performance

The End With local-optimizing help, ants were successful with the TSP. Questions?