Posted by
Luca Berardi on
Feb 24, 2005; 1:49am
URL: http://quantlib.414.s1.nabble.com/Possible-problem-on-bermuda-swaptions-2-tp3621.html
Hi Luigi,
as I told you in my previous email it seems to me there is a problem
with rollback over hull-white trees. I wrote a piece of code
reproducing it, which I'm sending out in the attachment. This is the
point: considering (discretized) discount bonds, they get initialized
correctly (at 1.) but after rollback the have in some point of the
tree, values greater than one, which seems unacceptable to me.
I tried to go have a look at the Tree code, but got confused with the
TrinomialBranching mechanics...
The attachments:
latticeTest.cpp -> is the code reproducing the above behavior.
latticeDebug.txt-> is the output describing the (possible) error.
Ciao,
Luca
__________________________________________________________________
Tiscali Adsl 3 Mega Flat, 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi in Rete alla supervelocita'
a soli 29.95 euro al mese senza limiti di tempo. Attivati entro
il 28 Febbraio 2005, 3 MESI sono GRATIS
Scopri come
http://abbonati.tiscali.it/adsl/sa/2flat_tc/