OUTLINE
- 前言
- VRPTW description
- column generation
- Illustration
- code
- reference
00 前言
此前向大家介绍了列生成算法的详细过程,以及下料问题的代码。相信各位小伙伴对column generation已经有了一个透彻的了解了。今天我们在来一点干货,用column generation求解vehicle routing problems。
01 VRPTW description
关于VRPTW问题的描述,以及建模方式,可以参照此文干货|十分钟快速掌握CPLEX求解VRPTW数学模型(附JAVA代码及CPLEX安装流程)。不过今天给大家带来的是VRPTW的另外一个建模方式,它是在传统的模型上利用了Dantzig-Wolfe decomposition分解算法得到的。
关于Dantzig-Wolfe decomposition分解算法,可以参照文章:
Formulation:[1]
- $\Omega $ :the set of feasible vehicle routes, i.e., the set of paths in G issued from the
depot, going to the depot, satisfying capacity and time window constraints and visiting
at most once each customer. - \(c_k\) :the cost of route \(r_k \in \Omega\).
- $ a_{ik}$ := 1 if route\(r_k\)visits customer\(v_i\) and =