Enhancing Fairness in High-Speed Railway Crew Scheduling: A Two-Stage Heuristic Optimization Framework Under Daily-Adjusted Timetables
Featured Application
Abstract
1. Introduction
2. Literature Review
3. Methodology
3.1. Problem Formulation and Notation
3.2. Flexible Crew Scheduling Optimization Model
3.3. Two-Stage Heuristic Algorithm
| Algorithm 1 Two-stage heuristic algorithm | |
| Input: Crew set , task set , constraint set , objective function , maximum iteration | |
| Output: Optimized crew scheduling plan | |
| Stage-1 Greedy initial solution construction | |
| 01. | . |
| 02. | based on the priority . |
| 03. | do |
| 04. | Determine feasible crew subset . |
| 05. | then |
| 06. | Crew selection: . |
| 07. | . |
| 08. | else |
| 09. | . |
| 10. | end if |
| 11. | end for |
| 12. | . |
| Stage-2 Iterative Improvement Local Search (ILS-R) | |
| 13. | do: |
| 14. | . |
| 15. | . |
| 16. | do |
| 17. | . |
| 18. | do |
| 19. | and ) then |
| 20. | . |
| 21. | . |
| 22. | then |
| 23. | . |
| 24. | end if |
| 25. | end if |
| 26. | end for |
| 27. | end for |
| 28. | then |
| 29. | . |
| 30. | else |
| 31. | (Convergence termination). |
| 32. | end if |
| 33. | . |
| 34. | end while |
| 35. | (Maximum iteration termination). |
4. Result Analysis
4.1. Case Study and Data Preparation
4.2. Performance Comparison
4.3. Sensitivity Analysis
5. Discussion
5.1. Decision-Support System for Crew Assignment Application
5.2. Operational Acceptability
5.3. Cost and Operational Efficiency
5.4. Improvement to Crew Homogeneity Assumption
5.5. Stress-Testing on Extreme Scenarios
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| CG | Column Generation |
| CRP | Crew Rostering Problem |
| CSP | Crew Scheduling Problem |
| ILS-R | Iterative Local Search with Randomization |
| MILP | Mixed-Integer Linear Programming |
| RCSP | Railway Crew Scheduling Problem |
| CN | Crew Number |
| RN | Route Number |
Appendix A. Real-World Operational Data Crew Management Pattern
| Symbol | Type | Explanation |
|---|---|---|
| Indices | ||
| Index | Element of crew set | |
| Index | Element of the task set | |
| Index | Element of date set | |
| Index | Element of the time window set | |
| Sets | ||
| Set | Set of all train crews | |
| Set | Set of operating dates in the planning horizon | |
| Set | Set of baseline duties operated on the date | |
| Set | Set of adjustment duties on the date | |
| Set | Set of all duties on the date | |
| Set | Unified monthly duty set | |
| Set | Set of high-intensity duties on date | |
| Set | Set of all seven-day windows in | |
| Model parameters | ||
| Binary | Take 1 if crew g is available on date d, otherwise 0 | |
| Binary | consecutively to the same crew would violate the minimum rest requirement, 0 otherwise. | |
| Integer | Maximum number of working days in a month, units: days | |
| Integer | Minimum rest days during the planning period, units: days | |
| Integer | Maximum consecutive working days, units: days | |
| Integer | Minimum required rest days after consecutive work days, units: days | |
| Integer | Maximum total number of duty day for a crew during a seven-day time window, units: days | |
| Integer | Maximum high-intensity tasks (early departure or late arrival) for a crew during the planning period, units: tasks | |
| Integer | Minimum desired number of days on which a crew performs adjustment duties during the month, units: days | |
| Integer | Maximum allowable number of days on which a crew performs adjustment duties during the month, units: days | |
| Integer | Maximum allowed length of a consecutive sequence of days on which a crew performs adjustment duties, units: days | |
| Continuous | Working hours of duty j on date d unit: hours | |
| Continuous | Minimum rest time between two tasks, unit: hours | |
| Continuous | Maximum monthly total working hours, unit: hours | |
| Continuous | Minimum monthly working hours, unit: hours | |
| Decision variables | ||
| Binary | Take 1 if crew g works on date d, otherwise 0 | |
| Binary | Take 1 if crew , otherwise 0 | |
| Binary | Take 1 if crew g performs at least one adjustment duty on date d, otherwise 0 | |
| Continuous | Total working hours for crew g during the month, units: hours | |
| Continuous | Total working hours of crew from baseline duties, units: hours | |
| Continuous | Total working hours of crew from adjustment duties, units: hours | |
| Integer | Number of days in the planning period on which crew performs at least one adjustment duty, units: days | |
| Continuous | Maximum total working hours across all crews, units: hours | |
| Continuous | Minimum total working hours across all crews, units: hours | |
| Continuous | Objective value: range of total monthly working hours, units: hours | |
Appendix B. Real-World Operational Data Crew Management Pattern
| Date | Crew A | Crew B | Crew C | Crew D |
|---|---|---|---|---|
| 1 August | D3055 at Nanjing South (Stay overnight in Shanghai) | D3055 at Nanjing South (Stay overnight in Shanghai) | Rest | Rest |
| 2 August | D3056/7 (Stay overnight in Chengdu East) | D3056/7 (Stay overnight in Chengdu East) | Rest | Rest |
| 3 August | D954 to Nanjing South | D954 to Nanjing South | D3055 at Nanjing South (Stay overnight in Shanghai) | D3055 at Nanjing South (Stay overnight in Shanghai) |
| 4 August | Rest | Rest | D3056/7 (Stay overnight in Chengdu East) | D3056/7 (Stay overnight in Chengdu East) |
| 5 August | Rest | Rest | D954 to Nanjing South | D954 to Nanjing South |
| Date | Crew A | Crew B | Crew C | Crew D |
|---|---|---|---|---|
| 1 August | D2855 | D5646 | G7107 | G7629 + G7796 + G2312 + G7179 |
| 2 August | D2855 | G7103 + G8287 | G9421 | D2216 + D2218 |
| 3 August | D2855 | D2167 | G9421 | G1605 |
| Pattern | Description | Train | Crew | Duration |
|---|---|---|---|---|
| Standby duty | Crews are pre-assigned to respond to immediate operational demand. | Standby train prepared | Pre-designated standby crew group | 1 day |
| Extended duty | The same crew continues working beyond the baseline duty | The regular service train is already in operation | Continuation by the originally assigned crew | Less than 1 day |
| Rest-day duty | Crews scheduled for rest are temporarily recalled | Temporarily added or coupled train | Selected from the resting crew pool | 1 day or more |
Appendix C. Optimization Results Comparison Among Algorithms
| Scheduling Period | Hill Climbing | Simulated Annealing | Tabu Search | Adaptive Large Neighborhood Search | Two-Stage Heuristic Algorithm |
|---|---|---|---|---|---|
| 1 month | 49.08 | 30.87 | 29.40 | 20.57 | 11.94 |
| 2 months | 20.17 | 17.16 | 13.19 | 9.21 | 5.38 |
| 3 months | 43.70 | 25.17 | 26.54 | 15.21 | 10.42 |
| 4 months | 40.73 | 24.50 | 20.43 | 17.78 | 10.59 |
| 5 months | 11.63 | 11.05 | 7.05 | 6.27 | 3.72 |
Appendix D. Limitations of Range-Based Fairness Objective
References
- Zhao, W.; Zhou, L.; Guo, B.; Yue, Y.; Han, C.; Wang, Z.; Mo, Y. An Integrated Optimization Method of High-Speed Railway Rescheduling Problem at the Network Level. Appl. Sci. 2023, 13, 10695. [Google Scholar] [CrossRef]
- Dai, X.; Zhao, H.; Yu, S.; Cui, D.; Zhang, Q.; Dong, H.; Chai, T. Dynamic Scheduling, Operation Control and Their Integration in High-Speed Railways: A Review of Recent Research. IEEE Trans. Intell. Transp. Syst. 2022, 23, 13994–14010. [Google Scholar] [CrossRef]
- Yu, C.; Dong, W.; Lin, H.; Lu, Y.; Wan, C.; Yin, Y.; Qin, Z.; Yang, C.; Yuan, Q. Multi-layer regional railway network and equitable economic development of megaregions. npj Sustain. Mobil. Transp. 2025, 2, 3. [Google Scholar] [CrossRef]
- Dong, H.; Zhu, H.; Li, Y.; Lv, Y.; Gao, S.; Zhang, Q.; Ning, B. Parallel intelligent systems for integrated high-speed railway operation control and dynamic scheduling. IEEE Trans. Cybern. 2018, 48, 3381–3389. [Google Scholar] [CrossRef]
- Yan, B.; Huang, L.; Wan, C.; Qu, S.; Fan, X.; Zou, X. Stochastic multi-objective optimization for dynamic timetable and track allocation at high-speed railway hubs. Int. J. Transp. Sci. Technol. 2025, in press. [Google Scholar] [CrossRef]
- Van Rossum, B.; Dollevoet, T.; Huisman, D. Dynamic railway crew planning with fairness over time. Eur. J. Oper. Res. 2024, 318, 55–70. [Google Scholar] [CrossRef]
- Fuentes, M.; Cadarso, L.; Marín, Á. A hybrid model for crew scheduling in rail rapid transit networks. Transp. Res. Part B Methodol. 2019, 125, 248–265. [Google Scholar] [CrossRef]
- Li, W.; Li, Y.; Xue, R.; Jiang, Y.; Li, Y. Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members. Appl. Sci. 2024, 14, 11106. [Google Scholar] [CrossRef]
- Gkonou, N.; Nisyrios, E.; Gkiotsalitis, K. Combined Optimization of Maintenance Works and Crews in Railway Networks. Appl. Sci. 2023, 13, 10503. [Google Scholar] [CrossRef]
- Frisch, S.; Hungerländer, P.; Jellen, A. On a real-world railway crew scheduling problem. Transp. Res. Procedia 2022, 62, 824–831. [Google Scholar] [CrossRef]
- Pang, S.; Chen, M.-C. Optimize railway crew scheduling by using modified bacterial foraging algorithm. Comput. Ind. Eng. 2023, 180, 109218. [Google Scholar] [CrossRef]
- Cacchiani, V.; Huisman, D.; Kidd, M.; Kroon, L.; Toth, P.; Veelenturf, L.; Wagenaar, J. An overview of recovery models and algorithms for real-time railway rescheduling. Transp. Res. Part B Methodol. 2014, 63, 15–37. [Google Scholar] [CrossRef]
- Veelenturf, L.P.; Potthoff, D.; Huisman, D.; Kroon, L.G. Railway crew rescheduling with retiming. Transp. Res. Part C Emerg. Technol. 2012, 20, 95–110. [Google Scholar] [CrossRef]
- Jütte, S.; Müller, D.; Thonemann, U.W. Optimizing railway crew schedules with fairness preferences. J. Sched. 2017, 20, 43–55. [Google Scholar] [CrossRef]
- Heil, J.; Hoffmann, K.; Buscher, U. Railway crew scheduling: Models, methods and applications. Eur. J. Oper. Res. 2020, 283, 405–425. [Google Scholar] [CrossRef]
- Neufeld, J.S.; Scheffler, M.; Tamke, F.; Hoffmann, K.; Buscher, U. An efficient column generation approach for practical railway crew scheduling with attendance rates. Eur. J. Oper. Res. 2021, 293, 1113–1130. [Google Scholar] [CrossRef]
- Muroi, Y.; Nishi, T.; Inuiguchi, M. Improvement of column generation method for railway crew scheduling problems. IEEJ Trans. Electron. Inf. Syst. 2010, 130, 275–283. [Google Scholar] [CrossRef]
- Zhang, Z.; Guo, F.; Deng, W.; Chen, J. Research on the Integrated Optimization of Timetable and High-Speed Train Routing Considering the Coordination Between Weekdays and Holidays. Mathematics 2024, 12, 3776. [Google Scholar] [CrossRef]
- Tapkan, P.; Kulluk, S.; Özbakır, L.; Bahar, F.; Gülmez, B. A constraint programming based column generation approach for crew scheduling: A case study for the Kayseri railway. J. Oper. Res. Soc. 2023, 74, 2028–2042. [Google Scholar] [CrossRef]
- Dong, J.; Xu, X.; Long, J.; Yu, Y. Metro crew scheduling with fairness consideration in the fully automated operating environment. Transp. Res. Part C Emerg. Technol. 2025, 178, 105204. [Google Scholar] [CrossRef]
- Cascetta, E.; Coppola, P. Assessment of schedule-based and frequency-based assignment models for strategic and operational planning of high-speed rail services. Transp. Res. Part A Policy Pract. 2016, 84, 93–108. [Google Scholar] [CrossRef]
- Alakaş, H.M.; Eren, T.; Yelek, A.; Özder, E.H. Goal programming models for high-speed train crew scheduling problem. Soft Comput. 2024, 28, 5921–5936. [Google Scholar] [CrossRef]
- Wang, R.; Zhou, M.; Wang, H.; Yang, B.; Dong, H.; Wang, F.Y. Coordinated Rescheduling of Train Timetable and Crew Scheme for Passenger-Freight Collinear Railway. IEEE Trans. Comput. Soc. Syst. 2024, 11, 5828–5838. [Google Scholar] [CrossRef]
- Breugem, T.; Schlechte, T.; Schulz, C.; Borndörfer, R. A three-phase heuristic for the Fairness-Oriented Crew Rostering Problem. Comput. Oper. Res. 2023, 154, 106186. [Google Scholar] [CrossRef]
- Bansal, A.; Anoop, K.P.; Rangaraj, N. Heuristic for Railway Crew Scheduling With Connectivity of Schedules. Transp. Res. Rec. 2024, 2678, 873–887. [Google Scholar] [CrossRef]
- Zhou, S.-Z.; Zhan, Z.-H.; Chen, Z.-G.; Kwong, S.; Zhang, J. A multi-objective ant colony system algorithm for airline crew rostering problem with fairness and satisfaction. IEEE Trans. Intell. Transp. Syst. 2020, 22, 6784–6798. [Google Scholar] [CrossRef]
- Breugem, T.; Dollevoet, T.; Huisman, D. Is equality always desirable? Analyzing the trade-off between fairness and attractiveness in crew rostering. Manag. Sci. 2022, 68, 2619–2641. [Google Scholar] [CrossRef]
- Kasirzadeh, A.; Saddoune, M.; Soumis, F. Airline crew scheduling: Models, algorithms, and data sets. EURO J. Transp. Logist. 2017, 6, 111–137. [Google Scholar] [CrossRef]
- Feng, T.; Lusby, R.M.; Zhang, Y.; Tao, S.; Zhang, B.; Peng, Q. A branch-and-price algorithm for integrating urban rail crew scheduling and rostering problems. Transp. Res. Part B Methodol. 2024, 183, 102941. [Google Scholar] [CrossRef]
- Feng, T.; Lusby, R.M.; Zhang, Y.; Peng, Q.; Shang, P.; Tao, S. An ADMM-based dual decomposition mechanism for integrating crew scheduling and rostering in an urban rail transit line. Transp. Res. Part C Emerg. Technol. 2023, 149, 104081. [Google Scholar] [CrossRef]
- Wang, Y.; He, X.; Breugem, T.; Huisman, D. A decomposition approach to solve the individual railway crew Re-planning problem. J. Rail Transp. Plan. Manag. 2024, 32, 100487. [Google Scholar] [CrossRef]
- Wang, Y.; Zhang, Z.; Huisman, D.; D’Ariano, A.; Zhang, J. A Lagrangian relaxation approach based on a time-space-state network for railway crew scheduling. Comput. Ind. Eng. 2022, 172, 108509. [Google Scholar] [CrossRef]
- Hanczar, P.; Zandi, A. A novel model and solution algorithm to improve crew scheduling in railway transportation: A real world case study. Comput. Ind. Eng. 2021, 154, 107132. [Google Scholar] [CrossRef]



| Author/Year | Model | Objective | Key Constraints | Main Takeaways |
|---|---|---|---|---|
| Neufeld et al. (2021) [16] | Overlapping multi-period RCSP | Cost, attendance rates | Coverage, depot, attendance | Efficient CG for practical multi-period variants. |
| Veelenturf et al. (2012) [13] | Crew rescheduling with retiming | Minimize change/cancelations | Legal rules; limited retiming | Feasibility restoration after disruptions |
| Breugem et al. (2022) [27] | Fairness-oriented crew rostering | Equity and attractiveness | Labor rules | Formal equity objectives |
| Feng et al.(2024) [29] Feng et al. (2023) [30] | Integrated crew scheduling + rostering | Cost and duration variance | Operation constraints | Integration across layers improves quality |
| Wang et al. (2024) [31] | Individual crew re-planning model | Minimize assignment cost, reduce deviation from the original plan | Task coverage, duty, and roster rules | The proposed decomposition strategy is effective for long-period scheduling. |
| Fuentes et al. (2019) [7] | Hybrid network-flow task assignment model | Minimize total operational cost | Task coverage, continuous working time | The fix-and-relax heuristic method can obtain near-optimal solutions in a short computational time. |
| Wang et al. (2022) [32] | Time-space-state network for railway crew scheduling | Minimize total crew pairing cost | Standard railway crew rules | The Lagrangian relaxation approach is highly efficient, fast, and achieves near-optimality |
| Hanczar et al. (2021) [33] | Duty generation and assignment model | Minimize total working time | Total working time limits, Rest/break time rules, Task coverage | Demonstrates considerable cost savings over manual plans |
| Wang et al. (2024) [23] | Coordinated Rescheduling MILP | Minimize passenger delay and crew deviation | Crew connection rules, train operation constraints | The rolling horizon algorithm enhances efficiency and real-time response |
| This study | Integrated crew scheduling optimization framework | Fairness (Minimize the range of total working hours among all crews) | Task assignment constraints, fatigue control regulation constraints, and fairness constraints | Unify baseline and day-specific duties, treat crews as a pooled resource rather than route-fixed. |
| Closest Related Study | Timetable Setting | Planning Scope | Primary Goal | Key Difference vs. This Paper |
|---|---|---|---|---|
| Fairness-oriented crew planning (static/periodic) | periodic/low-frequency | roster or rolling horizon | fairness + cost | does not model routine daily-adjusted duty generation at network scale |
| Disruption-management crew rescheduling | incident-driven changes | short-term recovery | feasibility + deviation/cost | focuses on localized shocks, not systematic monthly re-planning |
| This study | daily-adjusted as norm | monthly/multi-month | fairness-first (range of hours) | unifies baseline + ad hoc duties; pooled crews; scalable two-stage heuristic |
| Objective | Maximum Work Hours (h) | Minimum Work Hours (h) | Standard Deviation (h) | Range (h) | Solution Time (s) |
|---|---|---|---|---|---|
| Origin plan | 219.17 | 127.18 | 17.63 | 91.99 | / |
| Minimize variance | 227.94 | 105.31 | 22.37 | 122.63 | 3761 |
| Minimize mean absolute deviation | 184.33 | 176.01 | 2.36 | 8.32 | 3753 |
| Minimize the range | 182.44 | 178.63 | 0.65 | 3.81 | 1826 |
| Scheduling Period | Maximum Work Hours (h) | Minimum Work Hours (h) | Standard Deviation (h) | Range (h) | Solution Time (s) |
|---|---|---|---|---|---|
| 1 month | 186.45 | 174.51 | 3.42 | 11.94 | 16.19 |
| 2 months | 354.82 | 349.44 | 1.36 | 5.38 | 76.57 |
| 3 months | 538.29 | 527.87 | 2.89 | 10.42 | 69.43 |
| 4 months | 711.43 | 700.84 | 3.13 | 10.59 | 104.93 |
| 5 months | 885.62 | 881.90 | 1.19 | 3.72 | 249.98 |
| Change in Maximum Number of Working Days in a Month (%) | High-Speed Railway Crew Scheduling Period | ||||
|---|---|---|---|---|---|
| 1 Month | 2 Months | 3 Months | 4 Months | 5 Months | |
| +5% | −5.05% (±0.38%) | −4.05% (±0.30%) | −3.84% (±0.28%) | −3.57% (±0.25%) | −3.52% (±0.27%) |
| +10% | +3.82% (±0.27%) | +3.30% (±0.23%) | +2.85% (±0.20%) | +2.74% (±0.21%) | +2.50% (±0.18%) |
| +15% | +7.24% (±0.54%) | +6.29% (±0.47%) | +5.58% (±0.41%) | +5.29% (±0.40%) | +5.20% (±0.37%) |
| +20% | +12.47% (±0.91%) | +10.26% (±0.77%) | +9.82% (±0.72%) | +9.34% (±0.70%) | +8.23% (±0.61%) |
| Change in Minimum Rest Time Between Two Tasks (%) | High-Speed Railway Crew Scheduling Period | ||||
|---|---|---|---|---|---|
| 1 Month | 2 Months | 3 Months | 4 Months | 5 Months | |
| +5% | −3.94% (±0.29%) | −3.52% (±0.26%) | −3.29% (±0.24%) | −2.95% (±0.21%) | −2.69% (±0.20%) |
| +10% | +5.50% (±0.39%) | +5.29% (±0.37%) | +4.51% (±0.32%) | +4.18% (±0.31%) | +3.52% (±0.26%) |
| +15% | +9.08% (±0.68%) | +8.79% (±0.65%) | +7.71% (±0.56%) | +7.04% (±0.53%) | +6.39% (±0.46%) |
| +20% | +12.41% (±0.91%) | +11.39% (±0.85%) | +10.76% (±0.79%) | +9.86% (±0.74%) | +8.02% (±0.59%) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wan, C.; Sheng, T.; Li, H.; Zhang, Y.; Yu, C. Enhancing Fairness in High-Speed Railway Crew Scheduling: A Two-Stage Heuristic Optimization Framework Under Daily-Adjusted Timetables. Appl. Sci. 2026, 16, 376. https://doi.org/10.3390/app16010376
Wan C, Sheng T, Li H, Zhang Y, Yu C. Enhancing Fairness in High-Speed Railway Crew Scheduling: A Two-Stage Heuristic Optimization Framework Under Daily-Adjusted Timetables. Applied Sciences. 2026; 16(1):376. https://doi.org/10.3390/app16010376
Chicago/Turabian StyleWan, Chen, Tianyi Sheng, Hua Li, Yuliang Zhang, and Chengcheng Yu. 2026. "Enhancing Fairness in High-Speed Railway Crew Scheduling: A Two-Stage Heuristic Optimization Framework Under Daily-Adjusted Timetables" Applied Sciences 16, no. 1: 376. https://doi.org/10.3390/app16010376
APA StyleWan, C., Sheng, T., Li, H., Zhang, Y., & Yu, C. (2026). Enhancing Fairness in High-Speed Railway Crew Scheduling: A Two-Stage Heuristic Optimization Framework Under Daily-Adjusted Timetables. Applied Sciences, 16(1), 376. https://doi.org/10.3390/app16010376
