reservoir_discharge_limit_lp.cpp file
Implementation of ReservoirDischargeLimitLP methods.
Implements the LP formulation for volume-dependent discharge limits. Creates a stage-average qeh variable, block-level averaging constraints, and a stage-level volume-dependent upper bound on discharge. When piecewise-linear segments are present, update_lp() dynamically adjusts the constraint coefficients based on current reservoir volume.
Namespaces
- namespace gtopt