gtopt/solver_resource.hpp file

Resource class + descriptor a solver backend declares to the pool.

Small, dependency-free header shared by the plugin ABI (solver_backend.hpp), the registry, the work-pool admission layer (resource_governor.hpp) and the SDDP solver tier. A backend declares its dominant resource class + estimated per-solve GPU footprint here; the work pool enforces capacity (decoupling "who knows the cost" from "who enforces it"). A backend that exports nothing is treated as cpu — today's behaviour, zero regression.

Namespaces

namespace gtopt

Classes

struct gtopt::SolverResourceDescriptor