欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture ›› 2021, Vol. 3 ›› Issue (3): 152-161.doi: 10.12133/j.smartag.2021.3.3.202109-SA010

• 智能管理与控制 • 上一篇    

带时间窗的多目标蔬菜运输配送路径优化算法

王芳1(), 滕桂法1,2(), 姚竟发3   

  1. 1.河北农业大学 信息科学与技术学院,河北 保定 071001
    2.河北省农业大数据重点实验室,河北 保定 071001
    3.河北软件职业技术学院,河北 保定 071030
  • 收稿日期:2021-08-24 修回日期:2021-09-19 出版日期:2021-09-30
  • 基金资助:
    河北省重点研发计划项目(21327405D)
  • 作者简介:王 芳(1995-),女,硕士研究生,研究方向为农业大数据技术。E-mail:1540242939@qq.com
  • 通信作者: 滕桂法(1963-),男,教授,研究方向为农业大数据技术。电话:18603126628。E-mail:tguifa@hebau.edu.cn

Multi-Objective Vegetable Transportation and Distribution Path Optimization with Time Windows

WANG Fang1(), TENG Guifa1,2(), YAO Jingfa3   

  1. 1.School of Information Science and Technology, Hebei Agricultural University, Baoding 071001, China
    2.Hebei Key Laboratory of Agricultural Big Data, Baoding 071001, China
    3.Hebei Software Institute, Baoding 071030, China
  • Received:2021-08-24 Revised:2021-09-19 Online:2021-09-30
  • corresponding author: TENG Guifa, E-mail:tguifa@hebau.edu.cn
  • About author:WANG Fang, E-mail:1540242939@qq.com
  • Supported by:
    Key Research and Development Plan Project of Hebei Province (21327405D)

摘要:

为了解决蔬菜运输耗时长、成本高、保鲜时间短,导致送达到客户手上蔬菜质量降低等问题,在考虑了车辆载重和时间窗等约束条件下,本研究提出了一种带时间窗多目标蔬菜配送路径优化的遗传-模拟退火(Genetic Algorithm and Simulated Annealing,GA-SA)算法。在遗传算法(Genetic Algorithm,GA)操作过程中引入模拟退火(Simulated Annealing,SA)算法自适应(Metropolis)接受准则:首先将原始种群进行遗传算法的选择、交叉、变异等操作,形成新一代路径种群,此时通过引入Metropolis准则,对新一代路径种群分布情况进行修正、选择、交叉、变异,得到目标路径种群,达到全部车辆配送完返回到配送中心的耗时最少、成本最低、车辆使用最少的多目标,求得蔬菜运输的最优路径。设计以保定市为配送中心以及向保定市下辖的各个乡镇为配送点进行蔬菜运输路径优化的试验,结果证明,与传统的GA、SA相比,GA-SA能够有效增快其收敛速度,优化后的配送路线总成本分别降低了约23.7%和4%,总路程分别减少了22.6%和3%,耗时分别减少了26.2和2.6 h,车辆分别少使用2辆和1辆。本研究可为冷鲜食品以及其他运输路径优化研究提供参考价值。

关键词: 遗传算法, Metropolis准则, 车辆路径问题, 蔬菜运输, SA算法, 耗时, 成本, 路径优化

Abstract:

There are higher requirements for the timeliness of vegetable transportation and distribution. In order to solve the problems of long transportation time, high total transportation cost and short preservation time of vegetables during transportation, considering the constraints such as vehicle load and time window, this study proposed a genetic simulated annealing algorithm (GA-SA) for multi-objective vegetable distribution path optimization with time windows. That was, the simulated annealing algorithm (SA) adaptive (Metropolis) acceptance criterion was introduced into the operation process of genetic algorithm (GA). The basic idea was: First, the original population was selected, crossed and mutated by genetic algorithm to form a new generation of path population. At this time, by introducing metropolis acceptance criterion, and then, after modifying the sub situation of the new generation path population and selecting cross mutation, a new target path population was obtained. The improved algorithm retained the excellent individual, and the convergence speed, jumped out of the local optimal solution found based on genetic algorithm, and then found the global optimal solution. Then, the multi-objective of returning all vehicles to the distribution center after distribution was the least time-consuming, the lowest cost and the least use of vehicles was achieved, and the optimal path of vegetable transportation was obtained. Taking Baoding city in Hebei province as the distribution center and some towns under the jurisdiction of Baoding city as the distribution points, the experiment of vegetable transportation path optimization was designed. The experiments of genetic algorithm, simulated annealing algorithm and genetic simulated annealing algorithm were carried out, respectively. The comparative analysis was carried out from the aspects of convergence speed, total distance, total time, vehicles and total cost. The experimental results showed that, compared with the genetic algorithm and simulated annealing algorithm, GA-SA could effectively accelerate its convergence speed. The total cost of the optimized distribution route reduced by about 23.7% and 4% respectively, the total distance reduced by 22.6% and 3% respectively, the time consumption reduced by 26.2 and 2.6 hours respectively, and 2 and 1 vehicles were used less respectively. This study could also provide reference for the research of cold fresh food and other transportation path optimization.

Key words: genetic algorithm, Metropolis guidelines, vehicle routing problem, vegetable transportation, simulated annealing algorithm, time consuming, cost, path optimization

中图分类号: