Hi all,

I am new to this software and brand new to the list. I need to optimize
parameters for another algorithm, when applied to a certain set of data.
The algorithm itself takes about half a minute to run for each input, and I
have 92 different inputs. Most likely, the optimization will take days.
Possibility of my optimizer crashing is considerable. And now to the
question:

Is it possible to save optimal X vector and function value after each
iteration of the optimizer (maximizer in my case)? If yes, how?

I noticed that Ctrl-C does not get caught in the handler in following
approach:
    try
    {
        maximizer.optimize(x, fval);
    }
    catch (...)
    {
        cout<<"Exception occured\n";
    }
Rather, nlopt calls exit() function.
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to