On an optimal control problem of train operation | Synapse