# Logistic API > Functional documentation of the SINARI Logistic API (MPT): route scheduling and optimisation (vehicles, depots, operations, time windows, capacities, access constraints...). Requests are sent to https://api-optim.sinari.com/v1/mpt/... with an OIDC token (see Quick start). ## doc ### mpt #### docs ##### mpt Purpose - [API Logistic](https://api-optim.sinari.com/doc/mpt/docs/mpt.md): Purpose ###### Quick start - [Quick start](https://api-optim.sinari.com/doc/mpt/docs/mpt/quick-start.md) - [Get a result](https://api-optim.sinari.com/doc/mpt/docs/mpt/quick-start/get-solution.md): As soon as a result is available, it can be retrieved with a GET. - [Get a token](https://api-optim.sinari.com/doc/mpt/docs/mpt/quick-start/get-token.md): All the SINARI Optimization APIs require a valid token to process a request. - [Monitor the calculation](https://api-optim.sinari.com/doc/mpt/docs/mpt/quick-start/monitor.md): The route optimization is an asynchronous request. - [Send a request](https://api-optim.sinari.com/doc/mpt/docs/mpt/quick-start/send-problem.md): Here is the POST request pattern for the MPT API: ###### Use cases Through use cases starting from simple case (local optimizations) to the most complex (global optimizations, with or without existing routes), the following pages describe the actions available to schedule optimized routes and to modify the schedule of existing routes - [Use cases](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases.md): Through use cases starting from simple case (local optimizations) to the most complex (global optimizations, with or without existing routes), the following pages describe the actions available to schedule optimized routes and to modify the schedule of existing routes - [Summary of use cases](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/actionsSynthesis.md): This table lists all possible optimization actions of the MPT API, with their associated use cases. - [Add operations on an already scheduled route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/addOperation.md) - [Optimized scheduling of an operation on an existing route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/addOperation/addBestOperation.md): We have an already scheduled route made up of 5 operations to be loaded all at 1 depot and delivered to 5 separate sites. - [Schedule several operations on an already scheduled route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/addOperation/addMultipleOperations.md): There is a route made up of 5 operations to be loaded all at 1 depot and delivered to 5 separate sites. - [Positioned scheduling of an operation on an already scheduled route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/addOperation/addPositionnedOperation.md): There is a route made up of 5 operations to be loaded all at 1 depot and delivered to 5 separate sites. - [Evaluate an existing route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/evaluateRoute.md): There is an already scheduled route, and we want to evaluate that route, that is to say to submit it to the calculation by simply indicating to the API to verify its feasibility with regard to the constraints. - [Global optimization](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization.md) - [From scratch](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization/optFromNothing.md): A Problem is characterized by: - [Reasons for unplanned operations](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization/optReasonsRejectedOperation.md): Here we reuse the same problem as unplanned operation, where there is an unplanned operation at the end of the calculation. - [Unplanned operation](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization/optRejectedOperation.md): Here we reuse the same problem as optimization from scratch, on which we increase the fixed time on site and on operations. - [Already-scheduled operations](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization/optWithPartialSolution.md): Context - [Status on existing routes](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/globalOptimization/routeStatus.md): Context - [Change the vehicle of a route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/moveRoute.md) - [Move a route to another vehicle](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/moveRoute/moveRouteVehicle.md): We have 3 existing routes, 2 are scheduled on period 1 of vehicle 1, and 1 on period 1 of vehicle 2. - [Exchange the full activity of 2 vehicles](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/moveRoute/swapPeriod.md): We have 3 existing routes, 1 is scheduled on period 1 of vehicle 1, and 2 on period 1 of vehicle 2. - [Exchange 2 routes between 2 vehicles](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/moveRoute/swapRoute.md): We have 3 existing routes, 1 is scheduled on period 1 of vehicle 1, and 2 on period 1 of vehicle 2. - [Other modifications of routes](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/otherRouteActions.md) - [Concatenation of routes](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/otherRouteActions/concatRoute.md): We have 3 routes scheduled on period 1 of vehicle 1 (`ROUTEA, ROUTEB and ROUTE_C`) and some other routes scheduled on other vehicles and periods. - [Deletion of routes](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/otherRouteActions/deleteRoute.md): We have 3 routes scheduled on period 1 of vehicle 1 and some other routes scheduled on other vehicles and periods. - [Merge of routes](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/otherRouteActions/mergeRoute.md): There are 2 routes that we want to merge into one. - [Unschedule operations from an existing route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/removeOperations.md): useCase06 - [Inversion of an existing route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/revertRoute.md): We have an already scheduled route. - [Optimization of a route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/routeOptimization.md) - [Create an optimized route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/routeOptimization/createOptimizedRoute.md): There are 5 operations to load on 1 depot and to deliver on 5 distinct sites with 1 available vehicle. - [Optimization of an existing route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/routeOptimization/existingRouteOptimization.md): There is a route made up of 5 operations to be loaded at 1 depot and to be delivered to 5 separate sites. This route is obviously not optimized in terms of distance. - [Fixed time-schedules](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/setTimes.md): As soon as existing routes are sent to calculation through the reference planning, it is then possible to add additional constraints to their schedules (start of the route, operations hours) by fixing them to an arbitrarily chosen value. - [Fixed time-schedule of an operation](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/setTimes/setOperationTimes.md): There are two existing routes scheduled on the availability period of the vehicle, and we need to fix the schedule of an operation to an arbitrarily chosen date. - [Fixed start date of a route](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/setTimes/setRouteTimes.md): There are 2 existing routes scheduled on the vehicle availability period, and we want to start the first route of this period at an arbitrarily chosen date. - [Unfulfilled constraints](https://api-optim.sinari.com/doc/mpt/docs/mpt/useCases/unfulfilledConstraints.md): For all the actions involving already-scheduled routes, it may happen that they are no longer feasible, in the sense that they do not fulfill all the constraints of the problem. ###### Advanced logistics features To make the examples easier to read and understand, all the additional logistics features described below are presented individually. Each of them can be combined with the others in order to model a complex problem to be addressed. - [Advanced logistics features](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites.md): To make the examples easier to read and understand, all the additional logistics features described below are presented individually. Each of them can be combined with the others in order to model a complex problem to be addressed. - [Depot activity](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/activiteDepot.md): Depending on the logistic organization, route scheduling can be impacted by some activities preceding or succeeding the transport phase. - [Preloading and post-unloading](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/activiteDepot/prechargement_postdechargement.md): Preloading a vehicle means considering that the vehicle is ready to start a route with already loaded Transport Orders to deliver as soon as it is picked up by the driver - [Departure and return site](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/activiteDepot/sites_depart_arrivee.md): Without any particular input, the API considers that a vehicle: - [Operations assignment to Depots](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/affectationOpDepot.md): In the definition of an operation, it is mandatory to define either an origin site, if it is a collection, or a destination site, if it is a delivery. The other site (respectively the destination of a collection and origin of a delivery) which is a depot is optional. Depending on the logistic organization, this site can be: - [🚧 Depot needs and capacities](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/affectationOpDepot/needs_and_capacities.md): Documentation coming soon. In the meantime, see the technical documentation. - [Pre-assigned Operations to Depots](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/affectationOpDepot/pre_assigned_depots.md): Let's see how to assign operations to a specific depot site in advance. - [Vehicle Capacity](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant.md): It is possible to handle capacity and filling constraints related to vehicle configuration. - [Collecting only after all deliveries](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/collectes_apres_livraisons.md): In some problems involving collection and delivery operations, the configuration of the vehicle prevents the collection of goods as long as the vehicle is not empty: these goods would prevent access to the goods that have not yet been delivered. - [Compartmentalized vehicles](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/compartmentalizedVehicles.md): Setting up compartmentalization on a vehicle can help handle both: - [Allowed packagings](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/compartmentalizedVehicles/compartAllowedPackagings.md): Setting compartmentalization on a vehicle makes it possible to restrict the set of allowed products in certain compartments of the vehicle. - [Capacities and access mode](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/compartmentalizedVehicles/compartCapacityAndAccessRule.md): On each compartment of a vehicle, it is possible to define: - [Filling Rules](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/compartmentalizedVehicles/compartFillingRule.md): Defining compartmentalization on a vehicle makes it possible to specify filling rules specific to each compartment. - [Multi-configurations](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/compartmentalizedVehicles/compartMultiConfigurations.md): On some vehicles, several compartment arrangements are possible. - [Weight and/or volume capacity](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/capaciteContenant/limite_poids_volume.md): To handle this capacity constraint, follow these steps: - [Access constraints](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesAcces.md): In some contexts, some of the vehicles cannot access some logistics sites. In order for the API to be able to propose and optimize feasible transportation plans, it must be specified which access constraints must be taken into account for the calculation. These are vehicle/site access constraints. - [Restrict a vehicle's access to a set of depots](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesAcces/ensemble_depots.md): In multi-depot planning contexts, vehicles may be attached to one or more depots. In other words: each vehicle may not be used to load/unload at all depots location. - [Restrict a vehicle's access to a set of sites](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesAcces/logistic_zones.md): In some contexts, transport can be organized in these ways: - [Restrict site access by vehicle](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesAcces/site_par_un_vehicule.md): In some contexts, a logistics site will not allow the visit of all vehicles. In other words - [Time constraints](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesHoraires.md): The time schedule of the transport plan to be calculated depends on the availability periods of the vehicles. - [Multi-pass schedules](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesHoraires/horaires_passage.md): In some problems where an operation may be delivered / collected in several visits in the same transport plan, the time constraint may be different on each of the visits. - [Site time constraints depending on carried goods](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesHoraires/horaires_prestation.md): As previously seen, time profiles are used to define a set of time windows on which access to a site is possible. - [Opening hours of the sites](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/contraintesHoraires/horaires_sites.md): As previously explained, the earliest and latest dates of an operation define a time window within which the operation must be scheduled. This window can be further restricted by specifying a time profile on the operation or on its site. This profile defines a set of time intervals during which access to the site is allowed. Therefore, the feasible time windows for performing the operation correspond to the intersection of: - [🚧 Product Declassification](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/declassement.md): Documentation coming soon. In the meantime, see the technical documentation. - [Splitting operations](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/decoupes.md): When an operation has too large a quantity to be loaded in a vehicle, the API can be allowed to split this initial operation into several parts and schedule them on several routes. - [Ongoing resource utilization](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/encours.md): Some constraints extend beyond the routes being optimized: product incompatibilities spanning several routes, the driver's driving and working time limits, etc. To take them into account, the optimization needs to know the vehicles' activity prior to the routes being optimized. - [Ongoing products](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/encours/productOngoing.md): Product incompatibilities can apply beyond a single route (`scope AVAILABILITY_PERIOD or VEHICLE`). The first routes being optimized must therefore account for the products carried by the truck during its previous routes, which are not part of the problem. - [Summary of the advanced logistics features](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/featuresSynthesis.md): Below is a list of logistics features categorized by main entity: operations, logistics sites, vehicles, products, routes - [Grouping operations](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/groupage.md): The grouping of operations is a process that is done at the beginning of the calculation. Its purpose is to favor scheduling operations with common characteristics (e.g. same site, same product, same time constraints) in the same route. - [Heterogeneous fleet](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/heterogeneousFleet.md): In the world of road transportation, the vehicle fleet is not always homogeneous in terms of driving constraints. - [Product incompatibilities](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/incompatibilites.md): Product incompatibilities can be used to define transportation constraints between products. These constraints prevent specific products from being transported together under certain conditions. - [Restrict a vehicle's activity](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/limiterActiviteVehicule.md): In some contexts, it may be worthwhile to restrict a vehicle's potential activity. Depending on the case, this can make it possible to: - [Limit the number of visited sites per route](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/limiterActiviteVehicule/limiter_nombre_sites_par_tour.md): It is possible to limit the number of logistics sites through which a vehicle passes. This constraint is defined per vehicle, so it is valid regardless of the vehicle's availability period. - [Limit the number of routes per vehicle availability period](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/limiterActiviteVehicule/limiter_nombre_tours_par_poste.md): 1 - Setting an Availability Period - [Position of a site within a route](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/positionSite.md): For various reasons, it is sometimes necessary to specify the relative position of a customer site in a route, compared to other customer sites of this same route. We can have, for example, the need to schedule a customer site at first position in the Route, at last position in the Route, or even that it could be alone in its Route. - [Pre-assignment of operations to vehicles](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/preaffectationOpVehicule.md): When it's known in advance that a specific vehicle must transport a specific operation, the pre-assignment of operations to vehicles should be used. - [Prioritization of vehicles](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/priorisationMoyens.md): In some problems where the availability of vehicles is often too high in relation to the quantity of operations to be planned, it may be necessary to prioritize the use of certain vehicles over others. - [Prioritization of operations](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/priorisationOperations.md): In some problems where the number of operations to be planned often exceeds the planning possibilities (insufficient availability of vehicles), it may be necessary to prioritize the schedule of certain operations over others. - [Docks](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/quais.md): * This constraint on the number of docks is correctly taken into account when the API is aware of the full transportation plan. - [Legislation](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation.md) - [Waiting time management](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation/gestion_attente.md): When time constraints are specified (opening hours of sites, earliest/latest dates on operations, etc.), some waiting activities may be scheduled between deliveries or collections. - [Limit working and driving time](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation/limite_travail_conduite.md): It is possible to take into account maximum working and driving times for an availability period of a vehicle. - [Day and night working time](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation/nightWorkTime.md): For some logistics transport activities, drivers' work may be carried out during night hours. - [Breaks and rests triggering management](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation/pause_repos.md): Road transport regulations define a whole set of rules concerning driver's rest or break based on a maximum threshold of work and driving. - [Triggering reference for breaks and rests](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/reglementation/pause_repos_referentiel.md): The reference period for triggering breaks and rests is at most the truck availability period. - [Trailer](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/remorque.md): Some problems do require the use of logistics resources like trailers. A trailer increases the transport capacity of a truck/tractor unit over the duration of a route. - [Trailer Access](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/remorque/acces_remorque.md): In case of trailer management with the possibility of hooking, unhooking and transfer, it will be necessary to specify the access conditions: - [Hooking and unhooking sites](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/remorque/possibilites_accroch_decroch.md): In a trailer management problem with hooking and unhooking, it is necessary to specify where it is possible to hook and unhook the trailer. - [Hooking, unhooking and transfer times](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/remorque/tps_remorque.md): As indicated in the main trailer section: due to access constraints to the logistic sites, the trailer can be temporarily unhooked while the truck continues to drive to collect/deliver to customer sites. - [Trailer and partial operation](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/remorque/trailer_partial_operation.md): A vehicle with a trailer, tasked with collecting or delivering an operation at a location with limited access, may only be able to collect or deliver a portion of the operation at a time. In such cases, the vehicle can transport part of the load to or from the trailer, which remains in a more accessible location. The vehicle will then return to the restricted area to continue collecting or delivering the remaining portions of the operation, repeating the process until the full operation is completed. - [Route profile options](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile.md): 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. - [Some basic features](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/basicFeatures.md): Description - [Operation priorities](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/basicFeatures/priorities.md): Depending on the context, the definition and interpretation of priorities may differ. - [Zoning](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/basicFeatures/zoning.md): Depending on the problem to be solved, zoning constraints can be handled differently. - [Calculation parameters](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/calculationParameters.md): Description - [Distance precision](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/distancePrecision.md): Description - [Language definition](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/languageDefinition.md): Description - [Night hours definition](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/nightHoursDefinition.md): Description - [Time precision](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/timePrecision.md): Description - [Unit of compartments](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/unitOfCompartments.md): Description - [Unit of depot assignment](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/unitOfDepotAssignment.md): Description - [Valorization criteria](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/routeProfile/valorizations.md): Description - [Service time](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService.md): The concept of service time represents the time spent to process the operations on sites of origin and destination. Depending on the logistic context, it can model (non-exhaustive list): - [Flow](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/site_debits.md): It is possible to define service times based on flow, therefore calculated according to the quantity to be loaded / unloaded. - [Depending on the product family](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/site_par_famille_produits.md): It is possible to apply rules for calculating different service times depending on the type of concerned goods. - [Override at operation level](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/site_surcharge_op.md): In some contexts, the definition of service times at the site level is too generic to reflect the diversity of service times observed in the real world. - [Fixed time](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/site_temps_forfaitaires.md): It is possible to define two types of fixed service time: - [Flow depending on the characteristics](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/vehicle_par_caracteristique.md): It is possible to model a variable service time (flow) linked to the vehicle and the equipment used for handling. This is particularly useful when the handling flow depends on the site on which the handling takes place and the vehicle which carries the goods. - [Flow depending on the product family](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/tempsService/vehicle_par_famille_produit.md): It is possible to model a variable service time (flow) linked to the vehicle and the type of goods transported. - [Additional activities - Stops](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/via.md): In certain Problems, it may be necessary to specify triggers of additional activities to model, for example, breaks, administrative times, etc. - [Stop with positioning constraints](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/via/via_positionne.md): When the additional activity that we want to schedule is linked to a precise placement in the route, we use the notion of Stop under positioning conditions. - [Stops triggered based on working or driving time](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/via/via_travail.md): When the additional activity to be triggered is linked to a threshold of working or driving time, the notion of Stop is used under the condition of work / driving. - [Stops with time window condition](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/via/via_tw.md): When the additional activity to be triggered is linked to a specific time window, the notion of a time-dependent Stop is used. - [Driving speed](https://api-optim.sinari.com/doc/mpt/docs/mpt/fonctionnalites/vitesseRoulage.md): Depending on the type of transport, trucks can drive slower when loaded than when empty. It is possible to set a penalty for a vehicle's speed based on its loading rate in weight. ###### FAQ - [FAQ](https://api-optim.sinari.com/doc/mpt/docs/mpt/faq.md) - [Customer or Depot site?](https://api-optim.sinari.com/doc/mpt/docs/mpt/faq/client_ou_depot.md): Documentation coming soon. In the meantime, see the technical documentation. - [Collection or Delivery?](https://api-optim.sinari.com/doc/mpt/docs/mpt/faq/collecte_ou_livraison.md): Documentation coming soon. In the meantime, see the technical documentation. - [A word about the units](https://api-optim.sinari.com/doc/mpt/docs/mpt/faq/units.md): Dates, durations and distances use the same units in every request and response. ###### glossaire MPT stands for *Module de Planification de Tournées* (Route Planning Module) - [Glossary](https://api-optim.sinari.com/doc/mpt/docs/mpt/glossaire.md): MPT stands for *Module de Planification de Tournées* (Route Planning Module) ## Optional - [OpenAPI specification of the MPT API (JSON)](https://api-optim-prod.sinari.com/api-logistic/v3/api-docs/MPT%20-%20Route%20Scheduling%20and%20Optimisation): Request and response schemas. Do not use its "servers" URL: send requests to https://api-optim.sinari.com/v1/mpt/problems and https://api-optim.sinari.com/v1/mpt/solutions/{id} with an OIDC token, as described in the Quick start.