Algorithmic Methods For Railway Optimization by