What is the minimum number of containers to make a run?
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.
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.
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.
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.