Transparent Internship Scheduling Tool with LLM-Integrated Explainability: A Comparative Analysis of MILP and the Heuristic Regret Approach
Preprint
- 17 September 2026
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Healthcare schools must place students in a limited number of internship wards. Manual planning is slow and may be difficult to inspect or explain, and internship assignment must satisfy department rotation, institution uniqueness, ward capacity, internship round, and student preference rules. This study compares a capacity-constrained regret heuristic with mixed-integer linear programming (MILP). The heuristic builds assignments from the options available at each decision. The MILP reduces the total weighted cost for the full cohort. Both methods were implemented in JavaScript within a standalone browser application. Method-specific records were also exported for a separate large language model explanation step. The evaluation used 133 students, three internship departments, and 101 healthcare institutions in Austria. Each method produced 399 valid placements. The MILP reduced the total weighted cost by 3.5% compared with the heuristic, while the heuristic was about 106 times faster in the recorded run. In one anonymized explanation case, both explanations passed four constraint checks and cited evidence from their source records. The heuristic explanation received higher scores for alternative coverage, uncertainty, and depth. The results show a trade-off between cohort cost, runtime, and the detail available for explaining an individual assignment.Keywords
All Related Versions
- Version 1, 2026-09-17, Preprints
- Published version: Mathematics, 14 (22), 4183.
This publication has 21 references indexed in Scilit:
- Multi-objective student nurse allocation problem during training using exact and hybrid heuristic–metaheuristic methodsScientific Reports, 2026
- A survey on large language model (LLM) security and privacy: The Good, The Bad, and The UglyHigh-Confidence Computing, 2024
- Explainability for Large Language Models: A SurveyACM Transactions on Intelligent Systems and Technology, 2024
- An exact branch-and-price approach for the medical student scheduling problemComputers & Operations Research, 2021
- Exact and heuristic approaches for the automated design of medical trainees rotation schedulesOmega, 2020
- Stop explaining black box machine learning models for high stakes decisions and use interpretable models insteadNature Machine Intelligence, 2019
- Explanation in artificial intelligence: Insights from the social sciencesArtificial Intelligence, 2019
- Simulated annealing approach to nurse rostering benchmark and real-world instancesAnnals of Operations Research, 2017
- Two algorithms for the Student-Project Allocation problemJournal of Discrete Algorithms, 2007
- An indirect Genetic Algorithm for a nurse-scheduling problemComputers & Operations Research, 2004