Closed carlosen14 closed 5 years ago
Hello, did you find how to declare the demands ? i'm still confused about it too. How should it be declared ? Let's say i have 3 vehicles with capacity of 15 each. and 5 locations to deliver to with the following demands : location A demands 5 location B demands 3 location C demands 2 location D demands 7 location E demands 10
Thank you !
i have been able to run your example, also modified it with OSRM to get more than 25 locations.
Did some other examples with more locations and vehicles, and everything works great.
But now i am going to go one step further and test other parameters, but I don't really understand the duration, can you please explain it? This is what is written in the API docs.
I will try to explain the mean i understand, is it the time that takes to go from pointA to pointB plus the time the driver will stay in pointB
Supposing i will stay 10 minutes in each point
Also i have another doubt about demand parameter. This is the definition in the readme
The instructions says that this has to be a bi-dimentional
Array demands[from][to],
but only will read thefrom
value, how do you translate this?Is this correct?
Thank you!