Abstract According to the complex characteristics of the mutual influence of passenger flows between different train adjustment schemes, a computer-aided train service plan adjustment optimization model based on passenger flow assignment is proposed with the goal of minimizing the remaining passenger turnover. The actual operating effects of trains and the impact between different adjustment measures and between trains are also considered. A computer iterative optimization algorithm with 2 stages based on the greedy principle is designed. The computer processing is divided into two stages: train adjustment plan selection and passenger flow information analysis. The selection of adjustment schemes is feedback-corrected based on the results of passenger flow assignment. Finally, taking the train operation plan of the Beijing-Shanghai high-speed railway as the research object, an example is demonstrated, and the results show that the model and algorithm can effectively obtain the optimal train adjustment scheme under the current conditions.