Abstract:With the improvement of urban residents’ consciousness of green and low-carbon travel, ride-sharing travel of online car-hailing emerged at the historic moment. However, due to the driving route issue involved in the ride-sharing mode, differences between the passengers and between the passengers and the driver are highly likely to occur. Moreover, the costs of this ride-sharing travel mode remain to be clarified. For the above-mentioned and various other reasons, the ride-sharing mode has not been widely promoted and applied. To address the problems with this travel mode, this study constructs a route optimization model for online car-hailing ride-sharing. and the model takes into account the cost of waiting time, that of driving distance, benefit, capacity constraint, time window constraint, etc. According to the characteristics of the ride-sharing model, a solving genetic algorithm satisfying the constraints on the ride-sharing model is designed by drawing on the genetic algorithm. Matlab software is used to run the algorithm program and thereby solve the calculation example, and a maximum profit of 6 906.297 1 CNY and the detailed driving route for the vehicle are obtained after the program is run 44.08 s. The experiment shows that an approximate optimal solution for the ride-sharing route can be obtained by the ride-sharing model of online car-hailing constructed and the genetic algorithm designed, which proves the feasibility and effectiveness of the proposed model and algorithm.