[[["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."],[[["\u003cp\u003e\u003ccode\u003eLinearRange\u003c/code\u003e objects represent a linear expression bounded by a lower and upper limit.\u003c/p\u003e\n"],["\u003cp\u003eThey are constructed using a lower bound, a linear expression, and an upper bound.\u003c/p\u003e\n"],["\u003cp\u003eAccessor methods \u003ccode\u003elower_bound\u003c/code\u003e, \u003ccode\u003elinear_expr\u003c/code\u003e, and \u003ccode\u003eupper_bound\u003c/code\u003e retrieve the respective components of a \u003ccode\u003eLinearRange\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `LinearRange` class in C++ provides methods to define and interact with linear expressions. Key actions include accessing a `linear_expr`, which returns a constant `LinearExpr&`. You can construct a `LinearRange` by defining a `lower_bound`, a `linear_expr`, and an `upper_bound`. The methods `lower_bound` and `upper_bound` are available, each returning a `double` representing the respective boundary of the linear range. These methods allow getting the information about the `LinearRange`.\n"],null,["# LinearRange\n\nC++ Reference: class LinearRange\n================================\n\n\nNote: This documentation is automatically generated.\n\n| Method ||\n|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [`linear_expr`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/linear_expr.h#L206) | Return type: `const LinearExpr& ` \u003cbr /\u003e |\n| [`LinearRange`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/linear_expr.h#L194) | \u003cbr /\u003e |\n| [`LinearRange`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/linear_expr.h#L202) | \u003cbr /\u003e Arguments: `double lower_bound, const LinearExpr& linear_expr, double upper_bound` \u003cbr /\u003e |\n| [`lower_bound`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/linear_expr.h#L205) | Return type: `double ` \u003cbr /\u003e |\n| [`upper_bound`](https://github.com/google/or-tools/blob/v9.4/ortools/linear_solver/linear_expr.h#L207) | Return type: `double ` \u003cbr /\u003e |"]]