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

MOIMBO with interleave.random.points causes error #508

Open
mb706 opened this issue Feb 24, 2021 · 1 comment
Open

MOIMBO with interleave.random.points causes error #508

mb706 opened this issue Feb 24, 2021 · 1 comment
Assignees

Comments

@mb706
Copy link
Contributor

mb706 commented Feb 24, 2021

ctrl = makeMBOControl(propose.points = 2L)
ctrl = setMBOControlTermination(ctrl, iters = 10L)
ctrl = setMBOControlInfill(ctrl, crit = makeMBOInfillCritEI(), interleave.random.points=1)
ctrl = setMBOControlMultiPoint(
  ctrl,
  method = "moimbo",
  moimbo.objective = "ei.dist",
  moimbo.dist = "nearest.neighbor",
  moimbo.maxit = 200L
)

mbo(makeBraninFunction(), control = ctrl)
#> Computing y column(s) for design. Not provided.
#> [mbo] 0: x=4.34,8.31 : y = 52.6 : 0.0 secs : initdesign
#> [mbo] 0: x=0.327,12.7 : y = 70.9 : 0.0 secs : initdesign
#> [mbo] 0: x=7.78,0.782 : y = 11.1 : 0.0 secs : initdesign
#> [mbo] 0: x=1.94,7.19 : y = 20.9 : 0.0 secs : initdesign
#> [mbo] 0: x=5.85,4.23 : y = 28.4 : 0.0 secs : initdesign
#> [mbo] 0: x=-1.44,14.1 : y = 41.6 : 0.0 secs : initdesign
#> [mbo] 0: x=-4.07,2.08 : y = 161 : 0.0 secs : initdesign
#> [mbo] 0: x=9.92,10.1 : y = 52.8 : 0.0 secs : initdesign
#> Error in (function (..., deparse.level = 1)  : 
#>   number of columns of matrices must match (see arg 2)
@mb706
Copy link
Contributor Author

mb706 commented Feb 24, 2021

I believe This happens in joinProposedPoints(list(res, proposePointsRandom(opt.state))), where the randomly generated points and the MOIMBO generated points have a different format of "crit.vals".

@jakob-r jakob-r self-assigned this Mar 23, 2021
jakob-r added a commit that referenced this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants