Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with AEI #409

Closed
bommert opened this issue Dec 5, 2017 · 2 comments
Closed

Error with AEI #409

bommert opened this issue Dec 5, 2017 · 2 comments

Comments

@bommert
Copy link

bommert commented Dec 5, 2017

When I run the following code

ctrl = makeMBOControl(n.objectives = 2L)
ctrl = setMBOControlMultiObj(ctrl, method = "parego")
ctrl = setMBOControlInfill(ctrl, makeMBOInfillCritAEI())
fun = function(x) c(x, 1 - x)
set = makeParamSet(makeNumericParam("x", lower = 1, upper = 5))
fn = makeMultiObjectiveFunction(fn = fun, par.set = set)
mbo(fn, control = ctrl)

I get the error message

Error in checkNames(X1 = X, X2 = newdata, X1.name = "the design", X2.name = "newdata") : 
  the design and newdata must have the same numbers of columns

If I replace makeMBOInfillCritAEI() by makeMBOInfillCritEI() there is no error.

@jakob-r
Copy link
Sponsor Member

jakob-r commented Mar 23, 2018

Sorry. Forgot about that. It should be fixed with PR #408. Can you try the branch fix407_scalarize_parego_infill and check if everything looks like expected?

@jakob-r
Copy link
Sponsor Member

jakob-r commented Mar 27, 2018

The example works now. So I will close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants