On Sun, Feb 23, 2014 at 12:03:16PM -0800, Denis Laxalde wrote:
> > @@ -376,10 +442,14 @@ def minimize(fun, x0, args=(), method=None, jac=None, hess=None,
> > -        if meth in ['cobyla']:
> > +        if meth in ['cobyla', '_custom']:
> >              options.setdefault('tol', tol)
> 
> Same remark here. Just leave `options` as it is passed to `minimize`.

In that case, the `tol` commandline parameter of `minimize` will be
simply ignored in case of custom functions, even though it is used
for all builtin functions.  Isn't that behavior rather surprising to
the user?