AmplScalarKey struct
#include <gtopt/ampl_variable.hpp>
Key identifying a class-level scalar parameter. "Singleton classes" like options and system expose globally-scoped read-only constants that PAMPL constraints may reference as options.scale_objective, system.n_stages, etc. No element_uid, no (scenario, stage) tuple — the value is the same for every row.
Public variables
- std::string_view attribute
- "annual_discount_rate", "scale_objective"
- std::string_view class_name
- "options", "system", ...
Friends
- auto operator<=>(const AmplScalarKey&, const AmplScalarKey&) -> auto defaulted noexcept