You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packageVersion("smoof")
#[1] ‘1.5.1’
convertToMinimization(makeAlpine01Function(1))
#Error in convertProblemDirection(fn, minimize.after = TRUE) : Function should already be minimized.
Is it helpful to generate an error when using convertToMinimization on a function that is already minimised? I use this function in general on a bunch of test functions and get this error.
I'm aware of shouldBeMinimized but this makes my if-clause more complex.
I think convertToMinimization() should just return the function, if it is already to be minimised.
The text was updated successfully, but these errors were encountered:
MWE:
Is it helpful to generate an error when using
convertToMinimization
on a function that is already minimised? I use this function in general on a bunch of test functions and get this error.I'm aware of
shouldBeMinimized
but this makes my if-clause more complex.I think
convertToMinimization()
should just return the function, if it is already to be minimised.The text was updated successfully, but these errors were encountered: