Implement remaining OptaPlanner's API
Christopher-Chianelli opened this issue · comments
This issue will act as an epic, to keep track of OptaPlanner API that is currently not implemented in OptaPy:
Hi I would like to check in on planning entity difficulty - is there a development branch with this enabled and / or is it possible to contribute to this?
@jarrelscy there is no development branch where it is enabled. To implement it, you would need to add a difficulty_comparator
parameter to
optapy/optapy-core/src/main/python/annotations.py
Lines 529 to 571 in 2be7988
java.util.Comparator
. You could reuse the jpyinterpreter
work for that (i.e. import jpyinterpreter and use the corresponding function), in particular, optapy/jpyinterpreter/src/main/python/python_to_java_bytecode_translator.py
Lines 943 to 960 in 2be7988