itinero / optimization

Routing optimization module module for Itinero.
Apache License 2.0
51 stars 17 forks source link
logistics optimization routing tsp tsp-tw

Itinero.Optimization

A module for solving optimization routing problems with Itinero as a routing solution.

CI Visit our website GPL licensed

Supported problems

Current we have the following problems supported:

Solutions

Usage

Install the following package via Nuget:

PM> Install-Package Itinero.Optimization -IncludePrerelease

Then immediately some extension methods are available on top the default Itinero Router class.

TSP, Directed TSP:

router.Optimize (string profileName, Coordinate[] locations)

This calculates a TSP by default starting and ending at the location at index 0. Specifiy first and last to change this behaviour, when leaving last=null the solver decides the best last location. When setting turnPenalty u-turns are being avoided when they introduce a cost bigger than the given penalty.