Feasibility Study of Scheduling in Matrix Production Systems Using Large Language Models
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [sv]
Denna studie utvärderar möjligheten att använda stora språkmodeller (LLM) för att generera produktionsscheman i matrisproduktionssystem (MPS). En blandad metod användes, där systematiska och snöbollseffektbaserade litteraturgenomgångar kombinerades med en kontrollerad experimentell studie. Studien identifierar först schemaläggningsutmaningarna i MPS och undersöker hur LLM har tillämpats inom industriell planering och schemaläggning. En hypotetisk MPS-miljö utformades med realistiska begränsningar, inklusive buffertkapacitet, transportförseningar och uppgifts-maskin-mappningar. Studien jämför prestandan hos LLM-genererade scheman, som skapats genom strukturerad prompt engineering, med de som skapats av en Constraint Programming (CP)-modell utvecklad av en samarbetande forskare och en Mixed Integer Linear Programming (MILP)-optimeringsmodell. Utvärderingskriterierna omfattade makespan, efterlevnad av begränsningar och schemaläggningens genomförbarhet. Resultaten visar att även om LLM ibland kunde generera strukturellt rimliga scheman, särskilt när det gäller uppgiftsordning och maskinens lämplighet, lyckades de inte konsekvent producera fullt giltiga och begränsningsrespekterande resultat. Studien drar slutsatsen att även om LLM visar tidiga lovande resultat som adaptiva schemaläggningsassistenter, är deras nuvarande prestanda inte tillräckligt tillförlitlig för praktisk användning i industriella miljöer utan vidare utveckling, finjustering eller integration med etablerade schemaläggningssystem.
Abstract [en]
This study evaluates the feasibility of using Large Language Models (LLMs) to generate production schedules in Matrix Production Systems (MPS). A mixed-method approach was adopted, combining systematic and snowballing literature reviews with a controlled experimental study. The study first identifies the scheduling challenges in MPS and examines how LLMs have been applied in industrial planning and scheduling. A hypothetical MPS environment was designed incorporating realistic constraints, including buffer capacities, transport delays, and task-machine mappings. The study compares the performance of LLM-generated schedules, produced through structured prompt engineering, with those created by a Constraint Programming (CP) model developed by a collaborating researcher and a Mixed Integer Linear Programming (MILP) optimization model. Evaluation criteria included makespan, constraint adherence, and schedule feasibility. Results indicate that while LLMs were sometimes able to generate structurally reasonable schedules, especially with respect to task order and machine eligibility, they failed to consistently produce fully valid and constraint-respecting outputs. The study concludes that although LLMs show early promise as adaptive scheduling assistants, their current performance is not reliable enough for practical use in industrial settings without further development, fine-tuning, or integration with established scheduling systems.
Place, publisher, year, edition, pages
2025. , p. 90
Series
TRITA-ITM-EX ; 2025:344
Keywords [en]
Matrix Production Systems (MPS), Large Language Models (LLM), Scheduling, Prompt Engineering
Keywords [sv]
Matrix Production Systems (MPS), Large Language Models (LLM), Schemaläggning, Prompt Engineering
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-367044OAI: oai:DiVA.org:kth-367044DiVA, id: diva2:1983668
Supervisors
Examiners
2025-07-112025-07-11