I am working with the R programming language. I am learning how to use the "mlrMBO" library for the purpose of optimizing multi-objective functions (using Bayesian Methods).
To do this, I tried the follow the necessary "mlrMBO" syntax to optimize this function for the given constraints and allowed ranges for "x1, x2, x3, x4" :
You cannot just pass the same argument twice (here: forbidden). You have to come up with one logical expression like you did in the other issues (therefore closed)
I am working with the R programming language. I am learning how to use the "mlrMBO" library for the purpose of optimizing multi-objective functions (using Bayesian Methods).
https://cran.r-project.org/web/packages/mlrMBO/index.html https://cran.r-project.org/web/packages/mlrMBO/mlrMBO.pdf https://cran.r-project.org/web/packages/mlrMBO/vignettes/mlrMBO.html https://github.com/mlr-org/mlrMBO In my example, for the following constraints:
x2 >x1 AND x4 >x3 I want to optimize the following (multi-objective) function I defined:
To do this, I tried the follow the necessary "mlrMBO" syntax to optimize this function for the given constraints and allowed ranges for "x1, x2, x3, x4" :
The first part of this code returns the following error and preventing me from running the rest of the code:
It seems that there is a problem while defining the constraints (i.e. "forbidden" statement). I tried reading more about this function https://www.rdocumentation.org/packages/ParamHelpers/versions/1.14/topics/makeParamSet , but I can't seem to figure out what I am doing wrong.
Can someone please show me why this error is being produced?
Thanks