![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Holds a linear constraint: expression ∈ domain
More...
Holds a linear constraint: expression ∈ domain
This class must be constructed from the CpModel class or from the comparison operators.
Definition at line 885 of file IntegerExpressions.cs.
Public Types | |
| enum | Type { BoundExpression , VarEqVar , VarDiffVar , VarEqCst , VarDiffCst } |
Public Member Functions | |
| BoundedLinearExpression (long lb, LinearExpr expr, long ub) | |
| BoundedLinearExpression (LinearExpr left, LinearExpr right, bool equality) | |
| BoundedLinearExpression (LinearExpr left, long v, bool equality) | |
| override string | ToString () |
Static Public Member Functions | |
| static bool | operator true (BoundedLinearExpression bie) |
| static bool | operator false (BoundedLinearExpression bie) |
| static BoundedLinearExpression | operator<= (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator< (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator>= (BoundedLinearExpression a, long v) |
| static BoundedLinearExpression | operator> (BoundedLinearExpression a, long v) |
Properties | |
| LinearExpr | Left [get] |
| LinearExpr | Right [get] |
| long | Lb [get] |
| long | Ub [get] |
| Type | CtType [get] |
| Enumerator | |
|---|---|
| BoundExpression | |
| VarEqVar | |
| VarDiffVar | |
| VarEqCst | |
| VarDiffCst | |
Definition at line 887 of file IntegerExpressions.cs.
|
inline |
Definition at line 896 of file IntegerExpressions.cs.
|
inline |
Definition at line 905 of file IntegerExpressions.cs.
|
inline |
Definition at line 914 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 941 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 936 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 974 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 965 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 992 of file IntegerExpressions.cs.
|
inlinestatic |
Definition at line 983 of file IntegerExpressions.cs.
|
inline |
Definition at line 946 of file IntegerExpressions.cs.
|
get |
Definition at line 1029 of file IntegerExpressions.cs.
|
get |
Definition at line 1015 of file IntegerExpressions.cs.
|
get |
Definition at line 1001 of file IntegerExpressions.cs.
|
get |
Definition at line 1008 of file IntegerExpressions.cs.
|
get |
Definition at line 1022 of file IntegerExpressions.cs.