Ant Colony Optimization (ACO)



Similar documents
Ant Colony System: A Cooperative Learning Approach to the Traveling Salesman Problem

Solving Traveling Salesman Problem by Using Improved Ant Colony Optimization Algorithm

An ant colony optimization for single-machine weighted tardiness scheduling with sequence-dependent setups

An ACO Approach to Solve a Variant of TSP

An Improved ACO Algorithm for Multicast Routing

by strong pheromone concentrations. The pheromone trail allows the ants to find their

Modified Ant Colony Optimization for Solving Traveling Salesman Problem

Ant colony optimization techniques for the vehicle routing problem

1 ACO Algorithms for the

The ACO Encoding. Alberto Moraglio, Fernando E. B. Otero, and Colin G. Johnson

Swarm Intelligence Algorithms Parameter Tuning

Design and Analysis of ACO algorithms for edge matching problems


Using Ant Colony Optimization for Infrastructure Maintenance Scheduling

A Performance Comparison of GA and ACO Applied to TSP

A DISTRIBUTED APPROACH TO ANT COLONY OPTIMIZATION

An Improved Ant Colony Optimization Algorithm for Software Project Planning and Scheduling

An ACO-based Approach for Scheduling Task Graphs with Communication Costs

A hybrid ACO algorithm for the Capacitated Minimum Spanning Tree Problem

Journal of Theoretical and Applied Information Technology 20 th July Vol.77. No JATIT & LLS. All rights reserved.

STUDY OF PROJECT SCHEDULING AND RESOURCE ALLOCATION USING ANT COLONY OPTIMIZATION 1

ACO FOR OPTIMAL SENSOR LAYOUT

Routing Optimization Heuristics Algorithms for Urban Solid Waste Transportation Management

Comparative Study: ACO and EC for TSP

CLOUD DATABASE ROUTE SCHEDULING USING COMBANATION OF PARTICLE SWARM OPTIMIZATION AND GENETIC ALGORITHM

Finding Liveness Errors with ACO

Travelling Salesman Problem

Proposed Software Testing Using Intelligent techniques (Intelligent Water Drop (IWD) and Ant Colony Optimization Algorithm (ACO))

INTERNATIONAL JOURNAL OF COMPUTER ENGINEERING & TECHNOLOGY (IJCET)

Ant colonies for the traveling salesman problem

vii TABLE OF CONTENTS CHAPTER TITLE PAGE DECLARATION DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK

Computational Intelligence Algorithms for Optimized Vehicle Routing Applications in Geographic Information Systems

Parallel Ant Systems for the Capacitated Vehicle Routing Problem

A Study of Local Optima in the Biobjective Travelling Salesman Problem

Alpha Cut based Novel Selection for Genetic Algorithm

Obtaining Optimal Software Effort Estimation Data Using Feature Subset Selection

Development of Model-Ant Colony Optimization (ACO) in Route Selection Based on Behavioral User was Transport in Semarang, Indonesia

EA and ACO Algorithms Applied to Optimizing Location of Controllers in Wireless Networks

HYBRID ACO-IWD OPTIMIZATION ALGORITHM FOR MINIMIZING WEIGHTED FLOWTIME IN CLOUD-BASED PARAMETER SWEEP EXPERIMENTS

Ant colony optimization and local search for bin packing and cutting stock problems

An Ant Colony Optimization Approach to the Software Release Planning Problem

Ant Colony Optimization and Constraint Programming

Review of Solving Software Project Scheduling Problem with Ant Colony Optimization

THE ACO ALGORITHM FOR CONTAINER TRANSPORTATION NETWORK OF SEAPORTS

An ACO/VNS Hybrid Approach for a Large-Scale Energy Management Problem

An ACO algorithm for image compression

Solving Hop-constrained MST problems with ACO

An Interactive Simulation and Analysis Software for Solving TSP using Ant Colony Optimization Algorithms

A novel ACO technique for Fast and Near Optimal Solutions for the Multi-dimensional Multi-choice Knapsack Problem

ACO Hypercube Framework for Solving a University Course Timetabling Problem

A Binary Model on the Basis of Imperialist Competitive Algorithm in Order to Solve the Problem of Knapsack 1-0

Using 2-Opt based evolution strategy for travelling salesman problem

A Proposed Scheme for Software Project Scheduling and Allocation with Event Based Scheduler using Ant Colony Optimization

Solving the Vehicle Routing Problem with Genetic Algorithms

Genetic Algorithm Performance with Different Selection Strategies in Solving TSP

Application Partitioning on Programmable Platforms Using the Ant Colony Optimization

Distributed Optimization by Ant Colonies

ANT COLONY OPTIMIZATION ALGORITHM FOR RESOURCE LEVELING PROBLEM OF CONSTRUCTION PROJECT

Wireless Sensor Networks Coverage Optimization based on Improved AFSA Algorithm

ANT COLONY OPTIMIZATION BASED MODIFIED TERMITE ALGORITHM (MTA) WITH EFFICIENT STAGNATION AVOIDANCE STRATEGY FOR MANETS

Power Plant Maintenance Scheduling Using Ant Colony Optimization

Minimizing the Carbon Footprint for the Time-Dependent Heterogeneous-Fleet Vehicle Routing Problem with Alternative Paths

Cloud database dynamic route scheduling based on polymorphic ant colony optimization algorithm

ERSİTES ABSTRACT. The mization. a given. problem. proposed. Açgözlü. algoritma

Bachelor Thesis Performance comparison of heuristic algorithms in routing optimization of sequencing traversing cars in a warehouse

Operation Scheduling: Algorithms and Applications

Integrating Evolutionary Computation Components in Ant Colony Optimization

Load Balancing. Load Balancing 1 / 24

D A T A M I N I N G C L A S S I F I C A T I O N

APPLICATION OF ADVANCED SEARCH- METHODS FOR AUTOMOTIVE DATA-BUS SYSTEM SIGNAL INTEGRITY OPTIMIZATION

Integer Programming: Algorithms - 3

Ant Colony Optimization for the Traveling Salesman Problem Based on Ants with Memory

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Load balancing in a heterogeneous computer system by self-organizing Kohonen network

ASSIGNMENT OF CONTAINER TRUCKS OF A ROAD TRANSPORT COMPANY WITH CONSIDERATION OF THE LOAD BALANCING PROBLEM

ANTS COLONY SYSTEM FOR SUPPLY CHAIN ROUTES OPTIMIZATION

Running Time Analysis of ACO Systems for Shortest Path Problems

Genetic Algorithms commonly used selection, replacement, and variation operators Fernando Lobo University of Algarve

Software Framework for Vehicle Routing Problem with Hybrid Metaheuristic Algorithms

International Journal of Emerging Technology & Research

Mathematical Runtime Analysis of ACO Algorithms: Survey on an Emerging Issue

UAV ROUTE PLANNING FOR MAXIMUM TARGET COVERAGES

Social Media Mining. Graph Essentials

Computer Algorithms. NP-Complete Problems. CISC 4080 Yanjun Li

Beam-ACO hybridizing ant colony optimization with beam search: an application to open shop scheduling

XOR-based artificial bee colony algorithm for binary optimization

Study on Cloud Computing Resource Scheduling Strategy Based on the Ant Colony Optimization Algorithm

Introduction. Swarm Intelligence - Thiemo Krink EVALife Group, Dept. of Computer Science, University of Aarhus

Multi-Robot Traffic Planning Using ACO

Web Mining using Artificial Ant Colonies : A Survey

Energy Efficiency and Maximizing Network Lifetime for WSNs using ACO Algorithm

Iterated Local Search. Variable Neighborhood Search

Cloud Task Scheduling Based on Ant Colony Optimization

On the Empirical Evaluation of Las Vegas Algorithms Position Paper

A CENTROID-BASED HEURISTIC ALGORITHM FOR THE CAPACITATED VEHICLE ROUTING PROBLEM

Computational Game Theory and Clustering

The Bees Algorithm A Novel Tool for Complex Optimisation Problems

An ACO Model for a Non-stationary Formulation of the Single Elevator Problem

BMOA: Binary Magnetic Optimization Algorithm

Projects - Neural and Evolutionary Computing

Transcription:

Ant Colony Optimization (ACO) Exploits foraging behavior of ants Path optimization Problems mapping onto foraging are ACO-like TSP, ATSP QAP

Travelling Salesman Problem (TSP) Why? Hard, shortest path problem NP hard, in fact (no polynomial time algorithm) Well studied (can compare results to those known) GA [Freisleben and Merz] Iterated Lin-Kernighan etc. Easy to explain

TSP Connect n points, visiting points only once such that total path length is minimized. Path is closed; i.e. start point and end point are same. Symmetric: d = d ji It isn t easy Asymmetric: d d ji

TSP It s easy to create nonoptimal tours

Ant System (AS) for TSP Ants build tours by moving on graph Add cities one at a time until tour is complete Transition from node i to j depends on: Whether node visited (ants have a tabu list) Inverse of distance, Pheromone deposits, Transition rule: p k ( t) η =1/ d τ [ ] α τ [ η ] = [ ] α τ [ ] il ηil l k J i β β

Transition Equation k J i is the tabu list Constants: α, β α = 0, no cooperation, greedy search β= 0 no preference for shortest edge Note: p k (t), even though pheromone concentrations same, tabu list may be different p k ( t) = [ ] α τ [ η ] α [ τ il ] [ ηil ] l k J i β β

Pheromone Laying When tour complete, pheromone updated: T k (t) tour by k th ant for iteration t Q a system parameter, value is relatively unimportant = ) ( ), ( 0 ) ( ), ( ) ( / ) ( t T j i if t T j i if t L Q t k k k k τ

Pheromone Decay System performs poorly without pheromone decay: Saturates, local optimum found Pheromone decay: τ (0) small τ ( t) (1 ρ). τ ( t) + τ ( t) τ m k = 1 ( t) = τ k ( t)

Ant Density and Initial Positioning Number of ants, m, is constant for run: Too many, reinforcement too rapid Too few, pheromone decay prevents trail formation m = n found to be reasonable Initial positioning: One per node Random

Elitest Ants Stolen from Genetic Algorithms (GAs) Elitist ant is one which reinforces edges belonging to best tour, T + with length L + Each iteration, e elitist ants are added to other ants so that edges in T + get extra e.q/l + Improves algorithm slightly

Complexity and Results Time complexity: O(t.n 2.m) = O(t.n 3 ), n=m T = # iterations, n = # cities, m = # ants Initial results: Disappointing, did not match Lin-Kernighan Better for small TSP (Oliver 30 city) Rapid convergence, but only fair for 70 cities

Swarm Intelligence: Bonabeau et al Alg 2-1 Edge (top) initialization Ant initialization Next Edge Choice Tour Length Calculation Best tour update

Swarm Intelligence: Bonabeau et al Alg 2-1 (bottom) Ant pheromone updates k th Ant updates Elitest Ant updates Save new edge Pheromone values

Performance Results best Oliver30 Best Tour Average Std Dev. AS-TSP 420 420.4 1.3 TS 420 420.6 1.5 SA 422 459.8 25.1

Rapid Convergence for best tour: 1. Tends Figure to avoid 2.12 getting trapped in local optima 2. Maintains diversity in solutions as branching factor > 2 Swarm Intelligence: Bonabeau et al

Improvements Another transition rule: J J j arg max = u J k i, where p k ij ( t ) = k i {[ ( t) ]. [ ] } β τ η J iu l if q > iu q [ τ ( t )] [ η ] ij k J i 0 if q [ τ ( t )] [ η ] il ij β il β q 0 q uniformly distributed [0,1], q 0 is tunable

Observations If q > q 0, same transition as before If q q 0, make greedy choice Uses heuristic knowledge about problem: distances and pheromone trail q 0, ~1 choose locally optimal solutions q 0, ~0 all locally optimal solutions evaluated Apply Simulated Annealing to q 0

Swarm Intelligence: Bonabeau et al Figure 2-13 Maintains diversity Standard deviation remains high

Little initial pheromone, choose all edges with same probability Figure 2-14 Considerable Diversity Remains during run Swarm Intelligence: Bonabeau et al

Improved Pheromone Updating All ants deposit pheromone on tour completion ACS, best ant since beginning of trial updates network Encourages ants to search within vicinity of best tour found Exploration is more directed, more focussed Pheromone updates applied ONLY to edges on best path, (i,j) edges belonging to T +

Pheromone Updates Two forms: During creation of tour Upon tour completion by all ants

Pheromone Trail Updates τ ( 1 ρ ). τ ( ) + ρ. τ ( ) ( t) t t τ ( t) = 1/ L +

For Each Ant Transition: Local Pheromone Updates ( 1 ). ( t). 0 τ ( t) ρ τ + ρ τ τ 0 = initial value on pheromone trail Set up to be 1/(n.L nn ), L nn = length of tour found by nearest neighbor (NN) heuristic Run NN demo When ant visits an edge, the pheromone concentration decreases, making them less attractive forcing exploration of not yet visited edges. Effect of local updating is to shuffle tours. Edge desirability changes dynamically as ants visit them.

Candidate Lists Maintain list of preferred cities to be visited from a given city (size cl), ordered by distance Unvisited cities examined first, next city chosen according to: j J J arg max = u J k i, where p k ij ( t ) = k i {[ ( t) ]. [ ] } β τ η J iu l if q > iu q [ τ ( t )] [ η ] ij k J i 0 if q [ τ ( t )] [ η ] il ij β il β q 0

ACS-TSP Swarm Intelligence: Bonabeau et al Edge initialization Ant initialization Compute tour length Next Edge Choice Local Update Tour Length Calculation

Swarm Intelligence: Bonabeau et al Alg 2-2a Best tour update Ant pheromone Updates for best tour Save new edge Pheromone values

Results (25 runs) best ACS- TSP SA EN SOM 50 City (I) 5.88 5.88 5.89 6.06 50 City (II) 6.05 6.01 6.03 6.25 50 City (III) 5.58 5.65 5.70 5.83 50 City (IV) 5.74 5.81 5.86 5.87 50 City (V) 6.18 6.33 6.49 6.70

Results N/A N/A (N/A) N/A N/A (N/A) 103000 21761 (N/A) 4820 21282 (21285.44) KroA100 (100 cities) 173250 580 (N/A) 325000 542 (549.18) 80000 545 (N/A) 3480 535 (542.37) Eil75 (75 cities) 68512 443 (N/A) 100000 426 (427.86) 25000 428 (N/A) 1830 425 (427.96) Eil50 (50 cities) SA #iter SA best EP #iter EP best GA #iter GA best ACS- TSP #iter ACS-TSP best best

Adding Local Heuristics To scale, add local optimization: Works in combination with ACS For TSP, use 2-opt, 3-opt and Lin-Kernighan Eliminate 2 edges and reconnect two resulting paths to generate a different tour Run 2-opt demo

ACS-3-opt Same as ACS, except: Each ant tour is minimized upon tour creation For k = 1 to m do T k (t) 3-opt(T k (t)) {apply local opt to each tour} End For

ACS-3-opt Results (stsp) best ACS-3-opt ACS-3-opt STSP (GA) STSP (GA) Best Average Best Average d198 15780 15781.7 15780 15780 (198 cities) lin318 42029 42029 42029 42029 (318 cities) att532 27693 27718.2 27686 27693.7 (532 cities) rat783 8818 8837.9 8806 8807.3 (783 cities)

ACS-3-opt Results (atsp) best ACS-3-opt ACS-3-opt ATSP ATSP Best Average Best Average p43 2810 2810 2810 2810 (43 cities) ry48p 14422 14422 14422 14440 (48 cities) ft70 38673 38679.8 38673 38683.8 (70 cities) kro124p 36230 36230 36230 36235.3 (124 cities) ftv170 2755 2755 2755 2766.1 (170 cities)

Other Potential Improvements All r best ants to update trail, instead of single ant Reduce probability of being trapped in local opt. Allow β pheromone sensitivity -- to vary Remove pheromone from edges belonging to worst tours; i.e. those below average Increase convergence speed Use improved local search Several potential projects

Observations Pheromone concentrations vary on edges Some strongly marked, some weakly Strong on tour (likely) Weak point to alternative solutions Diversity of solutions useful in a dynamic environment We don t start from scratch Swarm may be Superior in a Dynamic environment

Other methods Min-Max AS [Stützle and Hoos] Iteration s best ant updates pheromone trail Pheromone concentrations limited to [τ min,τ max ] Trails initialized to τ max Bounding concentrations prevents stagnation Also, ( τ τ ( )) τ ( t) max t Strong trails reinforced less than weak Results better than AS, comparable with ACS

Elitest Mechanisms Bullnheimer et al Sort m ants according to tour length, L i (t) Ants update edges based upon their rank Used σ elitest ants: best σ 1 deposit trail Weighted according to max {0, σ µ} + τ ( t ) ( 1 ρ ). τ ( t ) + σ. τ ( t ) + τ ( t ) where τ τ τ + r µ ( t ) ( t ) ( t ) = = = Q / σ 1 µ = 1 L + τ ( t ) µ ( t ), µ ( σ µ ). Q / L ( t ), if ant µ uses (i, j), 0 otherwise