Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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, theNQueensclass). -
Configure a Solver (for example a First Fit and Tabu Search solver for any
NQueensinstance). - 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.