Perform the optimization
do_optim(
minus_like,
start.values,
lower.values,
upper.values,
options_nloptr = list(algorithm = "NLOPT_LN_BOBYQA", xtol_rel = 1e-08, maxeval = 1000),
optim = c("local", "global"),
...
)
the function to be minimized
vector of starting values
vector of lower values
vector of upper values
options to be passed to nloptr
should a global optimization be performed first ?
further arguments to be passed to minus_like