Opt.getFTolRel

Gets the relative tolerance for objective function f(x).

Equivalent in C API: nlopt_get_ftol_rel

struct Opt
getFTolRel
()

Return Value

Type: auto

FTolRel

Examples

auto opt = Opt(Algorithm.auglag, 2);

opt.setFTolRel(1e-4);

assert(opt.getFTolRel() == 1e-4);

Meta