Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:sidebar:remoteapi:apiref:order:optimize [01/06/2018 06:27]
pash [Parameters]
en:sidebar:remoteapi:apiref:order:optimize [05/07/2021 07:19]
chdi [Flags]
Line 33: Line 33:
     "​priority":​{<​uint>:​{<​uint>:<​uint>​},​...},​     "​priority":​{<​uint>:​{<​uint>:<​uint>​},​...},​
     "​criterions":​{<​text>:<​uint>,​...},​     "​criterions":​{<​text>:<​uint>,​...},​
-    "​preference":​{<​uint>:<​uint>,​...}}+    "​preference":​{<​uint>:<​uint>,​...} ​// DEPRECATED 
 +}
 </​code>​ </​code>​
  
Line 60: Line 61:
 | 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)| | 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 | DEPRECATED: ​order priority in route |
 :!: JSON format is the same as in [[update]] request. :!: JSON format is the same as in [[update]] request.
  
Line 76: Line 77:
 | 0x100 | order is terminated | | 0x100 | order is terminated |
 | 0x200 | added visit reload warehouse | | 0x200 | added visit reload warehouse |
-| 0x300 | route splited ​to several | +| 0x300 | route split to several | 
 +| 0x400| split to independent route | 
 +| 0x1000 | without optimization | 
 +| 0x2000| calculate predict distance |
  
 =====Response===== =====Response=====
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam