The current rail-sea intermodal train on the new western land-sea corridor has problems, such as the poor connection between rail and sea, and varying train frequency. It is urgent to optimize the train operation plan to realize the seamless connection between railway trains and ocean liners to create stable and efficient branded products. Based on comparing the train operation mode, the arrival time of the train, the number of grouping containers, etc. shall be carefully considered. With the shortest total time from the assembly point to the port and the lowest operating cost of the railway section as the goal, the optimization model of the train operation plan using multi-objective mixed integer nonlinear programming is constructed. A case facing the new western land-sea corridor is calculated to verify the validity of the model.