DotNet Reference
DotNet Reference
IntegerExpressions.cs
Go to the documentation of this file.
76 {
346 {
351 {
461 {
466 {
509 {
519 {
727 {
732 {
737 {
742 {
747 {
static LinearExpr operator -(LinearExpr a)
Definition: IntegerExpressions.cs:130
List< LinearExpr > Expressions
Definition: IntegerExpressions.cs:461
static long GetVarValueMap(LinearExpr e, long initial_coeff, Dictionary< IntVar, long > dict)
Definition: IntegerExpressions.cs:232
ILiteral Not()
SumArray(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:425
static BoundedLinearExpression operator >(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:715
static LinearExpr Sum(this IntVar[] vars)
Definition: IntegerExpressions.cs:26
SumArray(LinearExpr a, long b)
Definition: IntegerExpressions.cs:370
BoundedLinearExpression(long lb, LinearExpr expr, long ub)
Definition: IntegerExpressions.cs:612
static LinearExpr operator -(LinearExpr a, long v)
Definition: IntegerExpressions.cs:110
static LinearExpr ScalProd(this IntVar[] vars, int[] coeffs)
Definition: IntegerExpressions.cs:31
int GetIndex()
static BoundedLinearExpression operator !=(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:140
override string ShortString()
Definition: IntegerExpressions.cs:470
virtual string ShortString()
Definition: IntegerExpressions.cs:85
Definition: Constraint.cs:11
override int GetIndex()
Definition: IntegerExpressions.cs:578
static LinearExpr Term(IntVar var, long coeff)
Definition: IntegerExpressions.cs:71
static LinearExpr operator *(long v, LinearExpr a)
Definition: IntegerExpressions.cs:125
static BoundedLinearExpression operator >=(long v, LinearExpr a)
Definition: IntegerExpressions.cs:160
static BoundedLinearExpression operator >(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:200
ProductCst(LinearExpr e, long v)
Definition: IntegerExpressions.cs:339
static LinearExpr operator -(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:105
static BoundedLinearExpression operator >=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:704
override string ShortString()
Definition: IntegerExpressions.cs:593
static BoundedLinearExpression operator !=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:150
static LinearExpr ScalProd(this IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:36
IntVar(CpModelProto model, Domain domain, string name)
Definition: IntegerExpressions.cs:497
static BoundedLinearExpression operator >(long v, LinearExpr a)
Definition: IntegerExpressions.cs:170
Definition: Constraint.cs:11
SumArray(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:377
static BoundedLinearExpression operator<(LinearExpr a, long v)
Definition: IntegerExpressions.cs:185
static BoundedLinearExpression operator >=(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:195
override string ToString()
Definition: IntegerExpressions.cs:663
LinearExpr Right
Definition: IntegerExpressions.cs:732
static LinearExpr operator *(LinearExpr a, long v)
Definition: IntegerExpressions.cs:120
static BoundedLinearExpression operator >(LinearExpr a, long v)
Definition: IntegerExpressions.cs:165
static BoundedLinearExpression operator<=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:682
SumArray(IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:389
SumArray(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:362
BoundedLinearExpression(LinearExpr left, long v, bool equality)
Definition: IntegerExpressions.cs:631
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:62
static BoundedLinearExpression operator==(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:135
NotBooleanVariable(IntVar boolvar)
Definition: IntegerExpressions.cs:573
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:66
override string ShortString()
Definition: IntegerExpressions.cs:529
static LinearExpr Sum(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:52
static BoundedLinearExpression operator<(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:693
SumArray(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:383
SumArray(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:398
static BoundedLinearExpression operator<=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:175
static LinearExpr operator+(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:90
void AddExpr(LinearExpr expr)
Definition: IntegerExpressions.cs:452
static LinearExpr operator -(long v, LinearExpr a)
Definition: IntegerExpressions.cs:115
static LinearExpr Prod(LinearExpr e, long v)
Definition: IntegerExpressions.cs:215
Definition: operations_research_sat.cs:11
static LinearExpr Sum(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:57
static BoundedLinearExpression operator >=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:155
BoundedLinearExpression(LinearExpr left, LinearExpr right, bool equality)
Definition: IntegerExpressions.cs:621