[SciPy-dev] change scipy.optimize function signatures?? FEEDBACK NEEDED!! (ticket 285)
Alan G Isaac
aisaac at american.edu
Thu Jul 19 14:03:28 EDT 2007
On Thu, 19 Jul 2007, Anne Archibald apparently wrote:
> Perhaps making objects to represent optimization problems might make
> it easier to suppy as many or as few parameters as desired?
That is a goal:
https://projects.scipy.org/scipy/scikits/browser/trunk/openopt/scikits/openopt/solvers/optimizers/optimizer
BUT the immediate issue is:
how to handle this ticket?
http://projects.scipy.org/scipy/scipy/ticket/285
Are you saying, handle it like this...
Keep the `brent` signature unchanged,
but move the core code into a class `Brent`.
The class can expose additional parameters as desired.
The `brent` function will now create an instance
of the `Brent` class and run it.
Individuals wanting finer control over optimization
parameters can create their own instance and set
parameters to their heart's desire.
Is that the idea?
I think I like it.
It would mesh with the longer term goal.
Cheers,
Alan Isaac
PS Sorry not to know, but who is 'timl'? He should have
a say here.
More information about the SciPy-Dev
mailing list