![]() |
OR-Tools
8.2
|
An expression of the form:
The sum is represented as a LinearExpr with offset 0.
Must be added to model with
Definition at line 192 of file linear_expr.h.
Public Member Functions | |
| LinearRange () | |
| LinearRange (double lower_bound, const LinearExpr &linear_expr, double upper_bound) | |
| The bounds of the linear range are updated so that they include the offset from "linear_expr", i.e., we form the range: More... | |
| double | lower_bound () const |
| const LinearExpr & | linear_expr () const |
| double | upper_bound () const |
|
inline |
Definition at line 194 of file linear_expr.h.
| LinearRange | ( | double | lower_bound, |
| const LinearExpr & | linear_expr, | ||
| double | upper_bound | ||
| ) |
The bounds of the linear range are updated so that they include the offset from "linear_expr", i.e., we form the range:
Definition at line 167 of file linear_expr.cc.
|
inline |
Definition at line 206 of file linear_expr.h.
|
inline |
Definition at line 205 of file linear_expr.h.
|
inline |
Definition at line 207 of file linear_expr.h.