Optimization Problems in Passenger Railway Systems