This function shrinks the simplex with given coefficient sigma and returns an updated simplex. The shrink is performed with respect to the first point in the simplex.
An simplex object
The function to compute at vertices. The function is expected to have the following input and output arguments:
where x is a row vector and this a user-defined data, i.e. the
The shrinkage coefficient. The default value is 0.5.
A user-defined data passed to the function. If data is provided,
it is passed to the callback function both as an input and output argument.
Return a list with the following elements:
The updated simplex object.
The updated user-defined data.
Author of Scilab optimsimplex module: Michael Baudin (INRIA - Digiteo)
Author of R adaptation: Sebastien Bihorel (email@example.com)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.