If your cuOpt vehicle routing problem (VRP) run appears to never stop, even if you specify a time limit, it may be caused by the minimum number of vehicles (min_vehicles) setting.
In some cases, we have observed that certain values for the minimum number of vehicles constraint cause cuOpt to ignore the time limit and run forever, until the run is manually stopped. To resolve the issue you can try removing the minimum number of vehicles constraint or lowering the value so that cuOpt has more flexibility in how many routes it can use. After reducing or removing this constraint, the run should return to normal behavior and stop as expected.
This behavior is most commonly seen when the constraint is set higher than necessary, forcing cuOpt to use more vehicles than the natural solution would require.
Comments
0 comments
Please sign in to leave a comment.