Text this: The optimal solution to the energy-efficient train control in a multi-trains system–Part 2