PHP and Javascript examples to connect to the RouteXL routing optimization API
PHP JavaScript HTML
Latest commit 7d2591f Jan 14, 2016 @routexl Delete .project
For local development, not needed on git
Permalink
Failed to load latest commit information.
Javascript
PHP
README.md Adding Javascript example Jan 14, 2016

README.md

RouteXL-API-Connector

Examples in PHP and Javascript to connect to the RouteXL routing optimization API.

Multi stop routing

The Travelling Salesman Problem (TSP) asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?

It is an NP-hard problem in combinatorial optimization, important in operations research and theoretical computer science. The problem was first formulated in 1930 and is one of the most intensively studied problems in optimization.

Read more about TSP: http://en.wikipedia.org/wiki/Travelling_salesman_problem

RouteXL

RouteXL (https://www.routexl.com/) is an online routing optimization service. RouteXL sorts destinations in the fastest order to drive. Itineraries with multiple stops are optimized to save travel time and fuel costs. Route optimization lowers CO2 and NOx emissions.

The RouteXL API provides programmatic access to optimize multi stop itineraries. Send locations, get distance tables and the optimized order of stops. In the optimization time windows are supported. Responses are in JSON.

Read more about the API: https://www.routexl.nl/api/