Comments (3)
Once the TSP is solved, the -g
flag basically triggers a viaroute request to OSRM with the ordered locations. The mentioned assertion prevents the execution to go on when the json response of this viaroute query doesn't contain the required key (used to retrieve timing and distance information).
Try to track the corresponding request in osrm-routed logs and see if the 'route_summary' key is present when used in a browser or with curl.
Alternatively, you can try to spot unexpected values by checking the content of variables query
and json_response
appearing in https://github.com/jcoupey/vroom/blob/master/src/loaders/osrm_wrapper.h#L247-L253.
from vroom.
Got it...
--max-viaroute-size
needs to be set when running osrm-routed.
Thanks for the help. :)
from vroom.
Oh yes, didn't spot you mentioned the --max-matching-size
and not the --max-viaroute-size
parameter.
Rather than just stopping with the assertion, we should display the error message from OSRM to make it clear what went wrong. This will have to wait a little since all status codes and messages are bound to change in the new server API as of OSRM v5.
from vroom.
Related Issues (20)
- Vehicles to arrive at the same job at the same time HOT 1
- Some questions about time windows, duration and... HOT 2
- Second trip pickup duration HOT 2
- Max distance With relevance to tasks HOT 4
- Time-Windows for jobs or shipments has no effect HOT 1
- Add Parameter for Route Execution Order Based on Task Urgency HOT 6
- Strict access times - Best way to solve? HOT 2
- Solving progress indicator HOT 1
- Log solving profiles
- Wheels for arm64
- API documentation on distance information in output HOT 2
- ORS max waypoints and vroom request HOT 3
- Include setup/service time in cost and add cost per setup/service HOT 1
- Limit option understand HOT 4
- api not optimizing for weight and volume and is always assigning the largest vehicle HOT 2
- Valhalla matrix error (No suitable edges near location). HOT 1
- Shipments with unknown pickup points HOT 3
- Handling Shipments with multiple orders to the Same Address in VROOM HOT 12
- Hierarchical Skill Definitions HOT 2
- Help with shipments and time windows HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vroom.