The vehicle routing problem is a complex one and is extremely difficult to solve. For 150 passengers on 8 buses, the number of possible solutions is not in the hundreds or thousands, but is 136 digits long! In SWAT’s algorithm, there are additional constraints to consider: guaranteed seats for everyone, total journey time to not exceed a specified time depending on where they live, passenger walking distance, total distance travelled, etc.
So how does our algorithm work?
To generate optimal routes, 2 matrices are first created, one for the travel time between every pair of stops, and one for the distance travelled between every pair of stops. Possible routes are generated from the 2 matrices, with the total time and total distance travelled derived from each matrix. As you can imagine, each matrix is exceedingly large, and if we were to solve for every combination, the computing resources and time needed would be impractically high. As a result, SWAT uses a stochastic meta-heuristic approach to find an optimal solution for this problem. In layman terms, this method produces a multidimensional space with each node representing a “cost”, and the optimal solution is the one with the least “cost”. Cost here, for example, can refer to the drive time, or the distance travelled.
Our algorithm, which is the heart of our routing technology, is highly efficient and can solve for 500 bookings in approximately 30 seconds. In fact, SWAT holds several records for the Li & Lim Benchmark, the global benchmark that keeps track of top solutions for this routing and resource allocation challenge.
We hope this article is able to give you an extremely simplified peek into our technology, and how we are able to optimise rides effectively for all our clients.
Coming Together as a Community for Elderly Mobility & a Success Case Study - Toyono Town
Toyono Town launched Public On-Demand Transport Services powered by SWAT's demand-responsive solution, offering elderly residents affordable, doorstep rides. This community-driven initiative, shaped by collaboration with residents, local groups, and officials, ensures accessibility while preserving independence.
Embracing the Future of Logistics: Key Strategies for Resilience, Efficiency, and Sustainability
In the rapidly shifting logistics landscape, companies must focus on three strategies to stay competitive: managing risks, leveraging technology for growth and efficiency, and committing to sustainability. Business Development Director Beep explains how these approaches help logistics businesses strengthen operations, adapt to change, and build resilience.
Boosting Supply Chain Planning, Execution, and Transparency through Technology
The rapid growth of e-commerce, increasingly complex international trade, and ever-rising customer expectations create new challenges for businesses worldwide. Traditional supply chain models are struggling to keep pace with these demands. Advanced technologies are needed to reshape how we plan, execute, and monitor the flow of goods and services.