An efficient implementation of parallel simulated annealing algorithm in GPUs

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ferreiro, A. M., García, J. A., López-Salas, J. G., Vázquez, C.
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914894516846592
author Ferreiro, A. M.
García, J. A.
López-Salas, J. G.
Vázquez, C.
author_facet Ferreiro, A. M.
García, J. A.
López-Salas, J. G.
Vázquez, C.
contents In this work we propose a highly optimized version of a simulated annealing (SA) algorithm adapted to the more recently developed Graphic Processor Units (GPUs). The programming has been carried out with CUDA toolkit, specially designed for Nvidia GPUs. For this purpose, efficient versions of SA have been first analyzed and adapted to GPUs. Thus, an appropriate sequential SA algorithm has been developed as a starting point. Next, a straightforward asynchronous parallel version has been implemented and then a specific and more efficient synchronous version has been developed. A wide appropriate benchmark to illustrate the performance properties of the implementation has been considered. Among all tests, a classical sample problem provided by the minimization of the normalized Schwefel function has been selected to compare the behavior of the sequential, asynchronous, and synchronous versions, the last one being more advantageous in terms of balance between convergence, accuracy, and computational cost. Also, the implementation of a hybrid method combining SA with a local minimizer method has been developed. Note that the generic feature of the SA algorithm allows its application in a wide set of real problems arising in a large variety of fields, such as biology, physics, engineering, finance, and industrial processes.
format Preprint
id arxiv_https___arxiv_org_abs_2408_00018
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An efficient implementation of parallel simulated annealing algorithm in GPUs
Ferreiro, A. M.
García, J. A.
López-Salas, J. G.
Vázquez, C.
Distributed, Parallel, and Cluster Computing
Optimization and Control
In this work we propose a highly optimized version of a simulated annealing (SA) algorithm adapted to the more recently developed Graphic Processor Units (GPUs). The programming has been carried out with CUDA toolkit, specially designed for Nvidia GPUs. For this purpose, efficient versions of SA have been first analyzed and adapted to GPUs. Thus, an appropriate sequential SA algorithm has been developed as a starting point. Next, a straightforward asynchronous parallel version has been implemented and then a specific and more efficient synchronous version has been developed. A wide appropriate benchmark to illustrate the performance properties of the implementation has been considered. Among all tests, a classical sample problem provided by the minimization of the normalized Schwefel function has been selected to compare the behavior of the sequential, asynchronous, and synchronous versions, the last one being more advantageous in terms of balance between convergence, accuracy, and computational cost. Also, the implementation of a hybrid method combining SA with a local minimizer method has been developed. Note that the generic feature of the SA algorithm allows its application in a wide set of real problems arising in a large variety of fields, such as biology, physics, engineering, finance, and industrial processes.
title An efficient implementation of parallel simulated annealing algorithm in GPUs
topic Distributed, Parallel, and Cluster Computing
Optimization and Control
url https://arxiv.org/abs/2408.00018