A.I. constraint optimization with OptaPlanner
summary
Open-source Java solver OptaPlanner solves vehicle routing, rostering and scheduling by encoding hard vs soft constraints, incremental scoring and local-search heuristics. Benchmarks report 5–15% faster routes on academic Belgium sets (customers see 15–30% reductions in driving time), an example app uses real road data and supports real-time re-routing with pinned stops, and rostering runs yield ~53% improvement in employee well‑being metrics. Implementation options: Drools rules, incremental Java or constraint streams; it works and scales.
AI-written summary · about
chapters (11)
- 0:00Start
- 4:12Road are asymmetric
- 6:27What is constraint solving?
- 17:00What is a planning problem?
- 30:05Calling the solve method
- 38:45Required skill constraint (Java)
- 43:41Required skill constraint (DRL)
- 45:21Who's in control?
- 46:24Conference scheduling
- 47:28Getting started
- 47:54Build from source
related talks
57mOptimization AI in Java, made easy with OptaPlanner
35mAI on Spring I love it when an OptaPlan comes together
57mAI maintenance scheduling with OptaPlanner on Quarkus
47mPlan Before You Build: Deterministic Planning Patterns for AI Agents
46mIntroduction to constraint programming
10mThe Plan That Learns
47mPanel: AI impact on E-commerce: Friend or a Foe?
31mLLMs can't optimize schedules, but AI can!
