Dynamic coast control of train movement with genetic algorithm | Synapse