Login  Register

Re: unreferenced formal parameter in Line-search based optimization method

Posted by Ferdinando M. Ametrano-3 on Nov 27, 2009; 4:45pm
URL: http://quantlib.414.s1.nabble.com/unreferenced-formal-parameter-in-Line-search-based-optimization-method-tp12329p12330.html

ok fixed declaring getUpdatedDirection as protected and removing the
unused parameter from its signature

http://quantlib.svn.sourceforge.net/viewvc/quantlib?view=rev&revision=16837

On Wed, Nov 25, 2009 at 7:37 PM, Ferdinando Ametrano <[hidden email]> wrote:

> Hi all
>
> the implementations in derived classes (ConjugateGradient, BFGS,
> SteepestDescent) of
>
> LineSearchBasedMethod::getUpdatedDirection(Problem &P,
>                                            Real fold,
>                                            Real gold2,
>                                            const Array& gradient) = 0;
>
> never use the second parameter Real fold.
>
> Is the parameter to be removed or it might be used by some future
> line-search based optimization method?
>
> Nicolas, Frédéric? Anyone else?
>
> ciao -- Nando
>
> RSS feed: http://www.google.com/reader/shared/ferdinando.ametrano
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev