Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simplex

Carries out optimization using a simplex algorithm (finding a minimum)


Description

Function to optimize target function using a simplex method adopted from Matlab

Usage

simplex(fun, trparsopt, optimpars, ...)

Arguments

fun

Function to be optimized

trparsopt

Initial guess of the parameters to be optimized

optimpars

Parameters of the optimization: relative tolerance in function arguments, relative tolerance in function value, absolute tolerance in function arguments, and maximum number of iterations

...

Any other arguments of the function to be optimimzed, or settings of the optimization routine

Value

out

A list containing optimal function arguments (par, the optimal function value (fvalues) and whether the optimization converged (conv)

.

Author(s)

Rampal S. Etienne

Examples

cat("No examples")

DDD

Diversity-Dependent Diversification

v4.4.1
GPL-3
Authors
Rampal S. Etienne & Bart Haegeman
Initial release
2021-01-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.