For use with limited-memory algorithms that remember gradients from previous iterations.
Equivalent in C API: nlopt_set_vector_storage
Params: M = number of previous optimization steps to store
auto opt = Opt(Algorithm.lnBOBYQA, 2); opt.setVectorStorage(1); assert(opt.getResult() > 0);
See Implementation
For use with limited-memory algorithms that remember gradients from previous iterations.
Equivalent in C API: nlopt_set_vector_storage