(no subject)

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

(no subject)

jahknox
Hello everybody,

I am trying to guess the meaning of the variable

bool positiveOptimization_;

declared inside the class

class EndCriteria

(see the file ql\optimization\criteria.hpp

Can somebody help me ?

Thanks a lot

Gianni

__________________________________________________________________
Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega!
Tiscali ADSL non teme confronti! Abbonati subito.
http://point.tiscali.it/adsl/index.shtml





Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Kris .
Looks to me like a flag that they set once convergence happens..

I didn't know quantlib had SA / Gradient schemes in there...

Quantlib rulez.

cheers
Krishna


----- Original Message -----
From: [hidden email]
Date: Wed, 2 Apr 2003 11:20:37 +0200
To: [hidden email]
Subject: [Quantlib-users] (no subject)

> Hello everybody,
>
> I am trying to guess the meaning of the variable
>
> bool positiveOptimization_;
>
> declared inside the class
>
> class EndCriteria
>
> (see the file ql\optimization\criteria.hpp
>
> Can somebody help me ?
>
> Thanks a lot
>
> Gianni
>
> __________________________________________________________________
> Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega!
> Tiscali ADSL non teme confronti! Abbonati subito.
> http://point.tiscali.it/adsl/index.shtml
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Nicolas Di Césaré
In reply to this post by jahknox
Le mer 02/04/2003 à 11:20, [hidden email] a écrit :

> Hello everybody,
>
> I am trying to guess the meaning of the variable
>
> bool positiveOptimization_;
>
> declared inside the class
>
> class EndCriteria
>
> (see the file ql\optimization\criteria.hpp
>
> Can somebody help me ?
>

Hi Gianni,

The flag is used for least square problem. The function is positive and
the minimum value is zero. For general minimization problem the minimum
value of the function is probably different.

Thus, for a least square problem, we check that f(x) < epsilon
(minimum). For a general minimization problem, we check that abs(
f(x_new)-f(x_old) ) < epsilon (local minimum or stationary point).




--
Nicolas Di Césaré <[hidden email]>