[[["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."],[[["`DoubleLinearExpr` in C++ allows the construction and manipulation of linear expressions involving both integer and boolean variables with double-precision coefficients."],["The class provides methods to add terms (`AddTerm`) or other linear expressions (`AddExpression`) to the current expression, building complex expressions."],["It supports creating expressions from single `BoolVar`, `IntVar`, or a constant (`DoubleLinearExpr` constructors), as well as constructing sums or weighted sums of variables with the static `Sum` and `WeightedSum` methods."],["The class allows the inspection of the expression through methods like `coefficients`, `constant`, `variables`, and `IsConstant`, which respectively return the coefficients, the constant term, the vector of variables indexes and check if the expression has no variable."],["`DebugString` method allows the user to get a debug string of the current instance, providing a means of error checking."]]],["The `DoubleLinearExpr` class in C++ allows the construction and manipulation of linear expressions. Key actions include adding terms or expressions using `AddTerm` and `AddExpression`. You can construct expressions from `BoolVar`, `IntVar`, or constants. `Sum` and `WeightedSum` methods enable creating expressions from lists of variables. The class provides access to coefficients via `coefficients`, variable indices via `variables`, and the constant term via `constant`. It also determines if an expression has variables with `IsConstant`.\n"]]