Closed be-marc closed 4 years ago
@jakob-r I have no idea what this issue means. why would we want multiple objectives in an instance. the description is not really clear
Look at the following lines: https://github.com/mlr-org/bbotk/blob/448b57703810626e79e4badc76b166d5eaeffa05/R/OptimInstance.R#L138-L140
They will get called over and over, although it is clear from the point of construction whether this condition is met or not. IMHO this is an indicator for bad design. That's why I proposed to set the right function during construction of the OptimInstance
. Another solution would be to have a $make_objective_function()
method that gives an objevtive function that can be used - i am just not sure if the pointers to the OptimInstance
would survive.
I still have no idea what this issue means, can you please communicate this cleary...? Otherwise it is not actionable
has been solved after discussion on MM in PR #91