Represents a linear inequality: lhs <= expr <= rhs. More...
#include <lin_ineq.hpp>
Friends | |
class | Model |
LinIneq | operator<= (const LinExpr &lhs, const LinExpr &rhs) |
Creates the inequality lhs <= rhs . | |
LinIneq | operator== (const LinExpr &lhs, const LinExpr &rhs) |
Creates the equality lhs == rhs . | |
Represents a linear inequality: lhs <= expr <= rhs.
Can be constructed only by operators.
Definition at line 16 of file lin_ineq.hpp.
|
friend |
Definition at line 23 of file lin_ineq.hpp.
Creates the inequality lhs
<= rhs
.
lhs | Left-hand-side of the less-or-equal inequality. |
rhs | Right-hand-side of the less-or-equal inequality. |
Creates the equality lhs
== rhs
.
lhs | Left-hand-side of the equality. |
rhs | Right-hand-side of the equality. |