root not bracketed

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

root not bracketed

Alexander Zvyagin
Dear all,

I am having troubles with "root not bracketed" error during the curve
construction. The code was working fine for a while, but when I tried to
use it on a new data set, I got the troubles. The code example which
demnstrates the problem is attached. The curve is constructed well with
two instruments with matirities (1W,15Y) and the error occures when
(1W,20Y) instruments are used.

What could be wrong?

Many thanks in advance!
Alexander

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: root not bracketed

Luigi Ballabio
Hi,
    1.132% needs to be written as 0.01132.  1.132 is a rate of 113.2%.  The same goes for the others.

Luigi


On Thu, Jun 15, 2017 at 3:53 AM Alexander <[hidden email]> wrote:
Dear all,

I am having troubles with "root not bracketed" error during the curve
construction. The code was working fine for a while, but when I tried to
use it on a new data set, I got the troubles. The code example which
demnstrates the problem is attached. The curve is constructed well with
two instruments with matirities (1W,15Y) and the error occures when
(1W,20Y) instruments are used.

What could be wrong?

Many thanks in advance!
Alexander
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users