On Jul 30, 2012, at 5:53 AM, Dženan Zukić wrote: > Is it possible to save optimal X vector and function value after each > iteration of the optimizer (maximizer in my case)? If yes, how?
Sure, just add a couple of lines to your objective function to keep track of the return value compared to the optimum so far. If it is better than the optimum so far, then save X in whatever form you like. Steven
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
