订单调度是大型网约车平台(如滴滴平台)市场引擎的核心,该平台每天需在数千万级别上持续匹配乘客出行需求与司机资源。由于供需关系具有动态性和随机性,网约车订单调度问题难以求得最优解。此外,系统响应时间、可靠性及多重目标等复杂因素进一步增加了求解难度。本文描述了我们针对该优化问题的解决方案演进过程,从最初的组合优化方法发展为包含半马尔可夫决策过程模型与深度强化学习的方法。同时,文章讨论了方案开发中的各项实际考量及其对业务的实际影响。
Order dispatching is instrumental to the marketplace engine of a large-scale ride-hailing platform, such as the DiDi platform, which continuously matches passenger trip requests to drivers at a scale of tens of millions per day. Because of the dynamic and stochastic nature of supply and demand in this context, the ride-hailing order-dispatching problem is challenging to solve for an optimal solution. Added to the complexity are considerations of system response time, reliability, and multiple objectives. In this paper, we describe how our approach to this optimization problem has evolved from a combinatorial optimization approach to one that encompasses a semi-Markov decision-process model and deep reinforcement learning. We discuss the various practical considerations of our solution development and real-world impact to the business.