Dear NLOPT,

I'd observed that upon failure (error raised) in the objective function the 
optimizer would somehow register this (presumably the same as returning -inf to 
a max.  objective) and continue to optimize.

In my case, the objective function is a parent process which controls several 
child processes, an errors could be raised in one of the child processes and 
this would be handled by the parent process and a value is still being returned 
(despite the child process error). However, NLOPT somehow detect errors raised 
in child processes and ceased calculations with the given parameters and start 
a new optimization potential.

My question would be, is it possible to turn off the optimizer behavior of 
error detecting. I can easily implement a "try" and "exception" clause for -inf 
return upon selected errors.

for info I'm using python2.7 interface to nlopt with the objective function 
written in python

Thanks,

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

Reply via email to