An A 2 -Gurobi Algorithm for Route Recommendation with Big Taxi Trajectory Data
Dawen Xia,Jian Geng,Bingqi Shen,Dewei Bai,Wenyong Zhang,Yang Hu,Yantao Li,Huaqing Li
DOI: https://doi.org/10.1007/s11042-023-15058-w
IF: 2.577
2023-01-01
Multimedia Tools and Applications
Abstract:To address the problems of high fuel consumption and severe traffic congestion caused by blindly cruising, we propose a Gurobi optimization algorithm combined with an A ngle and an A * algorithm (A 2 -Gurobi) to recommend the optimal taxi route based on big taxi trajectory data in the complex urban road network. Specifically, a r oad n etwork n ode e xtraction method (RNNE) based on the GPS direction of taxis is put forward to solve the difficulty of extracting road network nodes from the big Taxi GPS trajectory data. Next, an a ngle-based s harp p oint e limination approach (ASPE) is constructed to optimize the searching capability of the Gurobi algorithm to find the shortest path. Then, a Gurobi optimization algorithm (A-Gurobi) based on the A* algorithm is designed, which uses the heuristic function of the A* algorithm to enhance the ability of fast guidance from the origin to the destination, thereby improving the execution efficiency of the Gurobi algorithm. Finally, the A 2 -Gurobi algorithm is successfully applied to the optimal taxi route recommendation with real-world taxi trajectory big data. Compared with Gurobi, Dijkstra, Floyd, A*, Bi-A*-ACO, Bellman-Ford, BFS, Acyclic, and AC on the taxi trajectory data sets composed of 10, 20, 30, 40, and 50 nodes, the experimental results indicate that the distance of the A 2 -Gurobi algorithm for taxi route recommendation is 19.06%, 20.97%, 3.03%, 15.07%, 15.07%, and 3.85% shorter than that of Gurobi, A*, Bi-A*-ACO, BFS, Acyclic, and AC on average, respectively, and it also achieves the same distance as other algorithms. In terms of execution efficiency, our A 2 -Gurobi algorithm outperforms the baselines mentioned above by 38.56%, 96.63%, 66.66%, 66.66%, 90.87%, 97.60%, 97.27%, 97.21%, and 99.27%, respectively.