Scipy Minimize

class pbparam.ScipyMinimize(method=None, extra_options=None, optimiser_options=None)[source]

Scipy Minimize class.

This class is a wrapper around the scipy.optimize.minimize function and uses various minimization methods. The ‘Nelder-Mead’ method is faster to converge and robust.Please refer to (https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html) for more details.

Parameters:
  • method (str or callable) –

    Type of solver. Should be one of

    ‘Nelder-Mead’

    ‘Powell’

    ‘CG’

    ‘BFGS’

    ‘Newton-CG’

    ‘L-BFGS-B’

    ‘TNC’

    ‘COBYLA’

    ‘SLSQP’

    ‘trust-constr’

    ‘dogleg’

    ‘trust-ncg’

    ‘trust-exact’

    ‘trust-krylov’

    custom - a callable object

  • extra_options (dict, optional) – Dict of arguments that will be used in optimiser.