minimize_scalar(method=’bounded’)

scipy.optimize.minimize_scalar(fun, bounds=None, args=(), method='bounded', tol=None, options={'func': None, 'xatol': 1e-05, 'maxiter': 500, 'disp': 0})

See also

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

Options:

maxiter : int

Maximum number of iterations to perform.

disp : bool

Set to True to print convergence messages.

xatol : float

Absolute error in solution xopt acceptable for convergence.