Optimization of Schedules with Heterogeneous Train Structure in Plan-ning of Railway Lines