Ant Colony Optimization

Slides:



Advertisements
Similar presentations
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Advertisements

1 ISE 410 Heuristics in Optimization Particle Swarm Optimization
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
VEHICLE ROUTING PROBLEM
Swarm Intelligence (sarat chand) (naresh Kumar) (veeranjaneyulu) (kalyan raghu)‏
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.
1 Chapter 5 Advanced Search. 2 l
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 New Approach for Task Level Computational Resource Bi-Partitioning Gang Wang, Wenrui Gong, Ryan Kastner Express Lab, Dept. of ECE, University of California,
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.
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
FORS 8450 Advanced Forest Planning Lecture 19 Ant Colony Optimization.
Ant colony optimization algorithms Mykulska Eugenia
CSM6120 Introduction to Intelligent Systems Other evolutionary algorithms.
Genetic Algorithms and Ant Colony Optimisation
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Swarm Computing Applications in Software Engineering By Chaitanya.
Swarm Intelligence 虞台文.
Algorithms and their Applications CS2004 ( )
Meta- Heuristic Algorithms Ant Colony Genetic Algorithm Simulated Annealing.
Design & Analysis of Algorithms Combinatory optimization SCHOOL OF COMPUTING Pasi Fränti
Ant Colony Optimization. Summer 2010: Dr. M. Ameer Ali Ant Colony Optimization.
Ant Colony Optimization Theresa Meggie Barker von Haartman IE 516 Spring 2005.
Object Oriented Programming Assignment Introduction Dr. Mike Spann
Discrete optimization of trusses using ant colony metaphor Saurabh Samdani, Vinay Belambe, B.Tech Students, Indian Institute Of Technology Guwahati, Guwahati.
Resource Constrained Project Scheduling Problem. Overview Resource Constrained Project Scheduling problem Job Shop scheduling problem Ant Colony Optimization.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
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 Quadratic Assignment Problem Hernan AGUIRRE, Adel BEN HAJ YEDDER, Andre DIAS and Pascalis RAPTIS Problem Leader: Marco Dorigo Team.
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Ant Colony Optimization 22c: 145, Chapter 12. Outline Introduction (Swarm intelligence) Natural behavior of ants First Algorithm: Ant System Improvements.
Lagrangean Relaxation
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.
What is Ant Colony Optimization?
ACO for NP-hard Problems (continued) ACO February 2008 C. Colson.
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.
Optimization Problems
Scientific Research Group in Egypt (SRGE)
Scientific Research Group in Egypt (SRGE)
Design and Analysis of Algorithm
Subject Name: Operation Research Subject Code: 10CS661 Prepared By:Mrs
Ant colonies for traveling salesman problem
metaheuristic methods and their applications
Study Guide for ES205 Yu-Chi Ho Jonathan T. Lee Nov. 7, 2000
Optimization Problems
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?
Multi-Objective Optimization
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Subset of Slides from Lei Li, HongRui Liu, Roberto Lu
Ant Colony Optimization
Design & Analysis of Algorithms Combinatorial optimization
traveling salesman problem
Chapter 6 Network Flow Models.
Ant Colony Optimization
Simulated Annealing & Boltzmann Machines
Discrete Optimization
Presentation transcript:

Ant Colony Optimization Theresa Meggie Barker von Haartman IE 516 Spring 2005

Overview

ACO Concept Ants (blind) navigate from nest to food source Shortest path is discovered via pheromone trails each ant moves at random pheromone is deposited on path ants detect lead ant’s path, inclined to follow more pheromone on path increases probability of path being followed

ACO System Virtual “trail” accumulated on path segments Starting node selected at random Path selected at random based on amount of “trail” present on possible paths from starting node higher probability for paths with more “trail” Ant reaches next node, selects next path Continues until reaches starting node Finished “tour” is a solution

ACO System, cont. A completed tour is analyzed for optimality “Trail” amount adjusted to favor better solutions better solutions receive more trail worse solutions receive less trail higher probability of ant selecting path that is part of a better-performing tour New cycle is performed Repeated until most ants select the same tour on every cycle (convergence to solution)

ACO System, cont. Often applied to TSP (Travelling Salesman Problem): shortest path between n nodes Algorithm in Pseudocode: Initialize Trail Do While (Stopping Criteria Not Satisfied) – Cycle Loop Do Until (Each Ant Completes a Tour) – Tour Loop Local Trail Update End Do Analyze Tours Global Trail Update

Background Discrete optimization problems difficult to solve “Soft computing techniques” developed in past ten years: Genetic algorithms (GAs) based on natural selection and genetics Ant Colony Optimization (ACO) modeling ant colony behavior

Background, cont. Developed by Marco Dorigo (Milan, Italy), and others in early 1990s Some common applications: Quadratic assignment problems Scheduling problems Dynamic routing problems in networks Theoretical analysis difficult algorithm is based on a series of random decisions (by artificial ants) probability of decisions changes on each iteration

Implementation

Ant Algorithms

Ant Algorithms

Implementation Can be used for both Static and Dynamic Combinatorial optimization problems Convergence is guaranteed, although the speed is unknown Value Solution

The Algorithm Ant Colony Algorithms are typically use to solve minimum cost problems. We may usually have N nodes and A undirected arcs There are two working modes for the ants: either forwards or backwards. Pheromones are only deposited in backward mode.

The Algorithm The ants memory allows them to retrace the path it has followed while searching for the destination node Before moving backward on their memorized path, they eliminate any loops from it. While moving backwards, the ants leave pheromones on the arcs they traversed.

The Algorithm The ants evaluate the cost of the paths they have traversed. The shorter paths will receive a greater deposit of pheromones. An evaporation rule will be tied with the pheromones, which will reduce the chance for poor quality solutions.

The Algorithm At the beginning of the search process, a constant amount of pheromone is assigned to all arcs. When located at a node i an ant k uses the pheromone trail to compute the probability of choosing j as the next node: where is the neighborhood of ant k when in node i.

The Algorithm When the arc (i,j) is traversed , the pheromone value changes as follows: By using this rule, the probability increases that forthcoming ants will use this arc.

The Algorithm After each ant k has moved to the next node, the pheromones evaporate by the following equation to all the arcs: where is a parameter. An iteration is a completer cycle involving ants’ movement, pheromone evaporation, and pheromone deposit.

Steps for Solving a Problem by ACO Represent the problem in the form of sets of components and transitions, or by a set of weighted graphs, on which ants can build solutions Define the meaning of the pheromone trails Define the heuristic preference for the ant while constructing a solution If possible implement a efficient local search algorithm for the problem to be solved. Choose a specific ACO algorithm and apply to problem being solved Tune the parameter of the ACO algorithm.

Applications Efficiently Solves NP hard Problems Routing Assignment 1 4 3 5 2 1 Efficiently Solves NP hard Problems Routing TSP (Traveling Salesman Problem) Vehicle Routing Sequential Ordering Assignment QAP (Quadratic Assignment Problem) Graph Coloring Generalized Assignment Frequency Assignment University Course Time Scheduling

Applications Scheduling Subset Job Shop Open Shop Flow Shop Total tardiness (weighted/non-weighted) Project Scheduling Group Shop Subset Multi-Knapsack Max Independent Set Redundancy Allocation Set Covering Weight Constrained Graph Tree partition Arc-weighted L cardinality tree Maximum Clique

Applications Other Machine Learning Network Routing Shortest Common Sequence Constraint Satisfaction 2D-HP protein folding Bin Packing Machine Learning Classification Rules Bayesian networks Fuzzy systems Network Routing Connection oriented network routing Connection network routing Optical network routing

Advantages and Disadvantages

Advantages and Disadvantages For TSPs (Traveling Salesman Problem), relatively efficient for a small number of nodes, TSPs can be solved by exhaustive search for a large number of nodes, TSPs are very computationally difficult to solve (NP-hard) – exponential time to convergence Performs better against other global optimization techniques for TSP (neural net, genetic algorithms, simulated annealing) Compared to GAs (Genetic Algorithms): retains memory of entire colony instead of previous generation only less affected by poor initial solutions (due to combination of random path selection and colony memory)

Advantages and Disadvantages, cont. Can be used in dynamic applications (adapts to changes such as new distances, etc.) Has been applied to a wide variety of applications As with GAs, good choice for constrained discrete problems (not a gradient-based algorithm)

Advantages and Disadvantages, cont. Theoretical analysis is difficult: Due to sequences of random decisions (not independent) Probability distribution changes by iteration Research is experimental rather than theoretical Convergence is guaranteed, but time to convergence uncertain

Advantages and Disadvantages, cont. Tradeoffs in evaluating convergence: In NP-hard problems, need high-quality solutions quickly – focus is on quality of solutions In dynamic network routing problems, need solutions for changing conditions – focus is on effective evaluation of alternative paths Coding is somewhat complicated, not straightforward Pheromone “trail” additions/deletions, global updates and local updates Large number of different ACO algorithms to exploit different problem characteristics

Sources Dorigo, Marco and Stützle, Thomas. (2004) Ant Colony Optimization, Cambridge, MA: The MIT Press. Dorigo, Marco, Gambardella, Luca M., Middendorf, Martin. (2002) “Guest Editorial,” IEEE Transactions on Evolutionary Computation, 6(4): 317-320. Thompson, Jonathan, “Ant Colony Optimization.” http://www.orsoc.org.uk/region/regional/swords/swords.ppt, accessed April 24, 2005. Camp, Charles V., Bichon, Barron, J. and Stovall, Scott P. (2005) “Design of Steel Frames Using Ant Colony Optimization,” Journal of Structural Engineeering, 131 (3):369-379. Fjalldal, Johann Bragi, “An Introduction to Ant Colony Algorithms.” http://www.informatics.sussex.ac.uk/research/nlp/gazdar/teach/atc/1999/web/johannf/ants.html, accessed April 24, 2005.

Questions?