AN ANT APPROACH FOR STRUCTURED QUADRATIC ASSIGNMENT PROBLEMS

Similar documents
Ruin and Recreate Principle Based Approach for the Quadratic Assignment Problem

Capacitor Placement for Economical Electrical Systems using Ant Colony Search Algorithm

COMPARISON OF ITERATIVE SEARCHES FOR THE QUADRATIC ASSIGNMENT PROBLEM

Ant Colony Optimization: an introduction. Daniel Chivilikhin

New approaches to evaporation in ant colony optimization algorithms

3D HP Protein Folding Problem using Ant Algorithm

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

Solving the Homogeneous Probabilistic Traveling Salesman Problem by the ACO Metaheuristic

A reactive framework for Ant Colony Optimization

Backbone analysis and algorithm design for the quadratic assignment problem

Sensitive Ant Model for Combinatorial Optimization

A New Heuristic for the Quadratic Assignment Problem

A new set of hybrid heuristics for the quadratic assignment problem

Self-Adaptive Ant Colony System for the Traveling Salesman Problem

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

Distance Metrics and Fitness Distance Analysis for the Capacitated Vehicle Routing Problem

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

Metaheuristics and Local Search

Intuitionistic Fuzzy Estimation of the Ant Methodology

XLVI Pesquisa Operacional na Gestão da Segurança Pública

ARTIFICIAL INTELLIGENCE

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

Metaheuristics and Local Search. Discrete optimization problems. Solution approaches

Multi-objective Quadratic Assignment Problem instances generator with a known optimum solution

An ant colony algorithm for multiple sequence alignment in bioinformatics

Implementation of Travelling Salesman Problem Using ant Colony Optimization

Solving Multi-Criteria Optimization Problems with Population-Based ACO

Swarm Intelligence Traveling Salesman Problem and Ant System

MAX-2-SAT: How Good is Tabu Search in the Worst-Case?

Solving the Post Enrolment Course Timetabling Problem by Ant Colony Optimization

Ant Colony Optimization for Resource-Constrained Project Scheduling

Tightening a Discrete Formulation of the Quadratic Assignment Problem

Swarm intelligence: Ant Colony Optimisation

Single Solution-based Metaheuristics

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

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

Mining Spatial Trends by a Colony of Cooperative Ant Agents

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

A Hybrid Method for the Wave Equation. beilina

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

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

A pruning pattern list approach to the permutation flowshop scheduling problem

Research Article A Novel Differential Evolution Invasive Weed Optimization Algorithm for Solving Nonlinear Equations Systems

Available online at ScienceDirect. Procedia Technology 25 (2016 )

An Evolutionary Programming Based Algorithm for HMM training

Collective Intelligence for Optimal Power Flow Solution Using Ant Colony Optimization

Mining Spatial Trends by a Colony of Cooperative Ant Agents

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

A Comparative Study Of Optimization Techniques For Capacitor Location In Electrical Distribution Systems

Informatik-Bericht Nr

5. Simulated Annealing 5.1 Basic Concepts. Fall 2010 Instructor: Dr. Masoud Yaghini

PROBLEM SOLVING AND SEARCH IN ARTIFICIAL INTELLIGENCE

Evolutionary computation

Few statistical tests for proportions comparison

New Instances for the Single Machine Total Weighted Tardiness Problem

Population-Based Incremental Learning with Immigrants Schemes in Changing Environments

Variable Objective Search

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

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

Lin-Kernighan Heuristic. Simulated Annealing

Fundamentals of Metaheuristics

Traffic Signal Control with Swarm Intelligence

Recent advances in the solution of quadratic assignment problems

Zebo Peng Embedded Systems Laboratory IDA, Linköping University

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

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

Research Article A Hybrid Backtracking Search Optimization Algorithm with Differential Evolution

AMultiobjective optimisation problem (MOP) can be

Lecture H2. Heuristic Methods: Iterated Local Search, Simulated Annealing and Tabu Search. Saeed Bastani

Meta-heuristics for combinatorial optimisation

Algorithms and Complexity theory

ASGA: Improving the Ant System by Integration with Genetic Algorithms

Comparing genetic algorithm crossover and mutation operators for the indexing problem

Lecture 9 Evolutionary Computation: Genetic algorithms

SIMU L TED ATED ANNEA L NG ING

Mauro Birattari, Prasanna Balaprakash, and Marco Dorigo

CSC 4510 Machine Learning

A Hybrid Data Mining Metaheuristic for the p-median Problem

OPTIMAL DISPATCH OF REAL POWER GENERATION USING PARTICLE SWARM OPTIMIZATION: A CASE STUDY OF EGBIN THERMAL STATION

Evolutionary Computation. DEIS-Cesena Alma Mater Studiorum Università di Bologna Cesena (Italia)

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

An ACO Algorithm for the Most Probable Explanation Problem

Convergence of Ant Colony Optimization on First-Order Deceptive Systems

SPARSE signal representations have gained popularity in recent

OPTIMAL POWER FLOW BASED ON PARTICLE SWARM OPTIMIZATION

Beta Damping Quantum Behaved Particle Swarm Optimization

GRASP heuristics for discrete & continuous global optimization

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

Design of Higher Order LP and HP Digital IIR Filter Using the Concept of Teaching-Learning Based Optimization

Evolutionary Multitasking in Permutation-Based Combinatorial Optimization Problems: Realization with TSP, QAP, LOP, and JSP

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

Estimating Bounds for Quadratic Assignment Problems Associated with Hamming and Manhattan Distance Matrices based on Semidefinite Programming

An Exact Algorithm for the Steiner Tree Problem with Delays

A new restart procedure for combinatorial optimization and its convergence

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

ILP-Based Reduced Variable Neighborhood Search for Large-Scale Minimum Common String Partition

7.1 Basis for Boltzmann machine. 7. Boltzmann machines

Gradient-based Adaptive Stochastic Search

ON SOLUTION OF NONLINEAR MODELS: A HYBRID ALGORITHM OF ARTIFICIAL BEE COLONY ALGORITHM AND ARTIFICIAL SHOWERING ALGORITHM

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

Transcription:

AN ANT APPROACH FOR STRUCTURED QUADRATIC ASSIGNMENT PROBLEMS Éric D. Taillard, Luca M. Gambardella IDSIA, Corso Elvezia 36, CH-6900 Lugano, Switzerland. Extended abstract IDSIA-22-97 ABSTRACT. The paper presents a new heuristic method for the quadratic assignment problem. This method is based on an artificial ant system, hybridized with a fast local search. The method is easy to implement and numerical results show that it is fast and efficient for structured problems. Key words : Quadratic assignment problem, ant system, adaptive memory programming. 1. INTRODUCTION. Ant systems for finding heuristic solutions to combinatorial optimization problems have been proposed by Corloni, Dorigo and Maniezzo in 1991. The basic idea of ant systems is to imitate the behaviour of real ants when they are looking for food. An artificial ant built a solution of the problem to solve, being myopically guided by two informations : the objective function value (analogue to the presence of food for real ants) and traces left by other artificial ants having already built solutions (analogue of a chemical information left on the floor by real ants for guiding other ants). After having built a new solution, the artificial ant update the traces, taking into consideration the quality of the solution just built. The rôle of the traces is to implement an adaptive memory that evolves in time. The quadratic assignment problem (QAP) is a NP-hard combinatorial optimization problem whose goal is to find a permutation π of n elements that minimizes the following objective function : min f ( π) = aij bππ π i j Pn ( ) i= 1 j= 1 n n Where P(n) is the set of permutations of n elements, (a ij ) and (b ij ) are two n n matrices (data). This problem can be solved exactly for very small sizes only (n 25). So, it is necessary to use heuristic methods to get good solutions for larger problems. The ant system presented in this paper is rather loosely connected to the behaviour of real ants but it is rather inspired by a successful approach to the travelling salesman problem due to Dorigo and Gambardella and based on an ant system. The approach presented in this paper is able to find out the structure of good solutions to the QAP, if such a structure exists. 1

2. THE ANT SYSTEM FOR QAP. Very shortly, the process executed by an artificial ant searching for a permutation π can be sketched as follows : 1) Initialize variable r and all the entries of the matrix of the traces, τ, to r. 2) For k = 1 to k max do : 2a) Build a new solution π, using τ, in a probabilistic way. 2b) Locally optimize π, to obtain an improved solution µ. 2c) Update π*, the best solution found by the process and τ, using µ and π*. The elements τ ij of the matrix of traces are measuring the preference or the interest of setting π i = j. In addition to k max, the number of iterations that the process performs, our algorithm have another parameter, r*, corresponding to the reinforcement of the elements of τ regarding to the best solution ever produced by the process, π*. We can now present into details our implementation of our ant system, step by step. 1) Initial values Initially, variable r is set to 1. This variable corresponds to the reinforcement of the traces for the solution produced at the current iteration. All the traces are set to r : τ ij = r, 1 i, j n. 2a) Generation of a new solution For generating a new solution π, we choose the elements of π successively, in a random order and with a probability proportional to the values contained in the matrix of traces. More formally, the process is the following : 1) I =, J = 2) While I < n repeat : 2a) Choose i, randomly, uniformly, 1 i n, i I. 2b) Choose j, randomly, 1 j n, j J, with probability τ τ and set π i = j. ij ik 1 k n, k J 2c) I = I {i}, J = J {j} 2b) Improvement of a solution The solution π generated at the previous step is generally not so good ; at the first iteration, π is just a random permutation. So, we apply to π the first steps of a first improving neighbour procedure. More formally, we repeat the following procedure twice, where (π, i, j) is the difference in the objective function value when exchanging the elements π i and π j in π : 1) I =. 2) While I < n repeat : 2a) Choose i, randomly, uniformly, 1 i n, i I. 2b) J = {i} 2c) While J < n repeat : 2c1) Choose j, randomly, uniformly, 1 j n, j J. 2c2) If (π, i, j) < 0, exchange π i and π j in π. 2c3) J = J {j} 2d) I = I {i}. 2

The evaluation of (π, i, j) can be performed in O(n) using the formula : ( aii ajj )( bπ π bππ ) + ( aij aji )( bπ π bππ ) + j j i i j i i j ( π, i, j) = ( aki akj )( bπ π bπ π) + ( aik ajk )( bπ π bπ π ) k j k i j k i k k i, j Therefore this procedure can be executed in O(n 3 ) ; it does not necessarily returns a local optimum, but it is fast and may produce different solutions when starting with the same initial, not locally optimal solution. From now on, we are going to call µ the improved solution. 2c) Updates If the new solution generated with the trace (before applying the improvement steps) is equal to π* then set r = r + 1 and re-set all the traces to r. This corresponds to cancelling all the informations contained in the matrix of the traces when these informations are not significantly different from π* (i. e. when the traces τ iπ i * are so high regarding to the other traces that the solution π* has a high probability of being generated as initial solution). The effect of incrementing r is to give less weight to solution π* in the further updates of the traces. If µ, the improved solution is better than π*, i. e. f(µ) < f(π*), then set π* = µ, r = 1 and re-set all the traces to r. Finally, we proceed to the regular update of the traces as follows : 1) For i = 1 to n do : 1a) τiµ = τ i iµ + r i 1b) τ * = τ * + r * iπi iπi In our implementation, we used r* = 4. 3. NUMERICAL RESULTS. Several good heuristic methods have been designed for the QAP. Among the best ones, let us quote : A robust taboo search (RTS) due to Taillard (1991), the reactive taboo search of Battiti and Tecchioli (1994) that is especially good for long runs on uniform problem instances, the genetic hybrid of Fleurent and Ferland (1994) that is especially good for long runs on structured problems and finally the star-shaped diversified taboo search of Sondergeld and Voß, that was successfully applied to a turbine runner balancing problem. Very recently, another ant system due to Stützle (1997) has been developed. However, it seems that the computational results of our method are generally better. It is shown in Taillard (1995) that the quality of the solutions produced by a given method highly depends on the type of the problem instance. Our purpose is to show that our ant procedure is able to find good solutions in a moderate amount of time for problems presenting a structure. For this type of problems, the best methods seems to be the genetic hybrid of Fleurent and Ferland followed by RTS. Unfortunately, the genetic hybrid method requires a large amount of computing time. In fact, short runs of this method simply consist in repeating independent RTS with 4n iterations. Therefore, we compare our ant system with RTS and with repetitions of short RTS that start with different initial solutions. 3

Table 1 provides the following informations : The problem name, as given in the QAPLIB of Burkard, Karisch and Rendl (1991 ), the numbers embedded in these names correspond to the size of the problems, The best known solution value of these instances, The quality of the solutions produced by the ant system after 50 iterations (measured in per cent above the best known value), The computing time of the ant system (seconds on Sun Sparc 5), The quality of the solutions produced by RTS after 40n iterations The quality of the best of 10 independent runs of the robust taboo search with 4n iterations, The computing time of RTS (which is about the same for both RTS versions). Problem name Best known solution Ant Quality k max = 50 [%] Ant CPU [s] RTS 40n [%] 10 RTS 4n [%] CPU RTS [s] Nug20 2570 0.47 1.1 0.26 0.35 1.0 Nug30 6124 1.24 4.4 0.38 0.48 4.2 Sko42 15812 1.22 13 0.39 0.58 13 Sko56 34458 1.23 34 0.51 0.75 33 Sko81 90998 1.01 103 0.59 0.74 110 Tai20a 703482 1.18 1.3 1.18 1.07 1.3 Tai50a 4941410 3.71 24 1.78 2.06 26 Tai100a 21125314 3.06 220 1.23 1.47 243 Bur26 a-h 5609661.875 0.027 1.95 0.28 0.039 2.4 Els19 17212548 1.76 0.85 26.6 2.17 1.0 Esc64 116 0 1.9 1.55 0 23 Esc128 64 0 80.3 13.1 1.25 405 Kra30 a-b 90160 1.86 4.3 2.02 1.59 4.0 Tai20b 122455319 0.51 1.14 20.8 1.35 1.2 Tai25b 344355646 0.34 2.5 15.1 1.67 2.7 Tai30b 637117113 0.93 4.4 13.8 2.72 4.8 Tai35b 283315445 0.71 7.3 10.2 2.25 8.2 Tai40b 637250948 0.86 11 10.3 5.14 12 Tai50b 458821517 0.79 24 6.67 2.46 27 Tai60b 608215054 0.94 46 7.92 2.63 47 Tai80b 818415043 2.36 106 4.78 3.50 120 Tai100b 1185996137 1.11 212 4.35 2.64 231 Tai150b 498998296 1.76 752 3.25 2.35 855 Table 1 : Comparison of the ant system with RTS All results in Table 1 are average for 10 runs of each method. When a run find the best known solution, it is stopped ; therefore, the average computing times are sometimes lower than the time needed for completing the iteration limit. The fact that at least one of the ten runs have found the best known solution is indicated in italics in the table. We have divided Table 1 into two parts : first are the problems that are unstructured and regular (i. e. the matrices are either randomly, uniformly generated or corresponds to manhattan distances on a grid) ; the second part corresponds to problems having a strong, non uniform structure. We see in this table that our ant system performs very well on that last type of problems while being weaker on unstructured problems. Let us quote 4

that longer runs of our ant system have succeeded in improving the best known solutions to the largest problems of the QAPLIB : tai150b (498998296) and tai256c (44765184). 4. CONCLUSIONS We have proposed a new heuristic for solving the quadratic assignment problem. This approach is based on the ant system, but includes few non standard variants : each ant uses a local search procedure, the traces are updated in a very simple way and are frequently cancelled, leading to a method that is rather aggressive. Numerical experiments show that the method is competitive on structured problems, leading to improving two of the largest instances of the QAPLIB, but performs fairly on random, uniform ones. Acknowledgements This research was supported by the Swiss National Science Foundation project number 21-45653.95. 5. BIBLIOGRAPHY R. Battiti and G. Tecchiolli, The reactive tabu search, ORSA Journal on Computing 6, 1994, 126-140. R. E. Burkard, S. Karisch and F. Rendl, QAPLIB A quadratic assignment problem library, European Journal of Operational Research 55, 1991, 115-119, electronic update : http://fmtbhpl.tu graz.ac.at/~karisch/qaplib, (29. 1. 1997). A. Corloni, M. Dorigo and V. Maniezzo, Distributed Optimization by Ant Colonies, Proceedings of the European Conference on Artificial Life, Elsevier Publishing, 1991, 134-142. M. Dorigo and L. M. Gambardella, Ant colony system : A cooperative Learning Approach to the Traveling Salesman Problem, IEEE Transactions on Evolutionary Computing 1, 1997. C. Fleurent and J. Ferland, Genetic hybrids for the quadratic assignment problem, DIMACS Series in Mathematics and Theoretical Computer Science 16, 1994, 190-206. É. Taillard, Robust taboo search for the quadratic assignment problem, Parallel Computing 17, 1991, 443-455. L. Sondergeld and S. Voß, A Star-Shaped Diversification Approach in Tabu Search, in : Meta- Heuristics : Theory and Applications, I. H. Osman and J. P. Kelly (editors), Kluwer Academic Publishers, 1996, 489-502. T. Stützle, The MAX-MIN Ant System and Local Search for Combinatorial Optimization Problems, Technical report of the Department of Computer Science - Intellectics Group of the Technical University of Darmstadt, 1997. 5