I'm happily using NLopt for a computational evolution application I'm developing. But now for a specific dataset it fails with "nlopt failure" exception and I'm at a loss to understand why NLopt fails. I'm using NLopt 2.2.2 on Linux through the C++ interface. The method is nlopt::LD_LBFGS. My function returns reasonable values and the variables seems ok at time of crash. I disabled my try/catch blocks hoping to see where opt.optimize() crashes, but the debugger always show I'm in mythrow().
Any suggestion on how to debug this?
To compare results with an old application I'm forced to stay with LBFGS. Today I will upgrade to 2.2.4 and check my gradient function. Beside these, I have no more ideas on what to check.
Thanks for your help!
                                                mario

--
Ing. Mario Valle
Data Analysis and Visualization Group            | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82


_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to