What is OptaPlanner?
OptaPlanner is an open source constraint solver framework written in Java. Developers use it to build planning and scheduling logic into their own applications: vehicle routing, employee shift rostering, job shop scheduling, timetabling and similar problems where limited resources must be assigned under many rules.
It is a library, not a finished product. You model your problem as Java objects, write your business rules as constraints, and embed the solver in your own software.
How does OptaPlanner work?
OptaPlanner separates constraints into two kinds. Hard constraints must never be broken (a technician cannot be in two places at once). Soft constraints should be satisfied as well as possible (minimize travel time, respect preferred shifts). Every candidate plan gets a score based on those constraints.
Because planning problems of realistic size have far too many possible solutions to check one by one, OptaPlanner relies on heuristics. It first builds an initial plan with a construction heuristic, then improves it step by step with metaheuristics such as tabu search, simulated annealing and late acceptance. Incremental score calculation keeps each step cheap, since only the changed part of the plan is re-evaluated.
Where does OptaPlanner stand today?
OptaPlanner was created in 2006 by Geoffrey De Smet and was sponsored by Red Hat for many years. In 2023, De Smet and the core engineering team forked the project as Timefold Solver. Red Hat announced the end of life of its OptaPlanner build in 2024, and the source code now lives in the Apache KIE (incubating) project. Teams running OptaPlanner in production today typically face a choice: stay on a codebase with limited active development, migrate to a fork, or move to a different approach.
OptaPlanner vs. an optimization API
With a solver library, your team owns everything around the algorithm: constraint modeling, performance tuning, benchmarking, hosting, scaling, and the map data needed for realistic travel times. That offers maximum flexibility and requires in-house optimization expertise to match.
Solvice takes the API route. You send a JSON request describing your jobs, resources and constraints, and receive an optimized plan back. Constraints such as time windows, skills, capacities and working hour rules are available out of the box, and distance matrices are included. The solver, its tuning and its infrastructure are our responsibility.