Text this: Comprehensive optimization of passenger trains operation based on an automated system for managing the profitability of passenger traffic