|Top Previous Next|
Either Pickup or Delivery node is required.
Jobs should have a set of coordinates (X,Y).
ServiceTime is the time it requires to execute the pickup (default 0). Also see Service Time.
TimeWindows can be defined for the job. It is simply a start and stop timestamp.
It means the job has to start on or after the start timestamp and similarly finish before or on the stop timestamp.
Which also means the servicetime needs to fit within the window.
If more than one is defined, it means any one of the time windows can be used.
If the time windows has different costs, it will try to use the one with the smallest cost, all other factors considered too.
Default is no time windows and no cost.
Precedence can be used to make sure certain jobs are being executed before other jobs. This applies within a resource period, so unless two jobs are assigned to the same resource period, this has no effect. Low precedence is executed before high precedence (default 0). Pickup for a job is always before delivery no matter precedence.
Additional options when Matrix = StreetNetwork:
AvoidUTurn can be specified to make sure no U-turns are made (default false) at the pickup / delivery point.
If set to true for jobs on cul-de-sac links, it will be changed to false since a U-turn is needed anyway. A warning is included in the output when this occurs.
Direction can be used to control curb approach. In some situations it is required that a resource approaches the job on a particular side of the street. 5 values are possible:
-1: Any direction is accepted (default).
0: Direction should be in the digitized direction of the street.
1: Opposite of digitized direction.
2: Correct side of road in countries with right-hand driving
3: Correct side of road in countries with left-hand driving (UK, Australia, New Zealand, India etc)
If AvoidUTurn or Direction is set for any job, calculation of distance- and time matrix is done accordingly (takes more time).