Minimize a function using modified Powell’s method.
Parameters: |
|
---|---|
Returns: | (xopt, {fopt, xi, direc, iter, funcalls, warnflag}, {allvecs})
|
Other Parameters:
- xtol : float
- Line-search error tolerance.
- ftol : float
- Relative error in func(xopt) acceptable for convergence.
- maxiter : int
- Maximum number of iterations to perform.
- maxfun : int
- Maximum number of function evaluations to make.
- full_output : bool
- If True, fopt, xi, direc, iter, funcalls, and warnflag are returned.
- disp : bool
- If True, print convergence messages.
- retall : bool
- If True, return a list of the solution at each iteration.
Notes: | Uses a modification of Powell’s method to find the minimum of a function of N variables. |
---|