Opt.create

Calls nlopt_create and sets its result to _opt.

Equivalent in C API: nlopt_create

Params:

algorithm = Algorithm to use to optimize.

n = The dimension of the optimization problem.
struct Opt
void
create
(,
const uint n
)

Examples

Opt opt;

opt.create(Algorithm.ldMMA, 2);

Meta