On Oct 28, 2010, at 11:31 AM, Jürgen Werner wrote:
I encountered a problem when maxtime is set as a stopping criteria and
the optimization does not finish before reaching maxtime.

When using LD_LBFGS, LD_VAR1 or LD_TNEWTON (I did not test every algorithm),
std::runtime_error("nlopt failure") is thrown when maxtime is reached.

Thanks Jurgen, this is a bug; I forgot to return the MAXTIME_REACHED return code from the Luksan subroutines (LBFGS, TNEWTON, etcetera). This will be fixed in the next release.

Steven


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

Reply via email to