gtopt::SolverBuildInfo struct

Solver-library identity reported by a plugin (C-compatible POD). Version components are -1 when unknown.

Public variables

int compiled_major
int compiled_minor
int compiled_patch
const void* library_anchor
int runtime_major
int runtime_minor
int runtime_patch
int struct_version

Variable documentation

const void* gtopt::SolverBuildInfo::library_anchor

Address of a function or object that lives in the solver library (e.g. &highsVersionMajor). When the library is linked statically into the plugin it resolves to the plugin itself. May be nullptr.