SciPy

minimize_scalar(method=’brent’)

scipy.optimize.minimize_scalar(fun, args=(), method='brent', tol=None, options={'func': None, 'brack': None, 'xtol': 1.48e-08, 'maxiter': 500})

See also

For documentation for the rest of the parameters, see scipy.optimize.minimize_scalar

Options:
maxiter : int

Maximum number of iterations to perform.

xtol : float

Relative error in solution xopt acceptable for convergence.

Notes

Uses inverse parabolic interpolation when possible to speed up convergence of golden section method.

Previous topic

scipy.optimize.minimize_scalar

Next topic

minimize_scalar(method=’bounded’)