Technical Concepts > About Tour Planning

About Tour Planning

The basic purpose of the PTV xTour Server is to solve the vehicle routing problem (VRP) seeking to serve a number of customers with a fleet of vehicles. Thereby several planning objects are involved.

Concept

Example for a standard tour planning with 1 depot, 3 vehicles, 6 depot orders, 1 AB order and 2 tours

For the VRP there are two problems to be solved: Which transport orders are assigned to which vehicle tours? How is the sequence of the transport points within the vehicle tours? The build in planning algorithms try to solve this problem considering several optimization goals:

The best solution would be one tour containing all transport orders, but usually the given capacity or time restrictions demand more than one tour.

Multiple Depots

The PTV xTour Server is able to solve a multi depot vehicle routing problem (MDVRP). So it is not necessary that every transport order is assigned to a dedicated depot in advance. The tour planning algorithm is able to assign the transport orders to depots and plan the tours in one step.

Example for a multi depot planning with 3 depots and 5 tours

Depending on the chosen tour planning step and method there are different modes used:

Tour structures

The classical VRP deals with round tours. Besides the planning of round tours more tour structures are possible:

Please note that only in the case of round tours it is possible to perform several tours one after another with the same vehicle (a so called tour chain). For all other tour structures no more than one tour per vehicle is valid. Moreover you have to specify on client side which vehicle is located at which depot or more precisely which is the valid start depot (or none) and end depot (or none) for every single vehicle. So the possible tour structure for a vehicle is not determined by the tour planning algorithm.

Tour planning algorithms

The VRP is an NP-hard (Non-deterministic Polynomial-time hard) problem, so this class of problems could not be solved in polynomial time. This means that the machine time required to solve even moderately sized problems can easily exceed all acceptable levels of efficiency. For that reason often heuristic or approximation algorithms are used to solve the VRP, especially for practise-oriented problem sizes. They can find in an acceptable machine time a good solution. This solution is not a guaranteed optimal solution as if using exact algorithms, but it is often nearby with regard to the solution quality. Hence in the PTV xTour Server are in large parts heuristics used.

The heuristic algorithms could be classified in construction and improvement methods. The construction method tries to find a first valid solution keeping all restrictions. The improvement method starts with a valid solution (e.g. as result of a construction method) and tries to improve this solution by modifying small parts of it. The main planning steps of the PTV xTour Server are structured in the same way:

Tour planning restrictions

During the tour planning the PTV xTour Server is able to consider a lot of restrictions. The most important ones are explained below: