fminbnd.outputfun: fminsearch Output Function Call

Description Usage Arguments Value Author(s) See Also

View source: R/fminbnd.outputfun.R

Description

This function calls the output function and make it match neldermead requirements. It is used in the fminsearch function as the outputcommand element of the neldermead object (see ?neldermead and ?neldermead.set).

Usage

1

Arguments

state

The current state of the algorithm either 'init', 'iter' or 'done'.

data

The data at the current state. This is an object of class 'neldermead.data', i.e. a list with the following elements:

x

The current parameter estimates.

fval

The current value of the cost function.

simplex

The current simplex object.

iteration

The number of iterations performed.

funccount

The number of function evaluations.

step

The type of step in the previous iteration.

fmsdata

This is an object of class 'optimbase.functionargs' which contains specific data of the fminsearch algorithm:

Display

what to display

OutputFcn

the array of output functions

PlotFcns

the array of plot functions

Value

This function does not return any data, but execute the output function(s).

Author(s)

Author of Scilab neldermead module: Michael Baudin (INRIA - Digiteo)

Author of R adaptation: Sebastien Bihorel (sb.pmlab@gmail.com)

See Also

fminsearch, neldermead, neldermead.set,


sbihorel/neldermead documentation built on Feb. 7, 2022, 9:50 p.m.