run_nloptr: run_nloptr

View source: R/run_nloptr.R

run_nloptrR Documentation

run_nloptr

Description

runs optimization using nloptr package

Usage

run_nloptr(
  objective,
  start,
  lower = NULL,
  upper = NULL,
  hessian = FALSE,
  method = "neldermead",
  control = list(),
  ...
)

Arguments

objective

function; the objective function to minimize

start

numeric vector; starting parameters

hessian

logical; if TRUE, find the hessian at the optimum. Default = T

method

string; method to use. See details. Default = "neldermead"

control

list; list of options. See nloptr::nloptr.print.options() for details.

...

further arguments passed to nloptr method and objective

Details

method options = "bobyqa", "ccsaq", "cobyla", "crs2lm", "direct", "isres", "lbfgs", "mma", "neldermead", "newuoa", "sbplx", "slsqp", "stogo", "tnewton", "varmetric"


gkane26/modelfitr documentation built on March 21, 2022, 10:52 a.m.