fminbnd Output Function Call

Share:

Description

This function calls the output function and make it match neldermead requirements. It is used in the fminbnd 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 fminbnd 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

fminbnd, neldermead, neldermead.set,