Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
A LinearExpression with an upper bound. More...
#include <variable_and_expressions.h>
Public Member Functions | |
UpperBoundedLinearExpression (LinearExpression expression, double upper_bound) | |
Public Attributes | |
LinearExpression | expression |
double | upper_bound |
A LinearExpression with an upper bound.
Definition at line 510 of file variable_and_expressions.h.
|
inline |
Users are not expected to use this constructor. Instead they should build this object using overloads of the >= and <= operators. For example, x + y / <= 3
.
Definition at line 1766 of file variable_and_expressions.h.
LinearExpression operations_research::math_opt::UpperBoundedLinearExpression::expression |
Definition at line 516 of file variable_and_expressions.h.
double operations_research::math_opt::UpperBoundedLinearExpression::upper_bound |
Definition at line 517 of file variable_and_expressions.h.