Models and methods for operational planning in freight railroads