Minimize a function over a given range by brute force.
Parameters : | func : callable f(x,*args)
ranges : tuple
args : tuple
Ns : int
full_output : bool
|
---|---|
Returns : | x0 : ndarray
fval : int
grid : tuple
Jout : ndarray
|
Notes
Find the minimum of a function evaluated on a grid given by the tuple ranges.