I think you can start optimization without any stopping criteria, and then in your objective function, you can manually check your stopping criteria. If they are all met, you can call nlopt_force_stop()
Best, Ge -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, October 01, 2013 12:00 PM To: [email protected] Subject: NLopt-discuss Digest, Vol 50, Issue 1 Send NLopt-discuss mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of NLopt-discuss digest..." Today's Topics: 1. switch to stop only when optimization meets all criteria? (Martin Genet) 2. Re: switch to stop only when optimization meets all criteria? (Steven G. Johnson) 3. Re: switch to stop only when optimization meets all criteria? (Martin Genet) ---------------------------------------------------------------------- Message: 1 Date: Mon, 30 Sep 2013 22:04:45 -0700 From: "Martin Genet" <[email protected]> To: [email protected] Subject: [NLopt-discuss] switch to stop only when optimization meets all criteria? Message-ID: <[email protected]> Content-Type: text/plain; charset=iso-8859-1; format=flowed Hi everyone: I was wondering, is there some kind of switch that we can use to make sure that the optimization stops only when all set critera are met, not just one? Thanks! Martin ------------------------------ Message: 2 Date: Tue, 1 Oct 2013 10:11:45 -0400 From: "Steven G. Johnson" <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [NLopt-discuss] switch to stop only when optimization meets all criteria? Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Oct 1, 2013, at 1:04 AM, "Martin Genet" <[email protected]> wrote: > I was wondering, is there some kind of switch that we can use to make sure > that the optimization stops only when all set critera are met, not just one? > Thanks! No, sorry. ------------------------------ Message: 3 Date: Tue, 1 Oct 2013 07:31:04 -0700 From: "Martin Genet" <[email protected]> To: "Steven G. Johnson" <[email protected]> Cc: "[email protected]" <[email protected]> Subject: Re: [NLopt-discuss] switch to stop only when optimization meets all criteria? Message-ID: <[email protected]> Content-Type: text/plain; charset=utf-8; format=flowed Thanks Steven! Do you see a way to incorporate this switch? Any instructions? Thanks again anyway. Martin On Tue 01 Oct 2013 07:11:45 AM PDT, Steven G. Johnson wrote: > On Oct 1, 2013, at 1:04 AM, "Martin Genet" > <[email protected]> wrote: >> I was wondering, is there some kind of switch that we can use to make sure >> that the optimization stops only when all set critera are met, not just one? >> Thanks! > > No, sorry. > _______________________________________________ > 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 End of NLopt-discuss Digest, Vol 50, Issue 1 ******************************************** _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
