Yes. It makes sense to use a DLL plugin for the optimizer. Users can then modify the optimizer or add their own optimizing algorithms.