Call user-defined output function.
optimbase.outputcmd(this = NULL, state = NULL, data = NULL)
An optimization object.
The current state of the algorithm: either 'init', 'iter', or 'done'.
A list containing at least the following elements:
the current point estimate,
the value of the cost function at the current point estimate,
the current iteration index,
the number of function evaluations.
Do not return any data, but execute the output function defined in the
outputcommand
element of this
.
The data
list argument may contain more levels than those presented
above. These additional levels may contain values which are specific to the
specialized algorithm, such as the simplex in a Nelder-Mead method, the
gradient of the cost function in a BFGS method, etc...