[英]How to add both time window constraint and capacity constraint to VRP?
I have just started working on VRPs with Google's OR Tools.我刚刚开始使用 Google 的 OR 工具处理 VRP。 I would like to impose multiple constraints on my VRP ie instead of just adding just one among time window constraint or capacity constraint, I would like to have both the constraints to solve my problem without taking into account the cost.我想对我的 VRP 施加多个约束,即不是只在时间窗口约束或容量约束中添加一个,我希望在不考虑成本的情况下同时使用这两个约束来解决我的问题。 How to achieve this?如何实现这一目标?
everything is shown here, multiple examples, one per feature, in C++/Python/Java/C#.一切都在这里显示,多个示例,每个功能一个,在 C++/Python/Java/C# 中。
https://github.com/google/or-tools/blob/master/ortools/constraint_solver/doc/VRP.md https://github.com/google/or-tools/blob/master/ortools/constraint_solver/doc/VRP.md
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.