RuleBoundState struct
#include <gtopt/update_context.hpp>
Per-(scenario, stage) cached state for elements whose update_lp evaluates a RightBoundRule axis to refresh a column bound.
Shared by FlowRightLP and VolumeRightLP — both elements drive update_lp from a single right_bound_rule and need exactly:
current_bound— last evaluated rule output (axis -> bound) to skip redundantset_col_lowb/uppbcalls.reservoir_cache— cached column indices for reservoir-axis rules; default-constructed for axes that do not consume reservoir state.
The struct is intentionally aggregate-trivial so that IndexHolder2<ScenarioUid, StageUid, RuleBoundState> benefits from trivial copy/move during collection rebuilds.