A Markov decision process approach to vacant taxi routing with e-hailing

Abstract The optimal routing of a vacant taxi is formulated as a Markov Decision Process (MDP) problem to account for long-term profit over the full working period. The state is defined by the node at which a vacant taxi is located, and action is the link to take out of the node. State transition probabilities depend on passenger matching probabilities and passenger destination probabilities. The probability that a vacant taxi is matched with a passenger during the traversal of a link is calculated based on temporal Poisson arrivals of passengers and spatial Poisson distributions of competing vacant taxis. Passenger destination probabilities are calculated directly using observed fractions of passengers going to destinations from a given origin. The MDP problem is solved by value iteration resulting in an optimal routing policy, and the computational efficiency is improved by utilizing parallelized matrix operations. The proposed model and an efficient implementation of the value iteration algorithm are tested in a case study with parameters derived from GPS trajectories of over 12,000 taxis in Shanghai, China for a study period of 5:30 - 11:30 am on a typical weekday. The optimal routing policy is compared with three heuristics based on simulated trajectories. Results show that the optimal routing policy improves average unit profit by 23.0% and 8.4% over the random walk and local hotspot heuristic respectively; and improves occupancy rate by 23.8% and 8.3% respectively. The improvement is larger during higher demand periods.

[1]  Shing Chung Josh Wong,et al.  A NETWORK MODEL OF URBAN TAXI SERVICES , 1998 .

[2]  Nicholas Jing Yuan,et al.  T-Finder: A Recommender System for Finding Passengers and Vacant Taxis , 2013, IEEE Transactions on Knowledge and Data Engineering.

[3]  Sirajum Munir,et al.  Online Cruising Mile Reduction in Large-Scale Taxicab Networks , 2015, IEEE Transactions on Parallel and Distributed Systems.

[4]  Ren-Hung Hwang,et al.  An effective taxi recommender system based on a spatio-temporal factor analysis model , 2015, Inf. Sci..

[5]  Yao Shen-jun,et al.  FCD-based analysis of taxi operation characteristics: A case of Shanghai , 2017 .

[6]  Yi-Chang Chiu,et al.  Modeling Routing Behavior for Vacant Taxicabs in Urban Traffic Networks , 2012 .

[7]  Martin W. P. Savelsbergh,et al.  Dynamic ridesharing: Is there a role for dedicated drivers? , 2015 .

[8]  B PowellWarren,et al.  Adaptive stepsizes for recursive estimation with applications in approximate dynamic programming , 2006 .

[9]  U. Faber Asymptotics In Statistics Some Basic Concepts , 2016 .

[10]  Shing Chung Josh Wong,et al.  Regulating Taxi Services in the Presence of Congestion Externality , 2003 .

[11]  Xiqun Chen,et al.  Short-Term Forecasting of Passenger Demand under On-Demand Ride Services: A Spatio-Temporal Deep Learning Approach , 2017, ArXiv.

[12]  Hassan Artail,et al.  The shared-taxi problem: Formulation and solution methods , 2014 .

[13]  S. Ukkusuri,et al.  Spatial variation of the urban taxi ridership using GPS data , 2015 .

[14]  Lin Yang,et al.  Scalable space-time trajectory cube for path-finding: A study using big taxi trajectory data , 2017 .

[15]  Xiaobo Liu,et al.  Testing the proportionality condition with taxi trajectory data , 2017 .

[16]  Yunpeng Wang,et al.  Mining factors affecting taxi drivers’ incomes using GPS trajectories , 2017 .

[17]  Sarit Kraus,et al.  Augmenting Decisions of Taxi Drivers through Reinforcement Learning for Improving Revenues , 2017, ICAPS.

[18]  W. Y. Szeto,et al.  Modelling multi-period customer-searching behaviour of taxi drivers , 2014 .

[19]  Shing Chung Josh Wong,et al.  Modeling the bilateral micro-searching behavior for urban taxi services using the absorbing Markov chain approach , 2005 .

[20]  Favyen Bastani,et al.  Towards Reducing Taxicab Cruising Time Using Spatio-Temporal Profitability Maps , 2011, SSTD.

[21]  Yuhan Dong,et al.  Recommend a profitable cruising route for taxi drivers , 2014, 17th International IEEE Conference on Intelligent Transportation Systems (ITSC).

[22]  Michel Gendreau,et al.  A pro-active real-time control approach for dynamic vehicle routing problems dealing with the delivery of urgent goods , 2013, Eur. J. Oper. Res..

[23]  Satish V. Ukkusuri,et al.  Optimal assignment and incentive design in the taxi group ride problem , 2017 .

[24]  Kai Zhang,et al.  A Framework for Passengers Demand Prediction and Recommendation , 2016, 2016 IEEE International Conference on Services Computing (SCC).

[25]  R. Ratliff,et al.  A multi-flight recapture heuristic for estimating unconstrained demand from airline bookings , 2008 .

[26]  Qinbao Song,et al.  Backward Path Growth for Efficient Mobile Sequential Recommendation , 2013, IEEE Transactions on Knowledge and Data Engineering.

[27]  Satish V. Ukkusuri,et al.  Time-of-Day Pricing in Taxi Markets , 2017, IEEE Transactions on Intelligent Transportation Systems.

[28]  Richard S. Sutton,et al.  Reinforcement Learning: An Introduction , 1998, IEEE Trans. Neural Networks.

[29]  Marius M. Solomon,et al.  The A Priori Dynamic Traveling Salesman Problem with Time Windows , 2004, Transp. Sci..

[30]  R. Jayakrishnan,et al.  A Real-Time Algorithm to Solve the Peer-to-Peer Ride-Matching Problem in a Flexible Ridesharing System , 2017 .

[31]  Min Ye,et al.  A Multiperiod Dynamic Model of Taxi Services with Endogenous Service Intensity , 2005, Oper. Res..

[32]  Zhaohui Wu,et al.  Prediction of urban human mobility using large-scale taxi traces and its applications , 2012, Frontiers of Computer Science.

[33]  T. N. Sriram Asymptotics in Statistics–Some Basic Concepts , 2002 .

[34]  W. Y. Szeto,et al.  A dynamic taxi traffic assignment model: A two-level continuum transportation system approach , 2017 .

[35]  Yafeng Yin,et al.  Surge pricing and labor supply in the ride-sourcing market , 2018, Transportation Research Part B: Methodological.

[36]  Kai Zhao,et al.  Predicting taxi demand at high spatial resolution: Approaching the limit of predictability , 2016, 2016 IEEE International Conference on Big Data (Big Data).

[37]  W. Y. Szeto,et al.  A cell-based logit-opportunity taxi customer-search model , 2014 .

[38]  João Gama,et al.  A predictive model for the passenger demand on a taxi network , 2012, 2012 15th International IEEE Conference on Intelligent Transportation Systems.

[39]  Chunming Qiao,et al.  Towards efficient vacant taxis Cruising Guidance , 2013, 2013 IEEE Global Communications Conference (GLOBECOM).

[40]  Patrick Jaillet,et al.  Online Spatio-Temporal Matching in Stochastic and Dynamic Domains , 2016, AAAI.

[41]  J. R. Smith,et al.  Coordinate systems and map projections , 1973 .

[42]  Shing Chung Josh Wong,et al.  Equlibrium of Bilateral Taxi-Customer Searching and Meeting on Networks , 2010 .

[43]  Der-Horng Lee,et al.  A Collaborative Multiagent Taxi-Dispatch System , 2010, IEEE Transactions on Automation Science and Engineering.

[44]  Carlo Ratti,et al.  Taxi-Aware Map: Identifying and Predicting Vacant Taxis in the City , 2010, AmI.

[45]  Hai Yang,et al.  Equilibrium properties of taxi markets with search frictions , 2011 .

[46]  W. Y. Szeto,et al.  A two-stage approach to modeling vacant taxi movements , 2015 .

[47]  Shing Chung Josh Wong,et al.  Modeling Urban Taxi Services with Multiple User Classes and Vehicle Modes , 2008 .

[48]  Gilbert Laporte,et al.  Double-horizon based heuristics for the dynamic pickup and delivery problem with time windows , 2004 .

[49]  R. Bellman A Markovian Decision Process , 1957 .

[50]  Gaël Varoquaux,et al.  The NumPy Array: A Structure for Efficient Numerical Computation , 2011, Computing in Science & Engineering.

[51]  Jun Xu,et al.  Real-Time Prediction of Taxi Demand Using Recurrent Neural Networks , 2018, IEEE Transactions on Intelligent Transportation Systems.

[52]  Stéphane Bressan,et al.  Routing an Autonomous Taxi with Reinforcement Learning , 2016, CIKM.

[53]  W. Y. Szeto,et al.  Sequential Logit Approach to Modeling the Customer-Search Decisions of Taxi Drivers , 2015 .

[54]  Chelsea C. White,et al.  Anticipatory Route Selection , 2004, Transp. Sci..

[55]  R. Jayakrishnan,et al.  Effect of Taxi Information System on Efficiency and Quality of Taxi Services , 2005 .

[56]  Shing Chung Josh Wong,et al.  Modeling urban taxi services in congested road networks with elastic demand , 2001 .

[57]  Hai Yang,et al.  Taxi services with search frictions and congestion externalities , 2014 .

[58]  Jieping Ye,et al.  The Simpler The Better: A Unified Approach to Predicting Original Taxi Demands based on Large-Scale Online Platforms , 2017, KDD.

[59]  W. Y. Szeto,et al.  A time-dependent logit-based taxi customer-search model , 2013 .

[60]  Guannan Liu,et al.  A cost-effective recommender system for taxi drivers , 2014, KDD.

[61]  Richard C. Larson,et al.  Urban Operations Research , 1981 .

[62]  Warren B. Powell,et al.  Adaptive stepsizes for recursive estimation with applications in approximate dynamic programming , 2006, Machine Learning.

[63]  João Gama,et al.  Predicting Taxi–Passenger Demand Using Streaming Data , 2013, IEEE Transactions on Intelligent Transportation Systems.