Bounded minimization for scalar functions.
Objective function to be minimized (must accept and return scalars).
The optimization bounds.
Extra arguments passed to function.
The convergence tolerance.
Maximum number of function evaluations allowed.
If True, return optional outputs.
0 : no message printing. 1 : non-convergence notification messages only. 2 : print a message on convergence too. 3 : print iteration results.
(xopt, {fval, ierr, numfunc})
Parameters (over given interval) which minimize the objective function.
The function value at the minimum point.
An error flag (0 if converged, 1 if maximum number of function calls reached).
The number of function calls made.
Finds a local minimizer of the scalar function func in the interval x1 < xopt < x2 using Brent’s method. (See brent for auto-bracketing).
scipy.optimize.brute
scipy.optimize.golden