lme4 (version 1.0-6)

NelderMead: Generator object for the Nelder-Mead optimizer class.

Description

The generator objects for the NelderMead class of optimizers subject to box constraints and using reverse communications.

Nelder-Mead optimization of parameters, possibly with box constraints

Usage

NelderMead(...)

Nelder_Mead(fn, par, lower = rep.int(-Inf, n), upper = rep.int(Inf, n), control = list())

Arguments

...
Argument list (see Note below).
fn
a function of a single numeric vector argument returning a numeric scalar
par
numeric vector of starting values for the parameters.
lower
numeric vector of lower bounds (elements may be -Inf).
upper
numeric vector of upper bounds (elements may be Inf).
control
a named list of control settings. Possible settings are [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Value

  • a list with 4 components
  • fvalnumeric scalar - the minimum function value achieved
  • parnumeric vector - the value of x providing the minimum
  • ierrinteger scalar - error code (see below)
  • controllist - the list of control settings after substituting for defaults

Methods

NelderMead$new(lower, upper, xst, x0, xt){Create a new NelderMead object}

See Also

NelderMead