Introduction to Train Scheduling
When some commuter trains arrive at the end of the line, they must travel to a switching platform to be turned around so they can depart the station later, often from a different platform than the one at which they arrived. Engineers use software programs called algorithmic solvers to plan these movements, but at a station with thousands of weekly arrivals and departures, the problem becomes too complex for a traditional solver to unravel all at once.
The Complexity of Scheduling
Using machine learning, MIT researchers have developed an improved planning system that reduces the solve time by up to 50 percent and produces a solution that better meets a user’s objective, such as on-time train departures. The new method could also be used for efficiently solving other complex logistical problems, such as scheduling hospital staff, assigning airline crews, or allotting tasks to factory machines. Engineers often break these kinds of problems down into a sequence of overlapping subproblems that can each be solved in a feasible amount of time. But the overlaps cause many decisions to be needlessly recomputed, so it takes the solver much longer to reach an optimal solution.
Breaking Down the Problem
The new, artificial intelligence-enhanced approach learns which parts of each subproblem should remain unchanged, freezing those variables to avoid redundant computations. Then a traditional algorithmic solver tackles the remaining variables. “Often, a dedicated team could spend months or even years designing an algorithm to solve just one of these combinatorial problems. Modern deep learning gives us an opportunity to use new advances to help streamline the design of these algorithms. We can take what we know works well, and use AI to accelerate it,” says Cathy Wu, the Thomas D. and Virginia W. Cabot Career Development Associate Professor in Civil and Environmental Engineering (CEE) and the Institute for Data, Systems, and Society (IDSS) at MIT, and a member of the Laboratory for Information and Decision Systems (LIDS).
Eliminating Redundancy
One motivation for this research is a practical problem identified by a master’s student Devin Camille Wilkins in Wu’s entry-level transportation course. The student wanted to apply reinforcement learning to a real train-dispatch problem at Boston’s North Station. The transit organization needs to assign many trains to a limited number of platforms where they can be turned around well in advance of their arrival at the station. This turns out to be a very complex combinatorial scheduling problem — the exact type of problem Wu’s lab has spent the past few years working on. When faced with a long-term problem that involves assigning a limited set of resources, like factory tasks, to a group of machines, planners often frame the problem as Flexible Job Shop Scheduling.
Flexible Job Shop Scheduling
In Flexible Job Shop Scheduling, each task needs a different amount of time to complete, but tasks can be assigned to any machine. At the same time, each task is composed of operations that must be performed in the correct order. Such problems quickly become too large and unwieldy for traditional solvers, so users can employ rolling horizon optimization (RHO) to break the problem into manageable chunks that can be solved faster. With RHO, a user assigns an initial few tasks to machines in a fixed planning horizon, perhaps a four-hour time window. Then, they execute the first task in that sequence and shift the four-hour planning horizon forward to add the next task, repeating the process until the entire problem is solved and the final schedule of task-machine assignments is created.
An Adaptable, Scalable Approach
To test their approach, the researchers compared L-RHO to several base algorithmic solvers, specialized solvers, and approaches that only use machine learning. It outperformed them all, reducing solve time by 54 percent and improving solution quality by up to 21 percent. In addition, their method continued to outperform all baselines when they tested it on more complex variants of the problem, such as when factory machines break down or when there is extra train congestion. It even outperformed additional baselines the researchers created to challenge their solver. “Our approach can be applied without modification to all these different variants, which is really what we set out to do with this line of research,” she says.
Conclusion
The researchers have developed a new approach to solve complex logistical problems, such as train scheduling, using machine learning. Their approach, called learning-guided rolling horizon optimization (L-RHO), reduces solve time by up to 50 percent and produces a solution that better meets a user’s objective. L-RHO can also adapt if the objectives change, automatically generating a new algorithm to solve the problem — all it needs is a new training dataset. This approach can be applied to other complex optimization problems like inventory management or vehicle routing.
FAQs
Q: What is the main problem with traditional algorithmic solvers?
A: Traditional algorithmic solvers take a long time to solve complex logistical problems, such as train scheduling, because they need to recompute many decisions.
Q: How does L-RHO improve solve time?
A: L-RHO improves solve time by learning which parts of each subproblem should remain unchanged, freezing those variables to avoid redundant computations.
Q: Can L-RHO be applied to other complex optimization problems?
A: Yes, L-RHO can be applied to other complex optimization problems like inventory management or vehicle routing.
Q: What is Flexible Job Shop Scheduling?
A: Flexible Job Shop Scheduling is a type of problem that involves assigning a limited set of resources, like factory tasks, to a group of machines.
Q: How does rolling horizon optimization (RHO) work?
A: RHO breaks the problem into manageable chunks that can be solved faster by assigning an initial few tasks to machines in a fixed planning horizon.