RightBoundRule struct
#include <gtopt/right_bound_rule.hpp>
Volume-dependent bound rule for water rights.
Defines a piecewise-linear function from a reservoir's volume to the maximum allowed flow/extraction bound. When attached to a FlowRight or VolumeRight, the LP column upper bound is dynamically updated via update_lp using this rule.
Public variables
Variable documentation
std::vector<RightBoundSegment> gtopt:: RightBoundRule:: segments
Piecewise-linear segments (sorted ascending by volume breakpoint). When empty, the bound rule has no effect.