Skip to main content
QUICK REVIEW

[Paper Review] A Novel Hybrid Heuristic-Reinforcement Learning Optimization Approach for a Class of Railcar Shunting Problems

Ruonan Zhao, Joseph Geunes|arXiv (Cornell University)|Mar 5, 2026
Railway Systems and Energy EfficiencyEngineering0 citations
TL;DR

Proposes a Hybrid Heuristic–Reinforcement Learning framework (HHRL) to solve OS-RSP and TS-RSP railcar shunting problems by decomposing TS-RSP into coupled OS-RSP subproblems and applying Q-learning with railway-specific heuristics.

ABSTRACT

Railcar shunting is a core planning task in freight railyards, where yard planners need to disassemble and reassemble groups of railcars to form outbound trains. Classification tracks with access from one side only can be considered as stack structures, where railcars are added and removed from only one end, leading to a last-in-first-out (LIFO) retrieval order. In contrast, two-sided tracks function like queue structures, allowing railcars to be added from one end and removed from the opposite end, following a first-in-first-out (FIFO) order. We consider a problem requiring assembly of multiple outbound trains using two locomotives in a railyard with two-sided classification track access. To address this combinatorially challenging problem class, we decompose the problem into two subproblems, each with one-sided classification track access and a locomotive on each side. We present a novel Hybrid Heuristic-Reinforcement Learning (HHRL) framework that integrates railway-specific heuristic solution approaches with a reinforcement learning method, specifically Q-learning. The proposed framework leverages methods to decrease the state-action space and guide exploration during reinforcement learning. The results of a series of numerical experiments demonstrate the efficiency and quality of the HHRL algorithm in both one-sided access, single-locomotive problems and two-sided access, two-locomotive problems.

Motivation & Objective

  • Motivate efficient shunting in flat railyards and address increasing freight volumes.
  • Model OS-RSP and TS-RSP with locomotive-based shunting costs and two yard layouts (one-sided and two-sided).
  • Develop a decomposition and learning framework to improve scalability and solution quality.
  • Provide computational evidence across small to large instances and compare with existing MIP approaches.

Proposed method

  • Decompose TS-RSP into two coupled OS-RSP subproblems using A-Preferential Split (APS) or Rotating Odd-Balance Split (ROBS).
  • Formulate OS-RSP and TS-RSP in a reinforcement learning setting with Q-learning for sequential decisions.
  • Use two preprocessing steps: preprocessing and Fixed f-group Batching to reduce state–action space.
  • Apply Q-learning to OS-RSP to learn segment-level shunting policies that move entire groups without splitting them.
  • Leverage parallel solvability of subproblems A and B to solve TS-RSP efficiently in practice.

Experimental results

Research questions

  • RQ1Can TS-RSP be effectively solved by decomposing into two coupled OS-RSP subproblems solved in parallel?
  • RQ2Does the HHRL framework yield better scalability and solution quality than a direct MIP approach for OS-RSP and TS-RSP?
  • RQ3How do different split mappings (APS vs. ROBS) affect solution quality and makespan?
  • RQ4What is the impact of preprocessing and fixed f-group batching on state–action space reduction and learning performance?

Key findings

  • HHRL delivers efficient solutions across both one-sided and two-sided yard types and varying problem scales.
  • Two-subproblem decomposition enables parallel solving with two locomotives, reducing coordination complexity.
  • APS and ROBS mappings provide alternative partitioning of groups that influence makespan and performance.
  • Computational results on 120 instances show competitive performance against existing MIP models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.