Skip to main content
All CollectionsYourDriverApp mobile appAssigning and Dispatching jobs
Automated dispatching - algorithm for ASAP-bookings
Automated dispatching - algorithm for ASAP-bookings
Mewis Koeman avatar
Written by Mewis Koeman
Updated over 10 months ago

In this article we go in depth into our ASAP automated dispatch algorithm so you can fully understand this innovative but complex feature!

Our ASAP automated dispatch algorithm is automatically triggered when the dispatch of a trip is started with the requested time for pick up within 1 hour (60 minutes) of the start of the dispatch process. What we mean by 'algorithm' is how a dispatch is conducted by the YourDriverApp software and what rules apply in this automated process.

The process happens in the following steps:

Stage 1 - Driver selection
The algorithm selects all available drivers in the group. All drivers who have a job scheduled at the time of the requested pick up time are not available for this job and thus not selected.

Stage 2 - Grouping selected drivers
โ€‹
As opposed to our pre-book process, the ASAP process takes into account the ETA (Estimated Time of Arrival) of the driver's current location to the pickup address for the trip.

So now the algorithm checks which of the available drivers can actually arrive at the requested pickup time. The software groups all drivers that can be available on time PLUS the drivers who can be at the pickup location with a max. estimated delay of arrival of 15 minutes. All other drivers who are available are no longer selected.

Stage 3 - Sorting of the selected group
Now the group of selected drivers is sorted by the software based on the following data:

  • Driver Score

  • Last received job

The drivers with the best driver scores are sorted on top. The algorithm also checks how recently they received a full job offer compared to the other drivers in the group. The longer ago, the higher the driver is sorted.

Based on this info a driver list is sorted where the driver with the best scores is selected first, and so on, and so forth.

Stage 4 - Offering
The dispatcher sends out job offers, in order, every 3 seconds. This means that multiple drivers will receive the same job offer every 3 seconds. So driver 1 in the group sorting receives an offer first, then after 3 seconds driver 2 and so on, until the offer process closes after 60 seconds.

It is important to know that the ASAP automated dispatch process closes after 60 seconds, so within 60 seconds a driver should be assigned to the job otherwise the ASAP dispatch fails and should be dispatched manually again.

Stage 5 - Expanding to offline driver (notify)
โ€‹
If all available selected drivers have received an offer and have not yet responded, the software automatically notifies all current offline drivers with a 'new job' push message. Although these drivers were offline they may be interested in taking the job. After opening the push message they receive the full job offer which they can accept or decline while the offer is still open.

Stage 6 - Processing results
When job offers are sent out, drivers can respond by either accepting or declining the job offer. When a driver accepts the job offer our dispatching process will immediately stop sending out new offers. All drivers that have the same full job offer open on their screen will see the offer closing in 3 seconds, allowing them to send a response.

This means that multiple drivers can accept the offer, with the driver highest in the sorting order 'winning' the job offer.

Failed dispatch
If all drivers have declined, or when there is no response coming from the selected drivers, the dispatch will fail. This will send out a notification to all admins and operators of the group, or to the owner of the job.

Did this answer your question?