LLMs can't optimize schedules, but AI can!
summary
Demo shows that LLMs fail at real scheduling but mathematical optimization solves it: the open source Timefold Solver (Java/Kotlin with a Python wrapper, Apache license) encodes shifts, skills and business constraints as Java classes and a score function. A back-of-envelope example exposes 10^126 combinations for 10 employees over 14 days. Live runs assign 133 shifts and scale to ~900 shifts while reporting a clear constraint score and explanations, producing feasible schedules quickly.
AI-written summary · about
chapters (10)
- 0:00The cat and AI introduction
- 1:42The limitations of GenAI
- 2:48Scheduling challenges
- 4:21Complexity and problem space
- 6:14Broadening the definition of AI
- 7:44Introduction to Timefold
- 9:26Implementing constraints in code
- 10:47Explaining the schedule results
- 12:52Advanced optimization strategies
- 14:43Conclusion and use cases
