Optaplanner 7.12.0车辆路线CVRP影子变量未更新

时间:2018-10-18 10:24:21

标签: optaplanner

使用optaplanner 7.12.0,多线程求解解决了一些使用链式变量的问题。对我来说,多线程求解在7.9.0版本中可以很好地用于车辆路线选择,但是升级到7.12.0时会出现以下错误:

The entity (Visit-25) has a variable (previousStandstill) with value (Visit-24) which has a sourceVariableName variable (nextVisit) with a value (Visit-12) which is not null.
Verify the consistency of your input problem for that sourceVariableName variable.

仅当存在自定义移动时才会发生。这些自定义动作与7.9.0版(也可以在使用完全断言时)一起很好地工作。 我可以使用以下示例代码重播此问题: https://github.com/ge0ffrey/optaplanner-mixedvrp-experiment(只需升级到optaplanner 7.12.0)。

有没有其他人看到这个问题对如何解决这个问题有想法?

0 个答案:

没有答案
相关问题