Sets the relative tolerance for x.
Equivalent in C API: nlopt_set_xtol_rel
Params: tol = value of tolerance, default determined by enum defaultTol
auto opt = Opt(Algorithm.auglag, 2); opt.setXTolRel(1e-4); assert(opt.getResult() > 0);
See Implementation
Sets the relative tolerance for x.
Equivalent in C API: nlopt_set_xtol_rel