Search for content

Objective of Optimization

The Sequence Optimization service aims at finding a good route for the given transports. In order to determine what "good" means here, the following question needs to be answered:

What makes one route better than another?

The default objective comprises two criteria in the following order.

  1. The first criterion is to have a route where every transport is planned. This means a route with all transports planned is always considered as better than a route with unplanned transports, no matter what the other KPIs are. But sometimes, there are just too many transports and not all of them can be planned. In this case, we distinguish the standard case from the priorities case:
    1. Standard case: A route with the least unplanned transports is considered as best.
    2. Priorities case: This is the case when the query parameter considerTransportPriorities is set to true and all transports are ranked by priority. When comparing two routes, the route with less unplanned transports of priority x is best, where x is the highest priority in which the number of unplanned transports differs between the two routes. See transport priorities concept page for more details.
  2. The second criterion is to minimize distance, driving time and travel time of the route. To be precise, a linear combination of these values is minimized.