Ant Algorithms. Ant Algorithms. Ant Algorithms. Ant Algorithms. G5BAIM Artificial Intelligence Methods. Finally. Ant Algorithms.

Similar documents
Capacitor Placement for Economical Electrical Systems using Ant Colony Search Algorithm

Part B" Ants (Natural and Artificial)! Langton s Vants" (Virtual Ants)! Vants! Example! Time Reversibility!

Self-Adaptive Ant Colony System for the Traveling Salesman Problem

Ant Colony Optimization: an introduction. Daniel Chivilikhin

New approaches to evaporation in ant colony optimization algorithms

Solving the Homogeneous Probabilistic Traveling Salesman Problem by the ACO Metaheuristic

Artificial Intelligence Methods (G5BAIM) - Examination

ARTIFICIAL INTELLIGENCE

Artificial Intelligence Methods (G5BAIM) - Examination

Hamiltonian(t) - An Ant-Inspired Heuristic for Recognizing Hamiltonian Graphs

Sensitive Ant Model for Combinatorial Optimization

Swarm Intelligence Traveling Salesman Problem and Ant System

A Note on the Parameter of Evaporation in the Ant Colony Optimization Algorithm

Intuitionistic Fuzzy Estimation of the Ant Methodology

ASGA: Improving the Ant System by Integration with Genetic Algorithms

Swarm intelligence: Ant Colony Optimisation

Outline. Ant Colony Optimization. Outline. Swarm Intelligence DM812 METAHEURISTICS. 1. Ant Colony Optimization Context Inspiration from Nature

Implementation of Travelling Salesman Problem Using ant Colony Optimization

An ant colony algorithm for multiple sequence alignment in bioinformatics

ANT colony optimization (ACO) [2] is a metaheuristic inspired

Updating ACO Pheromones Using Stochastic Gradient Ascent and Cross-Entropy Methods

Natural Computing. Lecture 11. Michael Herrmann phone: Informatics Forum /10/2011 ACO II

3D HP Protein Folding Problem using Ant Algorithm

A Short Convergence Proof for a Class of Ant Colony Optimization Algorithms

The Application of the Ant Colony Decision Rule Algorithm on Distributed Data Mining

Swarm-bots and Swarmanoid: Two experiments in embodied swarm intelligence

Mapping Lessons from Ants to Free Flight An Ant-based Weather Avoidance Algorithm in Free Flight Airspace

Traffic Signal Control with Swarm Intelligence

AN ANT APPROACH FOR STRUCTURED QUADRATIC ASSIGNMENT PROBLEMS

Ant Colony Optimization. Prepared by: Ahmad Elshamli, Daniel Asmar, Fadi Elmasri

Gas Turbine LQR, INTEGRAL Controllers and Optimal PID Tuning by Ant Colony Optimization Comparative Study

Mining Spatial Trends by a Colony of Cooperative Ant Agents

Mining Spatial Trends by a Colony of Cooperative Ant Agents

Collective Intelligence for Optimal Power Flow Solution Using Ant Colony Optimization

An ant colony algorithm applied to lay-up optimization of laminated composite plates

A MULTIDIRECTIONAL MODIFIED PHYSARUM SOLVER FOR DISCRETE DECISION MAKING

Metaheuristics and Local Search

Metaheuristics and Local Search. Discrete optimization problems. Solution approaches

An ACO Algorithm for the Most Probable Explanation Problem

Travel Time Calculation With GIS in Rail Station Location Optimization

An Ant Colony Optimization Approach to the Probabilistic Traveling Salesman Problem

Swarm-bots. Marco Dorigo FNRS Research Director IRIDIA Université Libre de Bruxelles

Ant Colony Optimization for Resource-Constrained Project Scheduling

Research Article Ant Colony Search Algorithm for Optimal Generators Startup during Power System Restoration

Optimal Placement and Sizing of Capacitor Banks Using Fuzzy-Ant Approach in Electrical Distribution Systems

depending only on local relations. All cells use the same updating rule, Time advances in discrete steps. All cells update synchronously.

Ant Colony Optimization for Multi-objective Optimization Problems

An Enhanced Aggregation Pheromone System for Real-Parameter Optimization in the ACO Metaphor

Meta-heuristic ant colony optimization technique to forecast the amount of summer monsoon rainfall: skill comparison with Markov chain model

Motivation, Basic Concepts, Basic Methods, Travelling Salesperson Problem (TSP), Algorithms

Algorithms and Complexity theory

Available online at ScienceDirect. Procedia Computer Science 20 (2013 ) 90 95

Distribution System Power Loss Reduction by Optical Location and Size of Capacitor

Mauro Birattari, Prasanna Balaprakash, and Marco Dorigo

Introduction to Swarm Robotics

Outline. 1 Initial Definitions. 2 Examples of SI in Biology. 3 Self-Organization. 4 Stigmergy. 5 Swarm Robotics

Improving convergence of combinatorial optimization meta-heuristic algorithms

Swarm Intelligence Systems

Deterministic Nonlinear Modeling of Ant Algorithm with Logistic Multi-Agent System

Overview. Optimization. Easy optimization problems. Monte Carlo for Optimization. 1. Survey MC ideas for optimization: (a) Multistart

Tractable & Intractable Problems

Computational Intelligence Methods

Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit.

Chapter 17: Ant Algorithms

Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once.

Femtosecond Quantum Control for Quantum Computing and Quantum Networks. Caroline Gollub

An Improved Ant Colony Optimization Algorithm for Clustering Proteins in Protein Interaction Network

Lin-Kernighan Heuristic. Simulated Annealing

Meta heuristic algorithms for parallel identical machines scheduling problem with weighted late work criterion and common due date

Travelling Salesman Problem

A Land Use Spatial Allocation Model based on Ant. Colony Optimization

Math Models of OR: Traveling Salesman Problem

Md Momin Al Aziz. Analysis of Algorithms. Asymptotic Notations 3 COMP Computer Science University of Manitoba

Solving Multi-Criteria Optimization Problems with Population-Based ACO

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW)

The Travelling Salesman Problem with Time Windows: Adapting Algorithms from Travel-time to Makespan Optimization

8.3 Hamiltonian Paths and Circuits

Meta-heuristic ant colony optimization technique to forecast the amount of summer monsoon rainfall: skill comparison with Markov chain model

NP-Completeness. ch34 Hewett. Problem. Tractable Intractable Non-computable computationally infeasible super poly-time alg. sol. E.g.

The Traveling Salesman Problem: An Overview. David P. Williamson, Cornell University Ebay Research January 21, 2014

Majority Rule with Differential Latency: An Absorbing Markov Chain to Model Consensus

NP-Completeness. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University

7.1 Basis for Boltzmann machine. 7. Boltzmann machines

Intro to Contemporary Math

U nst ruct ured P2P Information Ret rieval Based on t he Ant Colony Algorit hm

CS/COE

Convergence Control in ACO

Solving Numerical Optimization Problems by Simulating Particle-Wave Duality and Social Information Sharing

A Framework for Integrating Exact and Heuristic Optimization Methods

Finding the Shortest Hamiltonian Path for Iranian Cities Using Hybrid Simulated Annealing and Ant Colony Optimization Algorithms

Chapter 3: Discrete Optimization Integer Programming

Intelligent Model for Distributing Product in Supply Chain Management

Convergence of Ant Colony Optimization on First-Order Deceptive Systems

The Beauty and Joy of Computing

A study on ant colony systems with fuzzy pheromone dispersion

A NOTE ON A SINGLE VEHICLE AND ONE DESTINATION ROUTING PROBLEM AND ITS GAME-THEORETIC MODELS

Solving the Travelling Salesman Problem Using Quantum Computing

of places Key stage 1 Key stage 2 describe places

A Nonlinear Multi-agent System designed for Swarm Intelligence : the Logistic MAS

Ant Foraging Revisited

Transcription:

G5BAIM Genetic Algorithms G5BAIM Artificial Intelligence Methods Dr. Rong Qu Finally.. So that s why we ve been getting pictures of ants all this time!!!! Guy Theraulaz Ants are practically blind but they still manage to find their way to and from food. How do they do it? These observations inspired a new type of algorithm called ant algorithms (or ant systems) These algorithms are very new (Dorigo, 996) and is still very much a research area Ant systems are a population based approach. In this respect it is similar to genetic algorithms There is a population of ants, with each ant finding a solution and then communicating with the other ants Ant Colonies for the Traveling Salesman Problem (Dorigo M. & L.M. Gambardella (997). Ant Colonies for the Traveling Salesman Problem. BioSystems, 43:73-8. (Also Tecnical Report TR/IRIDIA/996-3, IRIDIA, Université Libre de Bruxelles.) The Ant System: Optimization by a Colony of Cooperating Agents (Dorigo M., V. Maniezzo & A. Colorni (996). The Ant System: Optimization by a Colony of Cooperating Agents. IEEE Transactions on Systems, Man, and Cybernetics-Part B, 26():29-4). An Introduction to (Dorigo M. and Colorni A. The Ant System: Optimization by a colony of cooperating agents, IEEE Transactions on Systems, Man, and Cybernetics- Part B, 26(), 996, pp -3). B A G E H C F D

E F D d=0.5 C d=0.5 B A Time, t, is discrete At each time unit an ant moves a distance, d, of Once an ant has moved it lays down unit of pheromone At t=0, there is no pheromone on any edge F D 0.5 E C B 0.5 A 6 ants are moving from A - F and another 6 are moving from F - A At t= there will be 6 ants at B and 6 ants at D. At t=2 there will be 8 ants at D and 8 ants at B. There will be 6 ants at E The intensities on the edges will be as follows FD = 6, AB = 6, BE = 8, ED = 8, BC = 6 and CD = 6 We are interested in exploring the search space, rather than simply plotting a route We need to allow the ants to explore paths and follow the best paths with some probability in proportion to the intensity of the pheromone trail We do not want them simply to follow the route with the highest amount of pheromone on it, else our search will quickly settle on a suboptimal (and probably very sub-optimal) solution The probability of an ant following a certain route is a function, not only of the pheromone intensity but also a function of what the ant can see (visibility) The pheromone trail must not build unbounded. Therefore, we need evaporation initial ideas Dorigo (996) Based on real world phenomena Ants, despite almost blind, are able to find their way to the food source using the shortest route If an obstacle is placed, ants have to decide which way to take around the obstacle. 2

initial ideas Dorigo (996) Initially there is a 50-50 probability as to which way they will turn Assume one route is shorter than the other Ants taking the shorter route will arrive at a point on the other side of the obstacle before the ants which take the longer route. initial ideas Dorigo (996) As ants walk they deposit pheromone trail. Ants have taken shorter route will have already laid trail So ants from the other direction are more likely to follow that route with deposit of pheromone. initial ideas Dorigo (996) Over a period of time, the shortest route will have high levels of pheromone. The quantity of pheromones accumulates faster on the shorter path than on the longer one There is positive feedback which reinforces that behaviors so that the more ants follow a particular route, the more desirable it becomes. and the TSP At the start of the algorithm one ant is placed in each city Variations have been tested by Dorigo and the TSP Time, t, is discrete. t(0) marks the start of the algorithm. At t+ every ant will have moved to a new city Assuming that the TSP is being represented as a fully connected graph, each edge has an intensity of trail on it. This represents the pheromone trail laid by the ants Let T i,j (t) represent the intensity of trail edge (i,j) at time t 3

and the TSP When an ant decides which town to move to next, it does so with a probability that is based on the distance to that city and the amount of trail intensity on the connecting edge The distance to the next town, is known as the visibility, n ij, and is defined as /d ij, where, d, is the distance between cities i and j. and the TSP At each time unit evaporation takes place The amount of evaporation, p, is a value between 0 and and the TSP In order to stop ants visiting the same city in the same tour a data structure, Tabu, is maintained This stops ants visiting cities they have previously visited Tabu k is defined as the list for the k th ant and it holds the cities that have already been visited and the TSP After each ant tour the trail intensity on each edge is updated using the following formula T ij (t + n) = p. T ij (t) + T ij k T ij Q Lk = 0 if the kth ant uses edge( i, j) ( between time t and t + n) otherwise in its tour Q is a constant and L k is the tour length of the k th ant and the TSP T ij (t + n) = p. T ij (t) + T ij Q is a constant and L k is the tour length of the kth ant P is the evaporation coefficient By using this rule, the probability increases that forthcoming ants will use edge (i, j) k p ij and the TSP Transition Probability α β [ Tij( t)].[ nij] ( t) = k allowedk Tik [ ( t)] 0 α. [ nik] β if j allowedk otherwise where α and β are control parameters that control the relative importance of trail versus visibility 4

Numerator Denominator Mo ve A to A TRUE.73 0.00 Visibility A to A.00 0.00.73 0.00 Mo ve A to A FALSE.73.73 Visibility A to A.00.00.73.73 Mo ve A to B FALSE.73.73 Visibility A to B 0.89 0.89.55.55 Tr ail Edg e Co nstan t 0. 5 Visib ility Co nstan t 0. 5 and the TSP and the TSP If you are interested (and willing to do some work) there is a spreadsheet that implements some of the above formula Mo ve A to B FALSE.73.73 Visibility A to B 0.89 0.89.55.55 Distance T able Mo ve A to C FALSE.73.73 Visibility A to C 0.93 0.93.62.62 A A B B C D E Mo ve A to D FALSE.73.73 Visibility A to D 0.99 0.99.72.72 A.00 Mo ve A to E FALSE.73.73 Visibility A to E 0.77 0.77.33.33 A.00 Mo ve A to F FALSE.73.73 Visibility A to F 0.79 0.79.37.37 B 0.80 Mo ve A to F FALSE.73.73 Visibility A to F 0.79 0.79.37.37 B 0.80 Mo ve A to G FALSE.73.73 Visibility A to G 0.88 0.88.52.52 C 0.87 Mo ve A to H FALSE.73.73 Visibility A to H 0.98 0.98.70.70 D 0.99 Mo ve A to H FALSE.73.73 Visibility A to H 0.98 0.98.70.70 E 0.59 Mo ve A to I FALSE.73.73 Visibility A to I 0.97 0.97.69.69 F 0.63 F 0.63 SUM's 22.52 20.78.88 0.88 20.58 8.854898738 G 0.77 H 0.96 H 0.96 Probability A to A 0. 00 00 0 I 0.95 Probability A to A 0. 09 8 8 Probability A to B 0. 08 2 8 Tr ail Edg e Table Probability A to B 0. 08 2 8 A A B B C D E Probability A to C 0. 08 57 0 A 3.00 Probability A to D 0. 09 4 2 A 3.00 Probability A to E 0. 07 05 7 B 3.00 Probability A to F 0. 07 29 3 B 3.00 Probability A to F 0. 07 29 3 C 3.00 Probability A to G 0. 08 06 2 D 3.00 Probability A to H 0. 09 00 2 E 3.00 Probability A to H 0. 09 00 2 F 3.00 Probability A to I 0. 08 95 5 F 3.00 G 3.00 H 3.00 This spreadsheet m o de l s t h e t ra ns i tion probability shown in the paper [ref2] H 3.00 See notes, if necessary I 3.00 Trail distribution at the beginning (Dorigo et al., 996) and the TSP - Applications Travelling Salesman Problem (TSP) Facility Layout Problem - which can be shown to be a Quadratic Assignment Problem (QAP) Vehicle Routing Trail distribution after 00 cycles. (Dorigo et al., 996) Stock Cutting (at Nottingham) - Applications Marco Dorigo, who did the seminal work on ant algorithms, maintains a WWW page devoted to this subject http://iridia.ulb.ac.be/~mdorigo/aco/aco.html This site contains information about ant algorithms as well as links to the main papers published on the subject. Summary Ant algorithms are inspired by real ant colony Probability of ant following certain route is a function Pheromone intensity Visibility Evaporation Ant algorithms in TSP (Dorigo, 996) 5

G5BAIM Artificial Intelligence Methods Dr. Rong Qu End of 6