Re: Least square without knowing the gradient
Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Least-square-without-knowing-the-gradient-tp6118p6119.html
On Mon, 2008-04-14 at 07:01 -0700, Yomi wrote:
> Hi,
>
> Could I use a LeastSquareProblem if I don't know the gradient of my cost
> function?
> I have a calibration problem to solve, but I don't know what the derivatives
> of my problem are.
You might calculate them numerically, but I don't know how effective
this would be.
> If we can not use the LeastSquareProblem (an overloaded one in fact), which
> method is recommended?
You can use one of the other optimizers (LevenbergMarquardt, Simplex...)
Luigi
--
So little done, so much to do.
-- Cecil Rhodes
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users