CVRP模型制定

问题描述

enter image description here

我正在尝试使用二进制变量解决CVRP问题。 Xr,i,j是决策变量。 下面是我使用docplex创建决定变量的方法

na_travel = mymodel.binary_var_cube(vehicle,nodes,name='X');

We can take that nodes are from 0 to 10.

我正在努力使约束变得更小,有人可以给我一个思路,我该如何制定。

Constraint: The sub-tour elimination constraints (6) ensure that the solution contains no cycles disconnected from the depot

enter image description here

如果有任何建议可以这样做。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)