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.

I have a problem where the fit moves to 0.1 and then slsqp needs a 
number of major iterations to reduce the inequality constraint from 
20000-ish back toward 0.

I guess I should always use an xtol family stopping criterion instead of 
ftol when I have constraints?

-- 
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

Reply via email to