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
|
Notes
Uses a Nelder-Mead simplex algorithm to find the minimum of a function of one or more variables.