The main principle of the dispatch strategy is: from a global perspective, try to meet as many travel needs as possible, ensure that every ride-hailing demand of the passenger can be met faster and more certainly, and at the same time try to improve the order-taking efficiency of each driver to minimize the total pick-up distance and time.
About Didi dispatch source code
This algorithm is the most basic model for almost all similar order dispatching systems to solve this problem. It is called Batching Matching in Uber and "global optimization" or "delayed concentrated order dispatching" in Didi.
Source code function
Two-page order grabbing and order brushing system, front-end simplified and traditional Chinese dual language
Support countdown to grab orders, specify the order dispatching and order card in the background