func : callable func(x, *args)
Function to minimize. Should return f and g, where f is the value of the function and g its gradient (a list of floats). If the function returns None, the minimization is aborted.
x0 : list of floats
Initial estimate of minimum.
fprime : callable fprime(x, *args)
Gradient of func. If None, then func must return the function value and the gradient (f,g = func(x, *args)).
args : tuple
Arguments to pass to function.
approx_grad : bool
If true, approximate the gradient numerically.
bounds : list
(min, max) pairs for each element in x, defining the bounds on that parameter. Use None or +/-inf for one of min or max when there is no bound in that direction.
etc.......
Partager