首页> 外文期刊>Computational Intelligence >Parallel genetic algorithm for N- Queens problem based on message passing interface-compute unified device architecture
【24h】

Parallel genetic algorithm for N- Queens problem based on message passing interface-compute unified device architecture

机译:基于消息传递接口统一设备架构的N - Queens问题的并行遗传算法

获取原文
获取原文并翻译 | 示例
           

摘要

N-Queens problem derives three variants: obtaining a specific solution, obtaining a set of solutions and obtaining all solutions. The purpose of the variant I is to find a constructive solution, which has been solved. Variant III is aiming to find all solutions and the largest number of queens currently being resolved is 26. Variant II whose purpose is to obtain a set of solutions for larger-scale problems relies on various intelligent algorithms. In this paper, we use a master-slave model genetic algorithm that combines the idea of the evolutionary algorithm and simulated annealing algorithm to solve Variant III, and use a parallel fitness function based on compute unified device architecture. Experimental results show that our scheme achieved a maximum 60-fold speedup over the single-CPU counterpart. On this basis, a two-level parallel genetic algorithm based on the island model and master-slave model is implemented on the GPU cluster by using message passing interface technology. Using two-node and three-node GPU cluster, speedup of 1.46 and 2.01 are obtained on average over single-node, respectively. Compared with the sequential genetic algorithm, the two-level parallel genetic algorithm makes full use of the parallel computing power of GPU cluster in solving N-Queen variant II and improves the performance by 99.19 times in the best case.
机译:n-queens问题衍生三种变体:获取特定解决方案,获取一组解决方案并获得所有解决方案。变型的目的是找到一个已经解决的建设性解决方案。 Variant III旨在找到所有解决方案和目前正在解决的Queens的最多Queens是26.其目的是获得一组用于更大问题的解决方案的变体II依赖于各种智能算法。在本文中,我们使用主从模型遗传算法,该遗传算法结合了进化算法和模拟退火算法的思想来求解变量III,并使用基于计算统一设备架构的并行适度功能。实验结果表明,我们的方案在单CPU对应上实现了最大60倍的加速。在此基础上,通过使用消息传递接口技术在GPU集群上实现了一种基于岛模型和主从模型的两级并行遗传算法。使用双节点和三节点GPU群集,分别通过单节点平均获得1.46和2.01的加速。与顺序遗传算法相比,两级并行遗传算法充分利用GPU集群在求解N-Queen Variant II中的并行计算能力,并在最佳情况下提高了99.19次的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号