Optimization models in mass transit resources management