The-optimizer-interface

lessSEM allows you to use its optimizers for your own functions or packages. To this end, the optimizers are implemented in a separate header-only C++ library called lesstimate. More information on the optimizer design and templates for their use in R and C++ are provided in the documentation.