nlopt icon indicating copy to clipboard operation
nlopt copied to clipboard

RuntimeError: nlopt failure

Open rezah opened this issue 4 years ago • 3 comments

I get an error: RuntimeError: nlopt failure

File "/home/reza/anaconda3/envs/qdev/lib/python3.9/site-packages/nlopt/nlopt.py", line 334, in optimize return _nlopt.opt_optimize(self, *args) RuntimeError: nlopt failure

even by setting opt.set_maxtime(-1)

rezah avatar Sep 15 '21 17:09 rezah

please provide a minimal script

jschueller avatar Sep 15 '21 18:09 jschueller

Well, I can not provide a minimal example, as it is used with other packages. It works well in so many cases (so grad is calculated right) but only in few cases do I face this problem. I use LD_LBFGS

Also the same code using scipy "L-BFGS-B" works well.

rezah avatar Sep 15 '21 19:09 rezah

at least provide something to reproduce, else we cannot help you

jschueller avatar Oct 07 '21 08:10 jschueller