do_optim function

NLOPT optimization

NLOPT optimization

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"), ... )

Arguments

  • minus_like: the function to be minimized
  • start.values: vector of starting values
  • lower.values: vector of lower values
  • upper.values: vector of upper values
  • options_nloptr: options to be passed to nloptr
  • optim: should a global optimization be performed first ?
  • ...: further arguments to be passed to minus_like
  • Maintainer: Paul Bastide
  • License: GPL (>= 3)
  • Last published: 2024-10-01