On Mar 6, 2012, at 3:04 PM, Rory Clune wrote:

> Hello,
> 
> I have implemented the example in C++ from ab-initio, and added a few lines 
> to set a local optimization algorithm [nlopt::opt sub_opt(...)] and its 
> stopping criteria.
> 
> Everything works fine when solving the example problem using AUGLAG as the 
> main algorithm with LD_MMA or LN_COBYLA as the local algorithm. When I switch 
> to GD_STOGO or GN_CRS2_LM as the local algorithm, however, I get an invalid 
> argument exception.

Global optimization only works for a finite domain; you have to put upper and 
lower bounds on all the variables.

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

Reply via email to