Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2011, Vol. 37 ›› Issue (12): 170-172. doi: 10.3969/j.issn.1000-3428.2011.12.057

• Networks and Communications • Previous Articles     Next Articles

Analysis on Three Parallel Models of Ant Colony Algorithm

WANG Lei1, CAO Han1, WANG Chang-ying2   

  1. (1. College of Computer Science, Shaanxi Normal University, Xi’an 710062, China; 2. Computer and Information Science, Fujian Agriculture and Forestry University, Fuzhou 350002, China)
  • Received:2010-11-16 Online:2011-06-20 Published:2011-06-20

蚁群算法的三种并行模型分析

王 磊 1,曹 菡 1,王长缨 2   

  1. (1. 陕西师范大学计算机科学学院,西安 710062;2. 福建农林大学计算机与信息学院,福州 350002)
  • 作者简介:王 磊(1984-),男,硕士研究生,主研方向:并行计算;曹 菡,教授、博士;王长缨,副教授、博士
  • 基金资助:

    陕西师范大学研究生培养创新基金资助项目(2010CXS 012)

Abstract:

This paper constructs parallel model based on Open Multi-processing(OpenMP) and parallel model based on Message Passing Interface(MPI) in multi-core environment, and constructs parallel model based on MPI and parallel model based on MPI+OpenMP in the multi-core clusters. The preferred strategy of dynamic ant colony and the strategy of sub-cycle exchange are presented. Finding optimized path of road is used to compare the three models. Experimental results show that MPI-based model run faster and get higher speedup than OpenMP-based model. In multi-core environment, hybrid model of MPI+OpenMP gets higher speedup than MPI-based model with more processes.

Key words: ant colony algorithm, mutlicore, cluster, parallel model, information communication strategy

摘要:

在单机多核下分别构造基于OpenMP和MPI的并行蚁群算法模型,在多核集群机下构造基于MPI和MPI+OpenMP的并行蚁群算法模型,并提出动态蚁群择优策略及分段周期交流策略。基于实际路网的路径寻优问题对上述模型进行比较,实验结果表明,在单机多核下,基于MPI的模型与基于OpenMP的模型相比,运行时间短,加速比高,在多核集群机下,基于MPI+OpenMP的混合模型相比基于MPI的模型,在进程数较多时仍具有较高的加速比。

关键词: 蚁群算法, 多核, 集群机, 并行模型, 信息交流策略

CLC Number: