DotNet Reference
DotNet Reference
IntegerExpressions.cs
Go to the documentation of this file.
static long GetVarValueMap(LinearExpr e, long initial_coeff, Dictionary< IntVar, long > dict)
Definition: IntegerExpressions.cs:234
IntVar(CpModelProto model, Domain domain, string name)
Definition: IntegerExpressions.cs:499
SumArray(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:400
override string ShortString()
Definition: IntegerExpressions.cs:531
BoundedLinearExpression(LinearExpr left, LinearExpr right, bool equality)
Definition: IntegerExpressions.cs:623
SumArray(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:379
List< LinearExpr > Expressions
Definition: IntegerExpressions.cs:463
SumArray(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:385
static BoundedLinearExpression operator<(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:695
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:67
static BoundedLinearExpression operator<(LinearExpr a, long v)
Definition: IntegerExpressions.cs:187
static LinearExpr Sum(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:52
ProductCst(LinearExpr e, long v)
Definition: IntegerExpressions.cs:341
ILiteral Not()
static BoundedLinearExpression operator!=(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:142
static LinearExpr operator-(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:107
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:62
static LinearExpr operator*(LinearExpr a, long v)
Definition: IntegerExpressions.cs:122
static BoundedLinearExpression operator>(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:717
static BoundedLinearExpression operator>=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:706
override string ShortString()
Definition: IntegerExpressions.cs:472
Definition: IntArrayHelper.cs:14
override int GetIndex()
Definition: IntegerExpressions.cs:580
void AddExpr(LinearExpr expr)
Definition: IntegerExpressions.cs:454
override string ShortString()
Definition: IntegerExpressions.cs:595
static LinearExpr Sum(this IntVar[] vars)
Definition: IntegerExpressions.cs:26
static LinearExpr Prod(LinearExpr e, long v)
Definition: IntegerExpressions.cs:217
static BoundedLinearExpression operator==(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:137
SumArray(IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:391
static BoundedLinearExpression operator>=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:157
static BoundedLinearExpression operator>(LinearExpr a, long v)
Definition: IntegerExpressions.cs:167
static LinearExpr ScalProd(this IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:36
BoundedLinearExpression(long lb, LinearExpr expr, long ub)
Definition: IntegerExpressions.cs:614
static LinearExpr ScalProd(this IntVar[] vars, int[] coeffs)
Definition: IntegerExpressions.cs:31
SumArray(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:427
override string ToString()
Definition: IntegerExpressions.cs:665
NotBooleanVariable(IntVar boolvar)
Definition: IntegerExpressions.cs:575
Definition: IntArrayHelper.cs:14
static LinearExpr Sum(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:57
static BoundedLinearExpression operator<=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:177
static BoundedLinearExpression operator<=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:684
BoundedLinearExpression(LinearExpr left, long v, bool equality)
Definition: IntegerExpressions.cs:633
LinearExpr Right
Definition: IntegerExpressions.cs:734
static LinearExpr operator+(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:92
virtual string ShortString()
Definition: IntegerExpressions.cs:87
int GetIndex()
SumArray(LinearExpr a, long b)
Definition: IntegerExpressions.cs:372
static LinearExpr Term(IntVar var, long coeff)
Definition: IntegerExpressions.cs:72
SumArray(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:364
Definition: Constraints.cs:14