-
Feature Request
-
Resolution: Unresolved
-
Optional
-
None
For those who don't want to litter their Entities or Solution classes with the value provider logic, we 'd support something like this:
public class MyFactory { @ValueRangeProvider(id = "myValueRange") public Collection<MyValue> getValues(...) { } }
Of course, OptaPlanner will need to know about this, so it will need something like this in the solver config xml:
<solver> <solutionClass>...</> ... <valueRangeProviderClass>...MyFactory</valueRangeProviderClass> ... </solver>
- is related to
-
PLANNER-160 Support for declarative value ranges
- Resolved