Train Trajectory Optimization Methods for Energy-Efficient Railway Operations