Iron ore travels over a rail network from mines to ports before being exported. The rail network presented a bottleneck for a major iron ore mining company in Western Australia, with mines spread across 100 sq km. Historically, train scheduling had been done manually, resulting in suboptimal schedules and underutilization of tracks and facilities at mines and ports. A mathematical solution had not been found for modeling and scheduling the company’s 60 daily trains running in multiple directions on a 300 km-long network of single, double and side tracks with periodic maintenance events and track outages. The mining company wanted to increase the efficiency and capacity of its rail network and hired Optym to develop an optimization-based train scheduling system, RailMAX, with the goal of achieving decision automation for its rail operations.