Minimize a function using the downhill simplex algorithm.
Parameters : | func : callable func(x,*args)
x0 : ndarray
args : tuple
callback : callable
|
---|---|
Returns : | xopt : ndarray
fopt : float
iter : int
funcalls : int
warnflag : int
allvecs : list
|
Other Parameters: | |
xtol : float
ftol : number
maxiter : int
maxfun : number
full_output : bool
disp : bool
retall : bool
|
Notes
Uses a Nelder-Mead simplex algorithm to find the minimum of function of one or more variables.