fit_gensa: fit_gensa

View source: R/fit_gensa.R

fit_gensaR Documentation

fit_gensa

Description

runs optimization using GenSA package

Usage

fit_gensa(
  objective,
  start,
  lower,
  upper,
  hessian = FALSE,
  opt_args = list(),
  obj_args = list(),
  ...
)

Arguments

objective

function; the objective function to minimize

start

numeric vector; starting parameters

lower

numeric vector; lower bounds on parameters

upper

numeric vector; upper bounds on parameters

hessian

logical; if TRUE, calculate hessian at solution. Default = FALSE

opt_args

list; list of arguments passed on to GenSA, see GenSA function for details

obj_args

list; list of arguments to pass on to objective function

...

further arguments passed to objective


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