repairInfeasRI2
(needed by RBFsearch.R).Wrapper for repairInfeasRI2
(needed by RBFsearch.R).
repairInfeasibleW(resNM, gReal, rbf.model, cobra, checkIt = FALSE)
a list as returned from optimizer (i.e. nmkb) with an infeasible
solution in x = resNM$par
a (1 x nconstraint) matrix holding the real constraint values at x
the constraint surrogate models
parameter list, we need here lower lower bounds of search region upper upper bounds of search region ri a list with all parameters for repairInfeasRI2
[FALSE] if TRUE, perform a check whether the returned solution is really feasible.
Needs access to the true constraint function conFunc
resRI
a list containing:
par
the repaired (feasible) solution
value
copied from resNM$value
feval
0 (to indicate that this solution comes from repairInfeasRI2
)
convergence
0
repairInfeasRI2
, RBFsearch