AI on Spring I love it when an OptaPlan comes together
summary
Builds a runnable Spring Boot timetabling app using Spring Boot + OptaPlanner from the provided GitHub quickstart, mapping Lesson entities to planning variables (timeSlot, room), exposing a SolverManager REST endpoint and saving intermediate solutions. Demonstrates hard constraints (room/teacher/student conflicts), soft preferences (reduce teacher gaps, hallway flow) and shows OptaPlanner runs embedded in JVM with multi-threading. Claims a real-world vehicle routing deployment achieved 25% driving time reduction and frames the demo as a timetable solver with hard/soft constraints that produces feasible schedules quickly.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:46Application Overview
- 2:50Other Planning Problems
- 8:07Domain
- 9:49Code
- 11:57Time Table
- 12:56Front End
- 13:26Coding
- 19:40Solving
- 22:42Room Conflict
- 25:02Teacher Conflict
- 26:15Solve
- 30:03Questions
related talks
57mOptimization AI in Java, made easy with OptaPlanner
51mA.I. constraint optimization with OptaPlanner
50mArtificial Intelligence on Quarkus:I love it when an OptaPlan comes
57mAI maintenance scheduling with OptaPlanner on Quarkus
47mPlan Before You Build: Deterministic Planning Patterns for AI Agents
01h 00mSpring AI
45mThe Overwhelmed Spring Developer's Guide To AI
55mSpring into the AI Era: A Practical Exploration for Developers
