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.
Opt opt; opt.create(Algorithm.ldMMA, 2);
See Implementation
Calls nlopt_create and sets its result to _opt.
Equivalent in C API: nlopt_create