基于Spark的并行k均值聚类模拟退火算法求解MMTSP
DOI:
CSTR:
作者:
作者单位:

1.北方民族大学,计算机科学与工程学院,宁夏 银川 750021; 2.图像图形智能处理国家民委重点实验室, 宁夏 银川 750021

作者简介:

通讯作者:

中图分类号:

TP301.6

基金项目:

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


Spark-based parallel k-means clustering simulated annealing algorithm to solve MMTSP
Author:
Affiliation:

1.College of Computer Science and Engineering ,North Minzu University, YinChuan NingXia 750021, China; 2. Key Laboratory of Image and Graphics Intelligent Processing State Civil Affairs CommissionYinChuan NingXia 750021, China

Fund Project:

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

    多起点闭回路多旅行商问题是旅行商问题的扩展。针对这个问题文中提出了一种基于Spark框架的并行k均值聚类模拟退火算法。该算法首先采用k均值聚类算法将所有城市分类,然后对应每个类建立一个旅行商问题,并通过一种改进的模拟退火算法对旅行商问题求解,MMTSP的解由这些类的最短路径之和计算得出。所提算法采用先聚类再执行模拟退火算法的求解策略可以极大的缩减模拟退火的搜索空间,并且由于Spark框架可以将聚类算法分好的若干类并行求解,从而更快的得到MMTSP问题的最优解。选取TSPLIB数据库中若干测试实例进行仿真实验,对求解精度和运行时间两个方面进行测试,与其他几种相关算法进行对比实验。实验结果表明,与目前FCMPGA、IPGA、IWO等算法相比,求解精度提高了5%~40%,求解效率上对比其他算法提升1~5倍,尤其在K值较大时表现更优。

    Abstract:

    Multiple Depots Multiple Traveling Salesman Problem is an extension of Traveling Salesman Problem. To solve this problem, a parallel K-means clustering simulated annealing algorithm based on Spark platform is proposed. The algorithm firstly classifies all the cities by k-means clustering algorithm, then establishes a traveling salesman problem for each class, and solves the traveling salesman problem by an improved simulated annealing algorithm. The MMTSP solution is calculated from the sum of the shortest paths of these classes. The proposed algorithm adopts the solution strategy of clustering first and then simulated annealing algorithm, which can greatly reduce the simulated annealing search space. Moreover, Spark platform can divide the clustering algorithm into several classes for parallel solution, so as to obtain the optimal solution of MMTSP problem faster. Several test instances in TSPLIB database are selected for simulation experiments, and the solution accuracy and running time are tested. The experiments are compared with other related algorithms. The experimental results show that, compared with the current FCMPGA, IPGA, IWO and other algorithms, the solution accuracy is improved by 5%~40%, and the solution efficiency is improved by 1~5 times compared with other algorithms, especially when the value of K is large.

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

孙鉴,李昊,刘凇佐,刘品,陈攀,雷冰冰.基于Spark的并行k均值聚类模拟退火算法求解MMTSP[J].电子测量技术,2022,45(20):53-60

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