Railway track allocation: models and methods