How to use the constraints?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use the constraints?

Klaus Spanderen-2
Hi,

Please find a solution to ensure a "minimum" kappa during the calibration
enclosed in the attachment.

The important changes to the original DAXCalibration test case are
1. define class KappaConstraint (line 42-60)
2. change starting values so that they fulfill the new kappa constraint (line
137).
3. calibrate with the additional constraint (line 154-156)

hope that little example helps..

cheers

--
Klaus Spanderen
Ludwig Erhard Str. 12
48734 Reken (Germany)
EMail: [hidden email] (remove NOSPAM from the address)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

hestonmodel.cpp (6K) Download Attachment