The Ant System Optimization by a colony of cooperating agents.

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.
Routing in a Parallel Computer. A network of processors is represented by graph G=(V,E), where |V| = N. Each processor has unique ID between 1 and N.
VEHICLE ROUTING PROBLEM
An Energy Efficient Routing Protocol for Cluster-Based Wireless Sensor Networks Using Ant Colony Optimization Ali-Asghar Salehpour, Babak Mirmobin, Ali.
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.
The Antnet Routing Algorithm - A Modified Version Firat Tekiner, Z. Ghassemlooy Optical Communications Research Group, The University of Northumbria, Newcastle.
Path Planning with the humanoid robot iCub Semester Project 2008 Pantelis Zotos Supervisor: Sarah Degallier Biologically Inspired Robotics Group (BIRG)
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Investigation of antnet routing algorithm by employing multiple ant colonies for packet switched networks to overcome the stagnation problem Firat Tekiner.
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
Ants-based Routing Marc Heissenbüttel University of Berne
Ant Colony Optimization Optimisation Methods. Overview.
CMPT Dr. Alexandra Fedorova Lecture XVII: Distributed Systems Algorithms Inspired by Biology.
Ant Colony Optimization Algorithms for the Traveling Salesman Problem ACO Kristie Simpson EE536: Advanced Artificial Intelligence Montana State.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
A Heuristic Ant Algorithm for Solving QoS Multicast Routing Problem Chao-Hsien Chu; JunHua Gu; Xiang Dan Hou; Qijun Gu Congress on Evolutionary Computation.
TUDelft Knowledge Based Systems Group Zuidplantsoen BZ Delft, The Netherlands Roland van der Put Léon Rothkrantz Routing in packet switched networks.
The Shortest Path Problem
Biologically Inspired Computation Ant Colony Optimisation.
Ta-Chun Lien. Reference Objective Introduce principle of Ant System(AS) Inspiration for your research Algorithm term project.
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.
Mediamatics / Knowledge based systems Dynamic vehicle routing using Ant Based Control Ronald Kroon Leon Rothkrantz Delft University of Technology October.
By:- Omkar Thakoor Prakhar Jain Utkarsh Diwaker
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
G5BAIM Artificial Intelligence Methods Graham Kendall Ant Algorithms.
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,
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.
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
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?
Using Ant Agents to Combine Reactive and Proactive strategies for Routing in Mobile Ad Hoc Networks Fredrick Ducatelle, Gianni di caro, and Luca Maria.
5 th Quest Programme Presentation on “Better Utilization of Equipment” Dt of Presentation: 29/07/2010 By : Ravi Agarwal, Asst. Mgr (Min.) KIOM.
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.
Scientific Research Group in Egypt (SRGE)
Lecture XVII: Distributed Systems Algorithms Inspired by Biology
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Firat Tekiner (Phd Student) Z. Ghassemlooy
Ant colonies for traveling salesman problem
Computational Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Ant Colony Optimization
traveling salesman problem
Ants and the TSP.
Computational Intelligence
Ant Colony Optimization
Presentation transcript:

The Ant System Optimization by a colony of cooperating agents

2 Question How can almost blind animals like ants manage to establish shortest route paths from their colony to feeding sources and back?

3 Pheromone trail The medium used to communicate information among ants regarding paths, and used to decide where to go. A moving ant lays some pheromone( 信息素 ) on the ground, thus marking the path by a trail of this substance. An ant encountering a previously laid trail can detect it and decide with high probability to follow it, thus reinforcing the trail with its own pheromone. The more the ants following a trail, the more attractive that trails becomes for being followed: autocatalytic( 自催化 ) behavior.

4 An example with real ants a)Ants follow a path between A and E b)An obstacle is interposed; ants choose one of the two different paths with equal probability c)On the shortest path more pheromone is laid down

5 What are artificial ants here? Agents with very simple basic capabilities which, to some extent, mimic the behavior of real ants. 1) artificial ants will have some memory; 2) they will not be complete blind; 3) they will live in an environment where time is discrete

6 An example with artificial ants

7 Basic idea If at a given point an ant has to choose among different paths, those which were heavily chosen by preceding ants (i.e., those with a high trail level) are chosen with high probability. Furthermore high trail levels are synonymous with short paths.

8 Solve TSP by ant system b(i,t): the number of ants in town i at time t m: the total number of ants Each ant is a simple agent with the following characteristics: 1)it choose the town to go to with a probability that is a function of the town distance and of the amount of trail present on the connecting edge; 2)to force the ant to make legal tours, transitions to already visited towns are disallowed until a tour is completed; 3)when it completes a tour, it lays a substance called trail on each edge (i,j) visited

9 Intensity of trail s(i,j,t): the intensity of trail on edge (i,j) at time t Each ant at time t choose the next town, where it will be at time t+1 Iteration: m moves carried out by the m ants in the interval (t,t+1) Cycle: every n iterations and each ant has completed a tour

10 Update the intensity of trail After every cycle, trail intensity is updated: s(i,j,t+n)=p*s(i,j,t)+  s(i,j) p: a coefficient such that 1-p represents the evaporation of trail between time t and t+n  s(i,j)=  s k (i,j) s k (i,j) is the quantity per unit of length of trail substance laid on edge (i,j) by the k-th ant between time t and t+n. If k-th ant uses edge (i,j) in its tour, s k (i,j)=Q/L(k), where Q is a constant and L(k) is the tour length of the k-th ant.

11 Tabu list It saves the towns already visited up to time t and forbids the ant to visit them again before n iterations (a tour) have been completed. When a tour is completed, the tabu list is used to compute the ant’s current solution. The tabu list is then emptied and the ant is free again to choose.

12 Transition probability Define the transition probability from town i to j for the k-th ant as p k (i,j,t)=(s(i,j,t)) a (q(i,j)) b /  (s(i,k,t)) a (q(i,k)) b if j is allowed. a and b are parameters that control the relative importance of trail versus visibility. visibility q(i,j)=1/d(i,j) The transition probability is a trade-off between visibility (which says that close towns should be chosen with high probability, thus implementing a greedy constructive heuristic) and trail intensity (which says that if on edge (i,j) there has been a lot of traffic then it is highly desirable, thus implementing the autocatalytic process)

13 Ant-cycle algorithm (1) Initialize time counter t=0 Cycle counter NC=0 s(i,j,t)=c,  s(i,j)=0 Place the m ants on the n nodes

14 Ant-cycle algorithm (2) Tabu list index s=1 for k=1 to m Place the starting town of the k-th ant in tabu(k,s)

15 Ant-cycle algorithm (3) Repeat until tabu list is full s=s+1 for k=1 to m choose the town j to move to, with probability p k (i,j,t) move the k-th ant to the town j insert town j in tabu(k,s)

16 Ant-cycle algorithm (4) for k=1 to m move the k-th ant from tabu(k,n) to tabu(k,1) compute the length L(k) of the tour update the shortest tour found for every edge (i,j) for k=1 to m If k-th ant uses edge (i,j) in its tour, s k (i,j)=Q/L(k)  s(i,j)=  s k (i,j)

17 Ant-cycle algorithm (5) for every edge (i,j), compute s(i,j,t+n) and set  s(i,j)=0 t=t+n NC=NC+1 IF (NC<NC_max) empty all tabu lists and goto step 2 else print shortest tour

18 Ant-density and ant-quantity These two methods differ in the way the trail is updated. Each ant lays its trail at each step, without waiting for the end of the tour. In the ant-density model a quantity Q of trail is left on edge (i,j) every time an ant goes from i to j In the ant-quantity model an ant going from i to j leaves a quantity Q/d(i,j) of trail on edge (i,j) every time it goes from i to j

19 Routing in communication networks Routing is the control mechanism that directs every message in a communication network from its source node to its destination node through a sequence of intermediate nodes or switching stations. Each switching station has a routing table that tells messages where to go, given their destinations. Because of the highly dynamic nature of communication networks, due to the time-varying stochastic changes in user traffic patterns as well as to unpredictable failures of network components, portions of a network may become congested and new routes have to be discovered dynamically.

20 Routing in communication networks In AS, ant-like agents reinforce routing table entries depending on their experience and performance in the network. If an agent has been delayed a long time because it went through a highly congested portion of the network, it will weakly reinforce routing table entries that send messages to that portion of the network. An agent that enjoyed fluid traffic conditions will apply a stronger reinforcement. A dissipation or evaporation mechanism is also applied regularly to the routing table entries to refresh the system and prevent obsolete solutions from being maintained.

21 1-D optimization min z=f(x), x  [a,b] There are m+1 ants whose initial location are: x(i)=(b-a)*i/m, i=0,1,...,m Then these m ants begin to move.

22 How to move? For ant i, choose ant j randomly. If f(x(i))<f(x(j)), search locally. If f(x(i))>f(x(j)), ant i jumps to the region of ant j according the probability: P(i,j)=s(j) a (f(x(i))-f(x(j)) b /  s(j) a (f(x(i))-f(x(j)) b s(j)=p*s(j)+  s(j)

23 Current research situation SAANNGAAS theory ★△△? application ★△△? software △△? ─ complexity △? ──