Hello,

I have been playing around with NLopt for a bit, and have been trying to
figure out which algorithm to use for global, derivative-using
optimization, and I noticed the StoGo algorithm is one of them. However,
I'm getting a bit stuck on using the StoGo algorithm, as every time I run
my script with a textbook problem, I get a retcode = -2 error. In addition,
it appears that the code works if I set the algorithm to any other global
optimization algorithm, so it appears that this is specific to StoGo.

I'm not sure if there's a bug in the StoGo algorithm, or if I've missed
something else.

I've attached the function file as well as the script, please take a look
at it when you have the chance.

All the best,

Joeson

Attachment: myfunc.m
Description: Binary data

Attachment: opttest.m
Description: Binary data

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

Reply via email to