Ant Colony System Based Solutions to the Quadratic Assignment Problem on GPGPU

The NP-hard Quadratic Assignment Problem (QAP) was proposed in 1957. Until this date, it remains one of the hardest problems to solve in any reasonable amount of time, even for small instances. Even using parallel computation and assuming small instances of the problem, some naive and deterministic algorithms require too much time to obtain the solution. In some cases an approximate approach would be satisfactory and heuristic and approximation algorithms have been proposed. In this paper we use heuristic techniques based on ant colony system to find approximate solutions for the QAP using GPGPUs (General-Purpose Computing on Graphics Processing Units). We review two methods to solve this problem: Hybrid Ant System (HAS-QAP algorithm) and the cunning Ant System (cASQAP algorithm). We parallelize both algorithms to run on a GPU, using CUDA. The parallelized HAS version (called CUDAHAS) outperforms the parallel cAS algorithm and we present performance results of this parallel algorithm with respect to its sequential counterpart. We used four well-known input instances (named els19, nug30, sko72 and wil100), of sizes ranging from 19 to 100, whose best solutions are known. Our results show the power of the GPU algorithm CUDA-HAS in the case when the required error margin is small (0.1% error), where our CUDA-HAS algorithm was able to present a speedup of 103 with respect to the sequential execution time by the CPU alone, for the instance nug30. The HAS-GPU algorithm is indicated when we wish to solve the QAP for large sizes (up to 100) with a solution that is close to the optimum.

[1]  M Dorigo,et al.  Ant colonies for the quadratic assignment problem , 1999, J. Oper. Res. Soc..

[2]  Jens Clausen,et al.  Solving Large Quadratic Assignment Problems in Parallel , 1997, Comput. Optim. Appl..

[3]  Marco Dorigo,et al.  Optimization, Learning and Natural Algorithms , 1992 .

[4]  Peter Hahn,et al.  A branch-and-bound algorithm for the quadratic assignment problem based on the Hungarian method , 1998, Eur. J. Oper. Res..

[5]  Panos M. Pardalos,et al.  A parallel algorithm for the quadratic assignment problem , 1989, Proceedings of the 1989 ACM/IEEE Conference on Supercomputing (Supercomputing '89).

[6]  Marco Dorigo,et al.  Ant system: optimization by a colony of cooperating agents , 1996, IEEE Trans. Syst. Man Cybern. Part B.

[7]  Shigeyoshi Tsutsui,et al.  Solving quadratic assignment problems with the cunning ant system , 2007, 2007 IEEE Congress on Evolutionary Computation.

[8]  Kurt M. Anstreicher,et al.  Recent advances in the solution of quadratic assignment problems , 2003, Math. Program..

[9]  Jadranka Skorin-Kapov,et al.  Tabu Search Applied to the Quadratic Assignment Problem , 1990, INFORMS J. Comput..

[10]  T. L. Ward,et al.  Solving Quadratic Assignment Problems by ‘Simulated Annealing’ , 1987 .

[11]  Éric D. Taillard,et al.  Robust taboo search for the quadratic assignment problem , 1991, Parallel Comput..

[12]  Alan M. Frieze,et al.  A new rounding procedure for the assignment problem with applications to dense graph arrangement problems , 2002, Math. Program..

[13]  A. N. Elshafei,et al.  Hospital Layout as a Quadratic Assignment Problem , 1977 .

[14]  T. Koopmans,et al.  Assignment Problems and the Location of Economic Activities , 1957 .

[15]  Jens Clausen,et al.  Joining forces in solving large-scale quadratic assignment problems in parallel , 1997, Proceedings 11th International Parallel Processing Symposium.

[16]  Kurt M. Anstreicher,et al.  The Steinberg Wiring Problem , 2004, The Sharpest Cut.

[17]  Shigeyoshi Tsutsui,et al.  Cunning Ant System for Quadratic Assignment Problem with Local Search and Parallelization , 2007, PReMI.

[18]  Jakob Krarup,et al.  Computer-aided layout design , 1978 .

[19]  Teofilo F. Gonzalez,et al.  P-Complete Approximation Problems , 1976, J. ACM.

[20]  Panos M. Pardalos,et al.  Quadratic Assignment Problem , 1997, Encyclopedia of Optimization.

[21]  Leon Steinberg,et al.  The Backboard Wiring Problem: A Placement Algorithm , 1961 .

[22]  Panos M. Pardalos,et al.  Implementation of a Variance Reduction-Based Lower Bound in a Branch-and-Bound Algorithm for the Quadratic Assignment Problem , 1997, SIAM J. Optim..

[23]  Michael J. Flynn,et al.  Some Computer Organizations and Their Effectiveness , 1972, IEEE Transactions on Computers.

[24]  Shigeyoshi Tsutsui Parallel Ant Colony Optimization for the Quadratic Assignment Problems with Symmetric Multi Processing , 2008, ANTS Conference.

[25]  Luca Maria Gambardella,et al.  Ant colony system: a cooperative learning approach to the traveling salesman problem , 1997, IEEE Trans. Evol. Comput..