Closed dave-fl closed 8 years ago
I've been using them successfully in Python, but they might not be supported in other bindings. In what language are you trying to use them?
.NET specifically C# or F#
I see. Yes, there's no solve
method exported to C#, probably because none of us knew the C# interface to C++ well enough to make it work. By looking at https://github.com/lballabio/QuantLib-SWIG/blob/master/SWIG/functions.i and https://github.com/lballabio/QuantLib-SWIG/blob/master/SWIG/optimizers.i, I think it could be done by replicating the approach used for Java.
Updated the config slightly. Basically copied java, renamed () operator and added %module(directors="1") NQuantLibc
I could not get required director code to generate without the last piece.
Great. May you submit your changes as a pull request?
Yes no problem.
Solved by #10
Is there anything that must be done to use the solvers that are available? It doesn't seem like there are any solve() methods being generated. Tried Bisection and Brent.