APP下载

改进蚁群算法求解有时间窗的物流配送路径问题

2015-04-29康燕妮嵇启春李武刚李玲燕

计算机时代 2015年3期

康燕妮 嵇启春 李武刚 李玲燕

摘 要: 物流配送车辆路径优化问题已被证明是一个NP难题,很难得到最优解。应用蚁群算法对带时间窗的物流车辆路径优化问题进行了算法设计,建立了车辆路径优化问题的蚁群算法数学模型及解决方案。通过对蚁群算法的分析,提出了改进的蚁群算法,并结合实例对该算法进行测试和分析,检验其有效性,结果表明了改进蚁群算法的可行性,符合实际的需要。

关键词: 物流配送; 车辆路径; 蚁群算法; 时间窗

中图分类号:TP399 文献标志码:A 文章编号:1006-8228(2015)03-21-04

Abstract: Logistics distribution vehicle routing optimization problem has been proven to be a NP problem, which is difficult to get an optimal solution. The algorithm of logistics vehicle routing with time windows is designed by using ant colony algorithm. Mathematical model and solution of vehicle routing optimization are established. Through analyzing the ant colony algorithm, the improved ant colony algorithm is proposed. The algorithm is tested and analyzed by examples. The validity of the improved ant colony algorithm is ensured, proving the feasibility of the improved ant colony algorithm, which can accord with the actual needs.

Key words: logistics distribution; vehicle routing; ant colony algorithm; time windows

0 引言

随着全球经济的快速发展,物流行业也得到了飞速的发展,物流配送作为物流行业最重要的环节,被越来越多的人关注和研究。首先,物流管理的内容对整个物流运输的成本、效益等起着极其重要的作用;其次,物流向满足顾客类型、数量和时间等方面的发展趋势越来越突出。配送车辆路径安排这一优化问题最初由Dcmtzing & Ramser于1959年提出,一直以来,都是交通货运和物流配送领域的一个核心问题。

在实际应用问题中,带时间窗的车辆路径问题(VRP With Time Windows,VRPTW)作为VRP问题的扩展,已被 Savelsbergh证明是一个NP难题,由于该问题属于求解非常困难的组合优化问题,具有很强的实际应用价值,长期以来吸引着大量的研究人员对其不断地进行研究。研究人员从精确算法开始,逐渐将目光投向启发式算法,如禁忌搜索算法、遗传算法、蚁群算法等。钟石泉等人[1]对软、硬时间窗约束的VRP进行了研究,并用禁忌搜索算法分别进行求解;……

登录APP查看全文