Accelerating ant colony optimisation for the travelling salesman problem on the GPU

被引:19
作者
Uchida, Akihiro [1 ]
Ito, Yasuaki [1 ]
Nakano, Koji [1 ]
机构
[1] Hiroshima Univ, Dept Informat Engn, Higashihiroshima, Japan
关键词
ant colony optimisation; travelling salesman problem; GPU; CUDA; parallel processing;
D O I
10.1080/17445760.2013.842568
中图分类号
TP301 [理论、方法];
学科分类号
081202 [计算机软件与理论];
摘要
Recent graphics processing units (GPUs) can be used for general purpose parallel computation. Ant colony optimisation (ACO) approaches have been introduced as nature-inspired heuristics to find good solutions of the travelling salesman problem (TSP). In ACO approaches, a number of ants traverse the cities of the TSP to find better solutions of the TSP. The ants randomly select next visiting cities based on the probabilities determined by total amounts of their pheromone spread on routes. The main contribution of this paper is to present sophisticated and efficient implementation of one of the ACO approaches on the GPU. In our implementation, we have considered many programming issues of the GPU architecture including coalesced access of global memory and shared memory bank conflicts. In particular, we present a very efficient method for random selection of next cities by a number of ants. Our new method uses iterative random trial which can find next cities in few computational costs with high probability. This idea can be applied in not only GPU implementation but also CPU implementation. The experimental results on NVIDIA GeForce GTX 580 show that our implementation for 1002 cities runs in 8.71 s, while the CPU implementation runs in 190.05 s. Thus, our GPU implementation attains a speed-up factor of 22.11.
引用
收藏
页码:401 / 420
页数:20
相关论文
共 26 条
[1]
Enhancing data parallelism for Ant Colony Optimization on GPUs [J].
Cecilia, Jose M. ;
Garcia, Jose M. ;
Nisbet, Andy ;
Amos, Martyn ;
Ujaldon, Manuel .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2013, 73 (01) :42-51
[2]
Cormen T. H., 2009, INTRO ALGORITHMS, V3rd
[3]
Delevacq A., 2010, P INT C PAR DISTR PR, P196
[4]
Delisle P., 2001, P 3 EUR WORKSH OPENM
[5]
Dorigo M., 1997, IEEE Transactions on Evolutionary Computation, V1, P53, DOI 10.1109/4235.585892
[6]
Ant system: Optimization by a colony of cooperating agents [J].
Dorigo, M ;
Maniezzo, V ;
Colorni, A .
IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 1996, 26 (01) :29-41
[7]
Dorigo M., 1992, PH THESIS
[8]
Traveling salesman should not be greedy: domination analysis of greedy-type heuristics for the TSP [J].
Gutin, G ;
Yeo, A ;
Zverovich, A .
DISCRETE APPLIED MATHEMATICS, 2002, 117 (1-3) :81-86
[9]
Ito Y., 2011, Proceedings of the 2011 Second International Conference on Networking and Computing (ICNC 2011), P313, DOI 10.1109/ICNC.2011.61
[10]
Johnson D.S., 1979, COMPUTERS INTRACTABI