Part III. The Red Hat build of OptaPlanner solver
Solving a planning problem with OptaPlanner consists of the following steps:
Model your planning problem as a class annotated with the
@PlanningSolutionannotation (for example, the
Configure a Solver (for example a First Fit and Tabu Search solver for any
- Load a problem data set from your data layer (for example a Four Queens instance). That is the planning problem.
Solve it with
Solver.solve(problem), which returns the best solution found.