Gets the maximum number of evaluations.
Equivalent in C API: nlopt_get_maxeval
Maxeval
auto opt = Opt(Algorithm.auglag, 2); opt.setMaxeval(20); assert(opt.getMaxeval() == 20);
See Implementation
Gets the maximum number of evaluations.
Equivalent in C API: nlopt_get_maxeval