就卫星上的VRP而言,每颗卫星在所有城市都有一个不同的时间窗口。
我希望每个城市都有一个相对于每一辆车的时间窗口。下面是三个城市的一个例子:
vehicle_1_tw : [0,12] , [11,20], [3,15]
vehicle_1_tw : [9,8] , [4,23], [12,17]
在或工具中实现这种约束是可能的吗?
非常感谢!
发布于 2022-10-06 08:20:37
vehicle_**0**_tw
,- duplicate the node for each TW,
- use `routing.VehicleVar(index).SetValue([vehice_index,...])` to limit the node visit to a specific set of vehicles (i.e. vehicles having the same TW).
https://stackoverflow.com/questions/73964706
复制相似问题