Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
NEW
-
NEW
Description
Design an API to solve uses case that have only 1 entity. This is not the Solver or SolverFactory or SolverManager API. This is probably a separate API.
The user:
- Defines a ConstraintProvider (hard and soft constraints)
- Defines an entity class
- Passes to a method a optional collection of facts, required collection(s) of value ranges and one entity. It assigns the entity.
- Does it return the entity instance?
- It does not clone the entity? There is no need for planning cloning.
- Does it pareto wise return a list of best assignments?
- So it does planning clone it?
- Does it return the entity instance?
- Does NOT have to define a planning solution class? No need for a list of entities
- Optional solver config.
- Turning on/off assertions, multithreaded solving, etc are still useful
- The solver config defaults to CH. it won't run LS.
- It will return quickly. Only 1 step (1 entity) and incremental score calc for the moves.
Requirements
- Set up a meeting to design the API
- Add an optaplanner-quickstart that uses it to schedule an appointment.
- Come up with a good use case. Cancer treatment appointments? Dentists appointments?