Skip to main content

Route profile options

The route optimization calculation profile, called the route profile, is an essential object for fine-tuning the desired calculation options, with values other than the default ones.

When using the MPT API, if you want to use your own route profile to specify custom values, then you have two options:

  • Case 1: set a route profile to the MPT problem using the attribute routeProfile, and complete the attached object.
  • Case 2: use one of your own route profiles stored on the API server side using the attribute routeProfileName of the MPT problem to set the route profile name you want to use. In this case, some web services are available to manage your stored route profiles (refer to the MPT API OpenAPI documentation for more details on these web services).

In both cases, the definition of a route profile is the same, and is explained below.

note

To make the examples easier to read and understand, all the route profile options described below are presented individually. Each of them can be combined with the others in order to model a complex problem.

Moreover, all the examples presented are based on case 1 above. They are easily extrapolated to case 2.