fitbenchmarking.controllers.scipy_controller module

Implements a controller for the scipy fitting software. In particular, here for the scipy minimize solver for general minimization problems

class fitbenchmarking.controllers.scipy_controller.ScipyController(problem)

Bases: fitbenchmarking.controllers.base_controller.Controller

Controller for the Scipy fitting software.

cleanup()

Convert the result to a numpy array and populate the variables results will be read from.

eval_jac(x, *args)

Wrapper for problem.eval_j to form the approximate Jacobian for problem.eval_r_norm

Parameters:x (list) – The parameter values to find the Jacobian at
Returns:Approximation of the Jacobian
Return type:numpy array
fit()

Run problem with Scipy.

setup()

Setup problem ready to be run with SciPy