solver_registry.hpp file
Dynamic solver plugin registry with dlopen support.
Manages discovery and loading of solver backend plugins at runtime. Plugins are shared libraries (libgtopt_solver_*.so) that export a standard set of C functions for creating SolverBackend instances.
By default the registry uses lazy loading: plugin files are discovered (filesystem scan) at construction, but dlopen is deferred until a solver is actually requested. Call load_all_plugins() to force eager loading (e.g. for –solvers listing).
Namespaces
- namespace gtopt
Classes
- class gtopt::SolverRegistry
- Singleton registry for dynamically loaded solver plugins.