[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["The `ReservoirConstraint` class in C++ facilitates modeling and solving reservoir management problems using constraint programming."],["It provides methods like `AddEvent` and `AddOptionalEvent` to define changes in the reservoir's level over time."],["These methods utilize `LinearExpr` for representing time and `BoolVar` for optional event activation."]]],["The `ReservoirConstraint` class in C++ allows defining constraints on a reservoir's level over time. The key actions are: `AddEvent`, which adds an event at a specific time with a corresponding level change, and `AddOptionalEvent`, which does the same but allows the event to be conditionally active based on a `BoolVar`. These methods take a `LinearExpr` for time and an `int64_t` for the level change as their arguments.\n"]]