-
Notifications
You must be signed in to change notification settings - Fork 340
Demo server
Julien Coupey edited this page Oct 8, 2018
·
9 revisions
To try the solver through a simple user interface, check out the demo frontend.
The demo server at http://solver.vroom-project.org
is hosted by ens2m. For testing purposes, you're welcome to hand your requests there, provided you respect the following policy.
- Any commercial usage is strictly prohibited.
- Problem sizes are strictly limited to 100 jobs per query.
- Excessive use in number of queries is prohibited and will get users blocked.
- There is absolutely no guarantee of availability at any time.
- There is absolutely no guarantee regarding the quality, validity and consistence of the provided solutions. The demo server might (and will) run potentially unstable code under development.
- Firing requests on the whole planet should usually be fine, yet there is absolutely no guarantee regarding the geographical coverage.
- The appropriate attributions should be clearly mentioned
- OpenStreetMap data under ODbL.
- VROOM for optimization.
- OSRM for travel times and routes.
See the API documentation for input syntax.
curl --header "Content-Type:application/json" --data '{"vehicles":[{"id":0,"start":[2.3526,48.8604],"end":[2.3526,48.8604]}],"jobs":[{"id":0,"location":[2.3691,48.8532]},{"id":1,"location":[2.2911,48.8566]}],"options":{"g":true}}' http://solver.vroom-project.org
The "options":{"g":true}
in the above request will act as the command-line -g
flag. Omitting it will result in solutions without detailed geometry and distance indicators.
- Install VROOM and OSRM v5.0.0 or later.
- Run vroom-express to expose VROOM's API over http requests.
- Serve vroom-frontend.