Re: G2 revisited
Posted by
Luigi Ballabio-2 on
Jul 06, 2004; 8:08am
URL: http://quantlib.414.s1.nabble.com/G2-revisited-tp2986p2992.html
Hi,
On 2004.06.15 02:16,
[hidden email] wrote:
> I'm still leaning towards requiring some public constraint interface.
You mean, other than the one provided for passing an additional
constraint to calibrate?
> The contraints are hidden at the moment + it is difficult to add
> multiple constraints (my 2 australs).
Well, the intrinsic constraints are hidden because they're not supposed
to be tampered with. When calling calibrate(), you can add an
additional constraint; multiple constraints can be collapsed into one
by using CompositeConstraint.
> A model would have a list of constraints. A constraint would have a
> constraint type (boundary, positive, none, addition, subtraction,
> multiplication etc.) and a parameter list (unary, binary).
> Please let me know if I'm talking trash.
No, it's not trash---but you can do it already.
Later,
Luigi