On Sun, Feb 23, 2014 at 12:00:38PM -0800, Denis Laxalde wrote:
> > @@ -328,11 +394,11 @@ def minimize(fun, x0, args=(), method=None, jac=None, hess=None,
> >      # - hess
> > -    if meth not in ('newton-cg', 'dogleg', 'trust-ncg') and hess is not None:
> > +    if meth not in ('newton-cg', 'dogleg', 'trust-ncg', '_custom') and hess is not None:
> 
> What's the point of this addition? A custom method could use `hess` or `hessp`. If something needs to be checked I'd say it should be in the method function itself.

  Exactly - a custom method could use `hess`, therefore it is
inappropriate to print a warning when `hess` is passed that asserts that
the method does not use Hessian.  I agree with your second sentence,
that is why I'm exempting _custom from these checks.