An LLM-powered MILP modelling engine for workforce scheduling guided by expert knowledge
Qingyang Li, Lele Zhang, Vicky Mak-Hau
The University of Melbourne · Deakin University
Abstract
Formulating mathematical models from real-world decision problems is a core task in Operations Research, yet it typically requires considerable human expertise and effort, limiting practical application. Recent advances in large language models (LLMs) have sparked interest in automating this process from natural language descriptions. However, challenges including limited modelling expertise, dependence on large-scale training data, and hallucination affect the reliable application of LLMs in optimisation modelling. To address these challenges, we propose SMILO, an expert-knowledge-driven framework that integrates optimisation modelling expertise with LLMs to generate mixed-integer linear programming models. SMILO uses a three-stage architecture built on reusable modelling graphs and associated resources: identifying relevant modelling components, extracting instance-specific information using LLMs, and constructing models through expert-defined templates. This modular architecture separates information extraction from formula generation, enhancing modelling accuracy, transparency, and reproducibility. We demonstrate the implementation of our problem-type-specific modelling framework using workforce scheduling problems spanning manufacturing, logistics, and service operations as illustrative cases. Experiments show that SMILO consistently generates correct models in 93.33% of test instances across five trials, outperforming the baselines by at least 40%. This work offers a generalisable paradigm for integrating LLMs with expert knowledge across diverse decision-making contexts, advancing automation in optimisation modelling.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Agentic AI-Assisted Modeling for Production Scheduling: Assessment in Constraint ProgrammingarXiv · 2026
- Can a Language Model Write the Weights? An Empirical Study of LLM-Written Scoring Networks for Column Generation and MILP Branching, with a Bus-Driver Scheduling ApplicationarXiv · 2026
- Business optimization for digital manufacturing: A fine-tuned large language model approachInternational Journal of Production Economics · 2026
- OR-License: Evaluating LLM Agents as Real-World Operations Research PractitionersarXiv · 2026
- Constraint Reasoning and Large Language Models Join Forces: Providing Contrastive Explanations for Real-World Optimisation-Based ApplicationsarXiv · 2026
- Teaching LLMs to Generate Challenging MILP Instances via Solver FeedbackarXiv · 2026