We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2817e5d commit f1f9e00Copy full SHA for f1f9e00
R/proposePointsConstantLiar.R
@@ -19,6 +19,7 @@ proposePointsConstantLiar = function(opt.state) {
19
for (i in 1:npoints) {
20
# propose point, add to opt.path2 with y = lie, then update model
21
props[[i]] = proposePointsByInfillOptimization(opt.state, control = control2, opt.path = opt.path2, models = list(model))
22
+ if (i==npoints) break # we don't need to update the model when we aleady have the n-th proposal
23
x = dfRowToList(props[[i]]$prop.points, par.set, 1)
24
addOptPathEl(opt.path2, x = x, y = lie, dob = dob)
25
rt = makeTaskSingleObj(opt.path2, control)
0 commit comments