Dear all,
I know it is a long shot, anyway, here is my problem.
I use NLopt from the C++ interface on Linux. The optimizer is: nlopt::LD_LBFGS. Everything worked perfectly until I changed the function to be optimized to use OpenMP and BLAS. Now seems I have conflicts between OpenMP and my BLAS library (not related to NLopt, I hope).

My problem is that NLopt raises the generic exception "nlopt failure" when the gradient vector contains -Inf values.

Is there a more precise error reporting mechanism in NLopt or should I rely on printf statements in my function?

Thanks for your help!
                                            mario

P.S.: and many thanks for NLopt. It is really useful.

--
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