Minimize a function using modified Powell’s method.
Parameters : | func : callable f(x,*args)
x0 : ndarray
args : tuple
callback : callable
direc : ndarray
|
---|---|
Returns : | xopt : ndarray
fopt : number
direc : ndarray
iter : int
funcalls : int
warnflag : int
allvecs : list
|
Notes
Uses a modification of Powell’s method to find the minimum of a function of N variables.