vehicle-routing-problems icon indicating copy to clipboard operation
vehicle-routing-problems copied to clipboard

What is the minimum number of containers to make a run?

Open fpacheco opened this issue 10 years ago • 3 comments

If we run vrp_trashCollection with less than 4 containers we obtain:

Error computing solution: AssertFailedException: path.size() > 1 at ../solverTrash/tripVehicle.cpp:575:

It's Ok?. It is necessary more than 3 containers to make a run?. Thank you. Fernando.

fpacheco avatar Jun 24 '15 21:06 fpacheco

Thank you for reporting this.

We do not know the lower limit, we only tested with larger numbers of containers. At the moment it looks like it is 4 containers based on your testing. How critical is this issue? With 3 containers there are only 6 possible permutations, can you work around this limit by making 6 calls to OSRM and using the fastest one?

I'll keep this open so we look into it when we have some time.

woodbri avatar Jun 24 '15 21:06 woodbri

It is not critical, dont worry about it. In previous releases if you run vrptools with less than 4 containers the solution was very strange. The errors messages are better now.

fpacheco avatar Jun 24 '15 21:06 fpacheco

Please try this again with branch montevideo-release-v2 because the fix for #23 will probably take care of this. Please close this if it is resolved.

woodbri avatar Jun 26 '15 04:06 woodbri