On Mon, May 04, 2015 at 05:10:35PM -0400, Steven G. Johnson wrote: > > On May 4, 2015, at 12:23 PM, Joshua N Pritikin <[email protected]> wrote: > > > > Around line 2612 of slsqp.c, we have > > > > if (nlopt_stop_ftol(stop, fcur, fprev)) > > ret = NLOPT_FTOL_REACHED; > > else if (nlopt_stop_x(stop, xcur, xprev)) > > ret = NLOPT_XTOL_REACHED; > > > > nlopt_stop_ftol doesn't take the quantity (infeasibility - > > infeasibility_cur) into account. > > Feel free to submit a pull request (on github) if you can improve the > stopping criterion in SLSQP.
Like I asked in my follow-up message, improve it how? Maybe there isn't a better criterion? -- Joshua N. Pritikin Department of Psychology University of Virginia 485 McCormick Rd, Gilmer Hall Room 102 Charlottesville, VA 22904 http://people.virginia.edu/~jnp3bc _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
