The StoGO algorithm is only compiled if you configure with --with-cxx, so you
might be getting an error simply because StoGO is not compiled.
http://jdj/wiki/index.php/NLopt_Installation#NLopt_with_C.2B.2B_algorithms
On Jul 8, 2013, at 9:44 PM, Joeson Wong <[email protected]> wrote:
> 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
> <myfunc.m><opttest.m>_______________________________________________
> NLopt-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss