[SciPy-dev] Proposal for more generic optimizers (posted before on scipy-user)
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...
More information about the Scipy-dev