[[["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 `OptimizeVar` class in C++ is used to define an objective for optimization within the constraint solver."],["It requires specifying the optimization direction (minimize or maximize), the target variable, and the improvement step."],["The class provides methods to track the best value found during the search (`best`) and access the optimized variable (`Var`)."],["It includes functionalities for interaction with the search process, like accepting solutions and applying bounds."]]],["The `OptimizeVar` class encapsulates an objective, defining whether to minimize or maximize a variable and the improvement step. It includes methods for managing the search process, such as `EnterSearch`, `BeginNextDecision`, and `RefuteDecision`. Methods like `Accept`, `AcceptDelta`, `AcceptSolution`, and `ApplyBound` manage solutions. `best` returns the best value found, while `Var` returns the optimized variable. `OptimizeVar` defines the constructor for this object.\n"]]