Optimization Question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Optimization Question

Dimathematician

Hi everyone:


a simple question, which I wasn't able to answer after looking into the existing code.
If my optimizer fails to fulfill one of the optimization criterias, does it throw automatically?

I haven't seen any check/throwing in the current calibrations. Thanks in advance. Dima

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Optimization Question

Luigi Ballabio
On Thu, 2009-05-07 at 11:57 +0200, Dima wrote:
> a simple question, which I wasn't able to answer after looking into
> the existing code.
> If my optimizer fails to fulfill one of the optimization criterias,
> does it throw automatically?

No, it returns an EndCriteria instance whose Type corresponds to the
reason it didn't succeed.

Luigi


--

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
-- Brian W. Kernighan



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev