基于Spark的并行模拟退火算法求解TSP
DOI:
CSTR:
作者:
作者单位:

北方民族大学计算机科学与工程学院 宁夏 银川 750021

作者简介:

通讯作者:

中图分类号:

TP301.6

基金项目:

国家自然科学基金项目(62062002);北方民族大学中央高校基本科研业务费专项资金 (FWNX09);北方民族大学校级一般项目(2021XYZJK01)


Solving TSP based on Spark-based parallel simulated annealing algorithm
Author:
Affiliation:

College of Computer Science and Engineering, North Minzu University, Yinchuan 750021, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    模拟退火算法是求解无约束优化问题的有效方法,但求解旅行商问题时存在精度较差、容易陷入局部最优且收敛速度慢等缺点。为了改进上述问题,本文提出了一种基于Spark平台的并行模拟退火算法。修改模拟退火算法的降温函数,构造旅行商问题的解空间,采用大邻域搜索技术和2-opt算子增强局部搜索能力,引入OX交叉思想增强全局搜索能力,提出交叉协同试验并行策略与Spark平台并行实现。选取若干TSPLIB数据集进行仿真实验,对求解质量和运行时间两个方面进行测试,与其它Spark框架的并行算法进行对比实验。仿真结果表明,该算法求解精度有较大的提高,求解速度上对比其他算法提升3-10倍,能够有效求解旅行商问题。

    Abstract:

    Simulated annealing algorithm is an effective method for solving unconstrained optimization problems, but it has the disadvantages of poor accuracy, easy to fall into local optimum and slow convergence when solving travel quotient problems. In order to improve the above problems, a parallel simulated annealing algorithm based on Spark platform is proposed in this paper. The cooling function of the simulated annealing algorithm is modified to construct the solution space of the travel quotient problem, the local search capability is enhanced by using the large neighborhood search technique and the 2-opt operator, the global search capability is enhanced by introducing the OX crossover idea, and the crossover cooperative experiment parallel strategy is proposed to be implemented in parallel with the Spark platform. A number of TSPLIB datasets are selected for simulation experiments to test both solution quality and running time, and to compare the experiments with other parallel algorithms of Spark framework.The simulation results show that the solution accuracy of this method is greatly improved, and the solution speed is 3-10 times higher than other algorithms, which can effectively solve the traveling salesman problem.

    参考文献
    相似文献
    引证文献
引用本文

孙鉴,刘凇佐,武晓晓,巫思敏.基于Spark的并行模拟退火算法求解TSP[J].电子测量技术,2022,45(4):53-58

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2024-06-12
  • 出版日期:
文章二维码