[SciPy-dev] Proposal for more generic optimizers (posted before on scipy-user)

Matthieu Brucher matthieu.brucher@gmail....
Thu Mar 22 12:37:59 CDT 2007

> Right now you require an object that implements methods with
> certain names, which is ok but I think not perfect.  Here is
> a possibly crazy thought, just to explore.  How about making
> all arguments optional, and allowing passing either such an
> object or the needed components?  Finally, to accmmodate
> existing objects with a different name structure, allow
> passing a dictionary of attribute names.

Indeed, that could be a solution. The only question remaining is how to use
the dictionnary, perhaps creating a fake object with the correct interface ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20070322/dd160640/attachment.html 

More information about the Scipy-dev mailing list