This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:order:optimize [01/06/2018 06:14] pash [Parameters] |
en:sidebar:remoteapi:apiref:order:optimize [01/06/2018 06:27] pash [Parameters] |
||
---|---|---|---|
Line 58: | Line 58: | ||
| speed | speed for optimization, km/h(60 on default) | | | speed | speed for optimization, km/h(60 on default) | | ||
| units | units array | | | units | units array | | ||
- | | priority | order of orders: {unit index:{order index:expected index of order in a route}} | | + | | priority | order of orders: {unit index:{order index:expected index of order in a route}} (index equal to -1 will fix this order as last in a route)| |
| criterions | route completion criterions: \\ max_mileage - maximum mileage, m;\\ max_duration - maximum duration, sec;\\ max_order_count - maximum orders count;\\ max_idling - maximum idle time between orders, sec;\\ split_intervals - if 1, then split based on intervals \\ (if the execution time of the order with unloading and moving, misses the next order time interval) | | | criterions | route completion criterions: \\ max_mileage - maximum mileage, m;\\ max_duration - maximum duration, sec;\\ max_order_count - maximum orders count;\\ max_idling - maximum idle time between orders, sec;\\ split_intervals - if 1, then split based on intervals \\ (if the execution time of the order with unloading and moving, misses the next order time interval) | | ||
| preference | order priority in route | | | preference | order priority in route | |
|