Ta-Chun Lien. Reference Objective Introduce principle of Ant System(AS) Inspiration for your research Algorithm term project.

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.
CS6800 Advanced Theory of Computation
VEHICLE ROUTING PROBLEM
ICS-171:Notes 4: 1 Notes 4: Optimal Search ICS 171 Summer 1999.
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.
Algorithm Strategies Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Biologically Inspired Computation Lecture 10: Ant Colony Optimisation.
Ant Colonies As Logistic Processes Optimizers
MAE 552 – Heuristic Optimization
EAs for Combinatorial Optimization Problems BLG 602E.
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
A Heuristic Ant Algorithm for Solving QoS Multicast Routing Problem Chao-Hsien Chu; JunHua Gu; Xiang Dan Hou; Qijun Gu Congress on Evolutionary Computation.
When Ants Attack! Ant Algorithms for Subset Selection Problems Derek BridgeFinbarr TarrantChristine Solnon University College CorkUniversity of Lyon.
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 algorithms Mykulska Eugenia
Part B Ants (Natural and Artificial) 8/25/ Real Ants (especially the black garden ant, Lasius niger)
Swarm intelligence Self-organization in nature and how we can learn from it.
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
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
Kavita Singh CS-A What is Swarm Intelligence (SI)? “The emergent collective intelligence of groups of simple agents.”
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
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.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
Resource Constrained Project Scheduling Problem. Overview Resource Constrained Project Scheduling problem Job Shop scheduling problem Ant Colony Optimization.
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.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Ant colony optimization. HISTORY introduced by Marco Dorigo (MILAN,ITALY) in his doctoral thesis in 1992 Using to solve traveling salesman problem(TSP).traveling.
Technical Seminar Presentation Presented By:- Prasanna Kumar Misra(EI ) Under the guidance of Ms. Suchilipi Nepak Presented By Prasanna.
Ant Colony Optimization 22c: 145, Chapter 12. Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements.
5 Fundamentals of Ant Colony Search Algorithms Yong-Hua Song, Haiyan Lu, Kwang Y. Lee, and I. K. Yu.
Ant Colony Optimization Andriy Baranov
The Ant System Optimization by a colony of cooperating agents.
Yogesh sharma IIT Ankur mangal IIT
Biologically Inspired Computation Ant Colony Optimisation.
Artificial Intelligence Search Methodologies Dr Rong Qu School of Computer Science University of Nottingham Nottingham, NG8 1BB, UK
Path Planning Based on Ant Colony Algorithm and Distributed Local Navigation for Multi-Robot Systems International Conference on Mechatronics and Automation.
What is Ant Colony Optimization?
B.Ombuki-Berman1 Swarm Intelligence Ant-based algorithms Ref: Various Internet resources, books, journal papers (see assignment 3 references)
Ant Colony Optimisation. Emergent Problem Solving in Lasius Niger ants, For Lasius Niger ants, [Franks, 89] observed: –regulation of nest temperature.
Genetic Algorithms And other approaches for similar applications Optimization Techniques.
Genetic Algorithms.
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
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
traveling salesman problem
Ants and the TSP.
Computational Intelligence
Ant Colony Optimization
Presentation transcript:

Ta-Chun Lien

Reference

Objective Introduce principle of Ant System(AS) Inspiration for your research Algorithm term project

Agenda Inspiration Biological Background Adapt to Computer System Ant System Travel Salesman Problem Model Definition Ant Cycle Algorithm Parameter Setting Basic Parameter setting from Model definition Synergistic Effects

Agenda(cont’d) Properties Initialization Elitist Strategy Problem Size Experiment Travel Salesman Problem Asymmetric Travel Salesman Problem Conclusions and Extensions Contribution of this Paper Extension

Inspiration Biological Background Adapt to Computer System

Biological background One of the problems studied by ethologists was to understand how almost blind animals like ants could manage to establish shortest route paths from their colony to feeding sources and back The Answer is Pheromone Trails

What is Pheromone(from wiki) A pheromone (from Greek φέρω phero "to bear" + ‘ορμόνη “hormone") is a chemical that triggers a natural behavioral response in another member of the same species. There are alarm pheromones, food trail pheromones, sex pheromones, and many others that affect behavior or physiology. Their use among insects has been particularly well documented, although many vertebrates and plants also communicate using pheromones.

Trail Pheromones(from wiki) Trail pheromones are common in social insects. For example, ants mark their paths with these pheromones, which are non-volatile hydrocarbons. Certain ants lay down an initial trail of pheromones as they return to the nest with food. This trail attracts other ants and serves as a guide. As long as the food source remains, the pheromone trail will be continually renewed. The pheromone must be continually renewed because it evaporates quickly. When the supply begins to dwindle, the trailmaking ceases. In at least one species of ant, trails that no longer lead to food are also marked with a repellent pheromone.

Biological background(cont’d)

Adapt to computer system Artificial Ants will have some Memory They will not be completely Blind They will live an environment where time is discrete

Adapt to computer system(cont’d)

Ant System TSP problem (AS is designed to solve TSP Problem originally) Model Definition Ant Cycle Algorithm

Travel Salesman Problem Given a graph G=(V,E), where: V:set of Cities E:set of edges between Cities and :Euclidean distance between i and j The problem is finding a minimal length closed tour that visits each town once

Travel Salesman Problem(cont’d) TSP NPC, you can reduce HC to NPC For this problem, each simple agent have the following characteristics: (1)it choose the town to go with a function of the town distance and amount of trail (Pheromone Trails) (2)used a tabu list to make a legal tours (3)lays a substance called trail on each edge(i,j) visited, when it completes a tour (4)Each agent at time t chooses the next town, where it will be at time t+1

Model Definition iteration and cycle tabu list Trail intensity update formula Transition probability formula(decide where to go)

Iteration and Cycle (t)(i=1,…,n) be the number of ants in town i at time t m=, total number of ants an iteration of the AS algorithm the m moves carried out by the m ants in the interval (t,t+1), and every n iteration of the algorithm called a cycle(completed a tour)

Tabu list associate with each ant a data structure called the tabu list, that saves the town already visited and forbids the ant to visit them again before a cycle completed. when a cycle is completed, the tabu list is used to compute the ant’s travel distance

Tabu Search(from wiki) Tabu search is a mathematical optimization method, belonging to the class of local search techniques. Tabu search enhances the performance of a local search method by using memory structures: once a potential solution has been determined, it is marked as "taboo" ("tabu" being a different spelling of the same word) so that the algorithm does not visit that possibility repeatedly. Tabu search is attributed to Fred Glover.

Trail intensity update formula :intensity of trail on edge (i,j) at time t Trail intensity update formula: ρ: is a coefficient such that(1 - ρ)represents the evaporation of trail between time t and t+n(ρ<1) is the quantity per unit of length of trail substance laid on edge (i,j) by the k-th ant between t and t+n

Trail intensity update formula(cont’d) definition: Q is a constant(user define) and is the tour length of the k-th ant.

Model Definition(5) visibility : transition probability from i to town j for the k-th ant: ={V- }

Ant Cycle Algorithm(1) 1.Initialization: set t:=0 {t is time counter} set NC:=0 {NC is the cycles counter} for every edge(i,j) set an initial value (t)=c for trail intensity and =0 place the m ants on the n nodes 2.set s:=1 {s is the tabu list index} For k:=1 to m do place the starting town of the k-th ant in

Ant Cycle Algorithm(2) 3.repeat until tabu list is full {this step will be repeated n-1 times} set s:=s+1 for k:=1 to m do choose the town j to move to, with probability given by Transition probability formula {at time t the k-th ant is on town i= } Move the k-th ant to the town j insert town j in

Ant Cycle Algorithm(3) 4.for k:=1 to m do move the k-th ant from to compute the length of k-th ant’s tabu list update the shortest tour found for every edge(i,j) for k:=1 to m do

Ant Cycle Algorithm(4) 5.For every edge (i,j) compute according to equation set t:=t+n set NC:=NC+1 For every edge (i,j) set 6.if(NC< ) and (not stagnation behavior) then empty all tabu list goto step2 else print shortest tour and STOP

A Simplified Flowchart initial starting travel estimate set trail terminal? Set counter and termination condition Reset tabu list travel by probability equation evaluate tour length by tabu list Estimate trail intensity by intensity formula

Time Complexity StepComplexity Step1 Step2 Step3 Step4 Step5 Step6 Time Complexity:

Take a break Okunohosomichi, Tohoku,Japan

What’s the difference between AS and SGA in TSP AS is more intuitive for this problem SGA can solve this problem well, but you should overcome following difficulties: (1)how to encode this problem? or DCABE? (2)how to learn linkage? (3)how to do crossover and how to do crossover without disrupt BB?

Parameter Setting Basic Parameter setting from Model definition Synergistic Effects

Basic Parameter setting from Model definition(1) α: the relative importance of the trail,α≥0 β: the relative importance of the visibility,β≥0 ρ: trail persistence,0≤ρ≤1 Q:a constant related to the quantity of trail laid by ants

Basic Parameter setting from Model definition(2) It will lead to premature convergence, if ρ is too high

Basic Parameter setting from Model definition(3)

Synergistic Effects

Synergistic Effects(cont’d)

Properties Initialization Elitist Strategy Problem Size

Initialization Is there any difference between the case in which all ants are in the same city and the case in which thy are uniformly distributed? the answer is distributing ants resulted in better performance Whether an initial random distribution of the ants over the cities performed better than a uniform one? the answer is no significant difference between the two choices

Elitist Strategy Modified algorithm in which at every cycle the trail laid on the edges belonging to the best-so-far tour is reinforced more than in the standard version Added to the trail of each arc of the best tour a quantity, where e is the number of elitist ants and is the length of the best found tour.

Elitist Strategy(cont’d)

Problem Size

Problem Size(cont’d) size cycles

Experiment Travel Salesman Problem Asymmetric Travel Salesman Problem

Travel Salesman Problem Comparison with TSP-tailored heuristics Comparison with general-purpose heuristics

Heuristic algorithm(from wiki) In computer science, a heuristic algorithm or simply a heuristic is an algorithm that ignores whether the solution to the problem can be proven to be correct, but which usually produces a good solution or solves a simpler problem that contains or intersects with the solution of the more complex problem. Heuristics are typically used when there is no known way to find an optimal solution, or when it is desirable to give up finding the optimal solution for an improvement in run time.

Comparison with TSP-tailored heuristics Compare AS with the “Travel” package Run on Oliver30 problem

Comparison with general-purpose heuristics Compare AS with the Simulated Annealing(SA) and Tabu Search(TS) Run on Oliver30 problem for 1 hour on a IBM- compatible PC with Intel processor

Asymmetric Travel Salesman Problem The asymmetric traveling salesman problem is a TSP in which the distance between two nodes is not symmetric(i.e., ) Application of the AS to the ATSP is straightforward, no modifications are necessary Run test problem the RY48P problem for 4000 cycles Result: the best found tour was 14899, that is 3.3% longer than the optimal one average number of cycles to find it was 1517

Conclusions Employing positive feedback as a search and optimization tool Showing how synergy can arise and be useful in distribution systems Showing how to apply the AS to different combinatorial optimization problem

Extension M.Dorigo, Optimization, Learning and Natural Algorithms, Ph.D Thesis, Dip. Elettronica e Informazione, Politecnico di Milano, Italy, 1992 M.Dorigo T.Sttzle, Ant Colony Optimization,MIT press, 2004 (1430 NT dollars in tenlong bookstore)

and sorry no pretty girl picture today