> On Oct 29, 2015, at 9:54 AM, Carlos Tampier <[email protected]> wrote:
> I have found the solution to my problem to be deleting the static declaration 
> of some variables in my cost function. Maybe memory directions got too far in 
> time for the numeric computation to be efficient.

If you have a memory leak in your objective function, that could certainly mess 
up performance when you fill up the memory and start thrashing to disk.   
Deleting "static" declarations might not be enough, though; you might want to 
use a leak-check program like valgrind to help you track down any leaks.
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to