Optimization AI in Java, made easy with OptaPlanner
summary
Shows building a web app that generates a school timetable with OptaPlanner on Quarkus, loading rooms, timeslots and lessons from a DB and solving in seconds — the demo moves from a score of -40 uninitialized planning variables to zero hard violations. Implements constraints with the constraint streams API (teacher conflict fixed by a unique-pair rule), adds a soft teacher room stability penalty to reduce room switches, and submits jobs via the SolverManager API. Claims near-optimal solutions, real-time updates, and big-company savings in the hundreds of millions and millions of kg CO₂.
AI-written summary · about
chapters (4)
related talks
35mAI on Spring I love it when an OptaPlan comes together
51mA.I. constraint optimization with OptaPlanner
57mAI maintenance scheduling with OptaPlanner on Quarkus
47mPlan Before You Build: Deterministic Planning Patterns for AI Agents
20mJava Made the Impossible Possible! Building Apps for the Education System
31mLLMs can't optimize schedules, but AI can!
47mCreating AI-infused Apps, the Easy Way 🤙
01h 01mUnlocking AI's Potential: Smarter Coding in Apache NetBeans IDE
