Abstract
In this chapter, we propose an ACO for solving quadratic assignment problems (QAPs) on a GPU by combining tabu search (TS) in the Compute Unified Device Architecture (CUDA). In TS on QAPs, there are \(n(n - 1)/2\) neighbors in a candidate solution. These TS moves form two groups based on computing cost. In one group, the computing of the move cost is \(\mathcal{O}(1)\), and in the other group the computing of the move cost is \(\mathcal{O}(n)\). We compute these groups of moves in parallel by assigning the computations to threads of CUDA. In this assignment, we propose an efficient method which we call Move-Cost Adjusted Thread Assignment (MATA) that can reduce disabling time, as far as possible, in each thread of CUDA. As for the ACO algorithm, we use the Cunning Ant System (cAS). GPU computation with MATA shows a promising speedup compared to computation with CPU. Based on MATA, we also implement two types of parallel algorithms on multiple GPUs to solve QAPs faster. These are the island model and the master/slave model. As for the island model, we used four types of topologies. Although the results of speedup depend greatly on the instances which we use, we show that the island model IM_ELMR has a good speedup feature. As for the master/slave model, we observe reasonable speedups for large sizes of instances, where we use large numbers of agents. When we compare the island model and the master/slave model, the island model shows promising speedup values on class (iv) instances of QAP. On the other hand, the master/slave model consistently shows promising speedup values both on classes (i) and (iv) with large-size QAP instances with large numbers of agents.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Acan, A.: An external memory implementation in ant colony optimization. Proceedings of the 4th International Workshop on Ant Algorithms and Swarm Intelligence (ANTS-2004) pp. 73–84 (2004)
Acan, A.: An external partial permutations memory for ant colony optimization. Proceedings of the 5th European Conf. on Evolutionary Computation in Combinatorial Optimization pp. 1–11 (2005)
Alba, E.: Parallel Metaheuristics: A New Class of Algorithms. Wiley, Hoboken (2005)
Bai, H., OuYang, D., Li, X., He, L., Yu, H.: MAX-MIN ant system on GPU with CUDA. In: Innovative Computing, Information and Control, Jilin Univ., Changchun, China, pp. 801–804, 2009
Burkard, R., Çela, E., Karisch, S., Rendl, F.: QAPLIB - a quadratic assignment problem library (2009). www.seas.upenn.edu/qaplib. Accessed 17 December 2010
Cantú-Paz, E.: Efficient and Accurate Parallel Genetic Algorithms. Kluwer Academic Publishers, Norwell, MA (2000)
Delévacqa, A., Delislea, P., Gravelb, M., Krajeckia, M.: Parallel ant colony optimization on graphics processing units. J. Parallel Distr. Comput. 73(1), 52–61 (2013)
Diego, F., Gómez, E., Ortega-Mier, M., García-Sánchez, Á.: Parallel CUDA architecture for solving the VRP with ACO. In: Industrial Engineering: Innovative Networks, pp. 385–393. Springer, London (2012)
Dorigo, M., Maniezzo, V., Colorni, A.: The ant system: Optimization by a colony of cooperating agents. IEEE Trans. Syst. Man. Cybern. B Cybern. 26(1), 29–41 (1996)
Dorigo, M., Stützle, T.: Ant Colony Optimization. MIT Press, Massachusetts (2004)
Dorigo, M., Stützle, T.: Ant colony optimization: overview and recent advances. Handbook of Metaheuristics, 2nd edn., pp. 227–263. Springer, New York (2010)
Fu, J., Lei, L., Zhou, G.: A parallel ant colony optimization algorithm with GPU-acceleration based on all-in-roulette selection. In: Workshop on Advanced Computational Intelligence, Wuhan Digital Engineering Institute, Wuhan, China, pp. 260–264, 2010
Gendreau, M., Potvin, J.: Tabu search. Handbook of Metahewristics, 2nd edn., pp. 41–59. Springer, New York (2010)
Glover, F., Laguna, M.: Tabu Search. Kluwer, Boston (1997)
Luong, T.V., Melab, N., Talbi, E.G.: Parallel hybrid evolutionary algorithms on GPU. In: IEEE Congress on Evolutionary Computation, Université de Lille 1, Lille, France, pp. 2734–2741, 2010
Maitre, O., Krüger, F., Querry, S., Lachiche, N., Collet, P.: EASEA: specification and execution of evolutionary algorithms on GPGPU. Soft Comput. 16(2), 261–279 (2012)
NVIDIA: (2010). www.nvidia.com/object/cuda_home_new.html. Accessed 17 December 2010
NVIDIA: (2010). www.nvidia.com/object/fermi_architecture.html. Accessed 17 December 2010
NVIDIA: (2010). developer.download.nvidia.com/compute/cuda/3_2_prod/toolkit/docs/CUDA_CProgramming_Guide.pdf. Accessed 17 December 2010
Ryoo, S., Rodrigues, C.I., Stone, S.S., Stratton, J.A., Ueng, S.Z., Baghsorkhi, S.S., Hwu, W.: Program optimization carving for GPU computing. J. Parallel Distr. Comput. 68(10), 1389–1401 (2008)
Soca, N., Blengio, J.L., Pedemonte, M., Ezzatti, P.: PUGACE, a cellular evolutionary algorithm framework on GPUs. In: IEEE Congress on Evolutionary Computation, Universidad de la Republica, Montevideo, Uruguay, pp. 3891–3898, 2010
Stützle, T., Hoos, H.: Max-Min Ant System. Future Generat. Comput. Syst. 16(9), 889–914 (2000)
Taillard, É.: Robust taboo search for quadratic assignment problem. Parallel Comput. 17, 443–455 (1991)
Taillard, É.: Comparison of iterative searches for the quadratic assignment problem. Location Science 3(2), 87–105 (1995)
Taillard, É.: taboo search tabou_qap code (2004). http://mistic.heig-vd.ch/taillard/codes.dir/tabou_qap.cpp
Tsutsui, S.: cAS: Ant colony optimization with cunning ants. Parallel Problem Solving from Nature, pp. 162–171. Springer, Berlin (2006)
Tsutsui, S., Fujimoto, N.: Solving quadratic assignment problems by genetic algorithms with GPU computation: a case study. In: Genetic and Evolutionary Computation Conference (Companion), pp. 2523–2530. ACM, New York (2009)
Tsutsui, S., Fujimoto, N.: An analytical study of GPU computation for solving QAPs by parallel evolutionary computation with independent run. In: IEEE Congress on Evolutionary Computation, Hannan University, Matsubara, Japan, pp. 889–896, 2010
Tsutsui, S., Fujimoto, N.: ACO with tabu search on a GPU for solving QAPs using move-cost adjusted thread assignment. In: Genetic and Evolutionary Computation Conference, pp. 1547–1554. ACM, Dublin (2011)
Acknowledgements
This research is partially supported by the Ministry of Education, Culture, Sports, Science and Technology of Japan under Grant-in-Aid for Scientific Research No. 22500215.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Tsutsui, S., Fujimoto, N. (2013). ACO with Tabu Search on GPUs for Fast Solution of the QAP. In: Tsutsui, S., Collet, P. (eds) Massively Parallel Evolutionary Computation on GPGPUs. Natural Computing Series. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-37959-8_9
Download citation
DOI: https://doi.org/10.1007/978-3-642-37959-8_9
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-37958-1
Online ISBN: 978-3-642-37959-8
eBook Packages: Computer ScienceComputer Science (R0)