arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.02730cs.LG
收藏

用剩余边图注意神经网络求解路由问题

Solve routing problems with a residual edge-graph attention neural network

Southwest Jiaotong University(西南交通大学);Technology and Equipment of Rail Transit Operation and Maintenance Key Laboratory of Sichuan Province(四川省轨道交通运维技术与装备重点实验室);Auburn University at Montgomery(奥本大学蒙哥马利分校)

Kun Lei, Peng Guo, Yi Wang, Xiao Wu, Wenchao Zhao

摘要:

对于NP难的组合优化问题,通常很难在多项式时间内找到高质量的解。这些问题的精确算法或近似算法的设计通常需要非常专业的知识。最近,深度学习方法为解决此类问题提供了新的方向。本文提出了一种端到端的深度强化学习框架来解决这类组合优化问题。该框架可以应用于不同的问题,只有轻微的变化的输入(例如,对于旅行商问题(TSP),输入是二维坐标的节点;而对于容量受限的车辆路径问题(CVRP),输入简单地改变为三维向量,包括二维坐标和客户需求的节点),掩码和解码器上下文向量。该框架的目的是在神经网络模型和训练算法方面提高模型的读写能力。通过我们的框架,TSP和CVRP高达100个节点的解决方案的质量显着提高。具体而言,当使用贪心解码策略时,对于100个节点的TSP,平均最优性差距从4.53%(报告的最佳\cite{R22})减小到3.67%,对于100个节点的CVRP,平均最优性差距从7.34%(报告的最佳\cite{R22})减小到6.68%.此外,我们的框架使用约1/3 $\sim$ 3/4的训练样本相比,其他现有的学习方法,同时取得更好的效果。在随机生成的实例和TSPLIB和CVRPLIB的基准实例上进行的测试结果证实,我们的框架在测试阶段具有线性运行时间的问题大小(节点数),并具有良好的泛化性能,从随机实例训练到真实世界的实例测试。

英文摘要:

For NP-hard combinatorial optimization problems, it is usually difficult to find high-quality solutions in polynomial time. The design of either an exact algorithm or an approximate algorithm for these problems often requires significantly specialized knowledge. Recently, deep learning methods provide new directions to solve such problems. In this paper, an end-to-end deep reinforcement learning framework is proposed to solve this type of combinatorial optimization problems. This framework can be applied to different problems with only slight changes of input (for example, for a traveling salesman problem (TSP), the input is the two-dimensional coordinates of nodes; while for a capacity-constrained vehicle routing problem (CVRP), the input is simply changed to three-dimensional vectors including the two-dimensional coordinates and the customer demands of nodes), masks and decoder context vectors. The proposed framework is aiming to improve the models in literacy in terms of the neural network model and the training algorithm. The solution quality of TSP and the CVRP up to 100 nodes are significantly improved via our framework. Specifically, the average optimality gap is reduced from 4.53\% (reported best \cite{R22}) to 3.67\% for TSP with 100 nodes and from 7.34\% (reported best \cite{R22}) to 6.68\% for CVRP with 100 nodes when using the greedy decoding strategy. Furthermore, our framework uses about 1/3$\sim$3/4 training samples compared with other existing learning methods while achieving better results. The results performed on randomly generated instances and the benchmark instances from TSPLIB and CVRPLIB confirm that our framework has a linear running time on the problem size (number of nodes) during the testing phase, and has a good generalization performance from random instance training to real-world instance testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑