测绘通报 ›› 2019, Vol. 0 ›› Issue (11): 22-25.doi: 10.13474/j.cnki.11-2246.2019.0345

• 路径优化算法及应用 • 上一篇    下一篇

路径优化算法在外卖配送中的应用

蔡林, 李英冰, 邹子昕   

  1. 武汉大学测绘学院, 湖北 武汉 430079
  • 收稿日期:2019-04-02 修回日期:2019-05-17 发布日期:2019-12-02
  • 通讯作者: 李英冰。E-mail:ybli@sgg.whu.edu.cn E-mail:ybli@sgg.whu.edu.cn
  • 作者简介:蔡林(1995-),男,硕士生,主要从事时空数据模型构建及数据挖掘研究。E-mail:1218182878@qq.com
  • 基金资助:
    国家重点研发计划(2018YFC0807000);国家自然科学基金(41304005)

Application of path optimization algorithm in takeout distribution

CAI Lin, LI Yingbing, ZOU Zixin   

  1. School of Geodesy and Geomatics, Wuhan University, Wuhan 430079, China
  • Received:2019-04-02 Revised:2019-05-17 Published:2019-12-02

摘要: 在物流行业特别是外卖配送行业中,配送员希望经过餐厅点与客户点的路线尽可能短,且各目的地之间的访问存在顺序限制等特点,本文提出一种具有顺序限制的路径优化算法。该算法首先基于最邻近算法产生初始路径,然后使用LK算法进行优化,最后依据问题特点,使用末端-2-opt方法进行二次优化。试验结果表明,算法能有效缩短初始路径长度,提供较为优良的可行路径,能够有效提升配送员的工作效率,具有一定的实用价值。

关键词: 外卖配送, 顺序限制, 路径优化, LK算法, 二次优化

Abstract: In the logistics industry, especially in thetakeout distributionindustry, the distributors require the route of restaurants and customers to be as short as possible, and the order of access between the destinations is limited. The paper proposes a path optimization algorithm to solve the problem.The algorithm first generates an initial path based on the nearest neighbor algorithm, and then uses the LK algorithm to optimize. Finally, based on the characteristics of the problem, the terminal-2-opt method is used for secondary optimization.The experimental results show that the algorithm can effectively shorten the initial path length and provide a better feasible solution, which can effectively improve the efficiency of the distributors and has certain practical value.

Key words: takeout distribution, order restriction, path optimization, LK algorithm, secondary optimization

中图分类号: