Jacob Stevenson a écrit :
> When I originally wrote the class, the user could pass a custom
> minimizer. Since that is removed these checks are not needed anymore. I
> can delete them or leave them for generality, as you wish.

Yes, I'd say these could be removed.

> Also, what about the attributes nfev, njev, nhev? Are all the minimizers
> guaranteed to return those values? I think the answer is no, but I'm not
> sure.

No, not all solver use gradient/hessian information so they won't 
provide these attributes.