Skip to content

Speed multiplier

Speed multiplier

speed_multiplier adjusts how fast a Driver drives relative to the default travel times. It is optional and defaults to 1.

  • 0.5 — the Driver is half as fast: every drive takes twice as long
  • 1.2 — the Driver is 20% faster
  • Omit, or set 1, for the default speed

Only driving time is affected. Job duration, parking_duration, waiting, and distance are unchanged.

The value must be a finite number greater than zero.

Speed multiplier can be applied in both Traffic or Static optimisations. Different Drivers in the same request may use different multipliers.

{
  "uid": "slow_van",
  "start": {"lat": -33.867798, "lon": 151.166256},
  "end": "start",
  "shift_start": 8,
  "shift_end": 17,
  "speed_multiplier": 0.8
}