VROOM-Project / vroom

Vehicle Routing Open-source Optimization Machine
http://vroom-project.org/
BSD 2-Clause "Simplified" License
1.32k stars 332 forks source link

Question about Matrices in input #1160

Open AlirezaAzizi14 opened 6 days ago

AlirezaAzizi14 commented 6 days ago

I didn't quite understand the details from your explanations in the "matrices" section. Is this parameter used for inputting vehicle costs? Is it possible to explain more about this matter?

jcoupey commented 5 days ago

In order to evaluate solutions, we need to decide "cost" between all locations involved in the problem. This is derived from travel time and distance between all points. The travel time matrices are also used to assert route validity in case you have timing constraints.

In practice, if you're using one of the routing integrations we have, you do not need to care about providing custom matrices since VROOM handles the call to the routing engines and retrieves the matrices for you behind the scene.