[[["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."],[[["`LinearExpr` in C++ represents a linear expression within the OR-Tools library and can be constructed from constants, variables, or other expressions."],["Several methods are available for interacting with `LinearExpr`, including accessing offset value, solution value, terms, and converting it to a string."],["It provides functionalities such as negation of variables using `NotVar` and accessing underlying terms and coefficients through the `terms` method."],["`LinearExpr` is essential for building and manipulating constraints and objectives in mathematical optimization models within the OR-Tools framework."]]],["The `LinearExpr` class in C++ offers methods for linear expressions. `LinearExpr` constructors accept a constant (`double`) or an `MPVariable`. `NotVar` creates a `LinearExpr`. `offset` returns a `double`, `terms` returns a map of `MPVariable` to `double`, and `SolutionValue` also returns a `double`. `ToString` outputs a `std::string`. These methods allow for the construction, manipulation, and examination of linear expressions within the OR-Tools library.\n"]]