threeML.minimizer.scipy_minimizer module

class threeML.minimizer.scipy_minimizer.ScipyMinimizer(function, parameters, verbosity=10, setup_dict=None)[source]

Bases: LocalMinimizer

set_algorithm(algorithm: str) None[source]

set the algorithm for the scipy minimizer. Valid entries are “L-BFGS-B”, “TNC”, “SLSQP”

Parameters:

algorithm (str) –

Returns:

valid_setup_keys = ('tol', 'algorithm')