mapbox / node-or-tools

Node.js bindings for or-tools vehicle routing problems
MIT License
146 stars 48 forks source link

Not giving the best (shortest and fastest) route #70

Open carlosen14 opened 4 years ago

carlosen14 commented 4 years ago

It is not taking the best (shortest and fastest) route. The image shows the points to visit ordered as the VRP result. i use node-osrm to get the cost table using.

image

As you can see, it ordered to visit A > C > B > D

I Draw these points to osrm route and give this as not the fastest one.

The fastest one was ordering as A > B > C > D , just by some little difference, but i expect it to be the optimized order