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

See also

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


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.