The principle of predictive control is applied to research on real-time dynamic route optimization of traffic travel, and a real-time dynamic route optimization model based on predictive control is proposed. Taking the driving time as the controlled variable, the driving speed as the manipulated variable, some traffic conditions as disturbance factors, the shortest driving time as the set value, the static shortest route as the reference route of the control system, and the objective function with the shortest driving time, which is defined as the control performance is established. According to the change in the road network state and the optimal solution result of the objective function, the real-time dynamic route selection based on the shortest driving time is realized by switching among different static shortest routes, and the rolling optimization and combination of dynamic and static routes are implemented in the process. A unique method is also used to obtain the optimal solution of the objective function in this study, which is scientific, reasonable, fast, and convenient. The optimization model overcomes the shortcomings of determining the dynamic shortest route by depending on traffic flow prediction and speed prediction. The simulation results and case study prove that the predictive control model algorithm of real-time dynamic route optimization is correct and better. The most important feature of the model algorithm is that it takes the static driving route and desired driving time as the control goals, and it can achieve the global optimal solution of the shortest path and shortest time. The proposed model algorithm has good innovation and practical applications.