Gets the Stopval.
When performing a minimization, optimization stops when below stopval, and vice-versa for maximization.
Equivalent in C API: nlopt_get_stopval
Stopval
auto opt = Opt(Algorithm.auglag, 2); opt.setStopval(2.0); assert(opt.getStopval() == 2.0);
See Implementation
Gets the Stopval.
When performing a minimization, optimization stops when below stopval, and vice-versa for maximization.
Equivalent in C API: nlopt_get_stopval