[SciPy-Dev] Why does optimize.nonlin take a tuple for func to optimize?

Skipper Seabold jsseabold@gmail....
Wed Mar 10 15:09:12 CST 2010


I am curious why optimize.nonlin expects a tuple for the function to
optimize?  This seems inconsistent with the other optimize methods I
have used in optimize.

http://docs.scipy.org/scipy/docs/scipy.optimize.nonlin/

Are there any objections to changing this to be more consistent with
the other solvers which take something like (F, x0, args=()) and use
optimize.wrap_function for the function to be optimized?  Perhaps
there is something I am missing.

-Skipper


More information about the SciPy-Dev mailing list