Skip to content

Demo server

Julien Coupey edited this page Sep 28, 2016 · 9 revisions

Frontend demo

To try the solver through a simple user interface, check out the demo frontend.

Demo server

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.

Usage policy

  • Any commercial usage is strictly prohibited.
  • Problem sizes are strictly limited to 50 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.
  • There is absolutely no guarantee regarding the geographical coverage. The whole planet is not currently supported.
  • The appropriate attributions should be clearly mentioned

Usage example

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

Note that if omitting "options":{"g":true} in the json, you get the solution without detailed geometry and distance and duration indicators.

Setting up your own local demo

  1. Install VROOM and OSRM.
  2. Run vroom-express to expose VROOM's API over http requests.
  3. Serve vroom-frontend.
Clone this wiki locally