gtopt::CapacityCutCoefficient struct

One capacity-space coefficient of an extracted cut, identified by the state-variable registry key of its capainst / capacost column. The string_views reference the registry's stable storage (valid for the lifetime of the solver run).

Public variables

std::string_view class_name
Element class (e.g. "Generator").
double coeff
std::string_view col_name
"capainst" or "capacost"
ScenarioUid scenario_uid
StageUid stage_uid
Uid uid
Element UID.

Variable documentation

double gtopt::CapacityCutCoefficient::coeff

Stored cut-row coefficient (the row is α + coeff·x ≥ rhs, i.e. coeff = −∂V/∂x); the master-facing support slope is −coeff.