Sets the maximum number of evaluations.
Equivalent in C API: nlopt_set_maxeval
Params: maxeval = maximum number of evaluations
auto opt = Opt(Algorithm.auglag, 2); opt.setMaxeval(20); assert(opt.getResult() > 0);
See Implementation
Sets the maximum number of evaluations.
Equivalent in C API: nlopt_set_maxeval