Re: Optimizer Discussion

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Optimizer-Discussion-tp13001p13006.html

Dima,
        looks ok. Would you be willing to code the new design? We could add it
in a future release.

Luigi


On Sun, 2009-09-13 at 13:10 +0200, Dima wrote:

> I'm not sure. I'm not happy with the whole setup, I think it is to
> tightly
> coupled. I'd prefer a design which is similar to the root solvers: you
> don't need a class for an optimizer whith a "value" function. As in
> the
> root solver, it should be a template that has an operator(...), e.g. a
> functor
> or a boost function. Anything. Makes it much more convenient to use.
> The optimizing criteria could go into the constructor, which takes
> only the
> criteria which it really uses. The start value could go into a
> optimize function,
> which takes a template. If we have a multidimensional setup as in the
> LM
> case, the template should return a std::vector<Real>



--

fix, n.,v.
What one does when a problem has been reported too many times
to be ignored.
-- the Jargon file



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev