Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Holds a linear constraint: expression ∈ domain
More...
Public Types | |
enum | Type { BoundExpression , VarEqVar , VarDiffVar , VarEqCst , VarDiffCst } |
Public Member Functions | |
BoundedLinearExpression (double lb, LinearExpr expr, double ub) | |
BoundedLinearExpression (LinearExpr left, LinearExpr right, bool equality) | |
BoundedLinearExpression (LinearExpr left, double v, bool equality) | |
override string | ToString () |
Static Public Member Functions | |
static bool | operator true (BoundedLinearExpression ble) |
static bool | operator false (BoundedLinearExpression ble) |
static BoundedLinearExpression | operator<= (BoundedLinearExpression a, double v) |
static BoundedLinearExpression | operator>= (BoundedLinearExpression a, double v) |
Properties | |
LinearExpr | Left [get] |
LinearExpr | Right [get] |
double | Lb [get] |
double | Ub [get] |
Type | CtType [get] |
Holds a linear constraint: expression ∈ domain
This class must be constructed from the CpModel class or from the comparison operators.
Definition at line 567 of file ModelBuilderExpr.cs.
Enumerator | |
---|---|
BoundExpression | |
VarEqVar | |
VarDiffVar | |
VarEqCst | |
VarDiffCst |
Definition at line 569 of file ModelBuilderExpr.cs.
|
inline |
Definition at line 578 of file ModelBuilderExpr.cs.
|
inline |
Definition at line 587 of file ModelBuilderExpr.cs.
|
inline |
Definition at line 596 of file ModelBuilderExpr.cs.
|
inlinestatic |
Definition at line 623 of file ModelBuilderExpr.cs.
|
inlinestatic |
Definition at line 618 of file ModelBuilderExpr.cs.
|
inlinestatic |
Definition at line 647 of file ModelBuilderExpr.cs.
|
inlinestatic |
Definition at line 656 of file ModelBuilderExpr.cs.
|
inline |
Definition at line 628 of file ModelBuilderExpr.cs.
|
get |
Definition at line 693 of file ModelBuilderExpr.cs.
|
get |
Definition at line 679 of file ModelBuilderExpr.cs.
|
get |
Definition at line 665 of file ModelBuilderExpr.cs.
|
get |
Definition at line 672 of file ModelBuilderExpr.cs.
|
get |
Definition at line 686 of file ModelBuilderExpr.cs.