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]>