Robust train routing and online re-scheduling