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:232
IntVar(CpModelProto model, Domain domain, string name)
Definition: IntegerExpressions.cs:497
SumArray(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:398
override string ShortString()
Definition: IntegerExpressions.cs:529
Definition: Domain.cs:17
BoundedLinearExpression(LinearExpr left, LinearExpr right, bool equality)
Definition: IntegerExpressions.cs:621
SumArray(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:377
List< LinearExpr > Expressions
Definition: IntegerExpressions.cs:461
SumArray(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:383
static BoundedLinearExpression operator<(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:693
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< long > coeffs)
Definition: IntegerExpressions.cs:66
static BoundedLinearExpression operator<(LinearExpr a, long v)
Definition: IntegerExpressions.cs:185
static LinearExpr Sum(IEnumerable< IntVar > vars)
Definition: IntegerExpressions.cs:52
ProductCst(LinearExpr e, long v)
Definition: IntegerExpressions.cs:339
ILiteral Not()
static BoundedLinearExpression operator!=(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:140
static LinearExpr operator-(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:105
static LinearExpr ScalProd(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:62
static LinearExpr operator*(LinearExpr a, long v)
Definition: IntegerExpressions.cs:120
static BoundedLinearExpression operator>(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:715
static BoundedLinearExpression operator>=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:704
override string ShortString()
Definition: IntegerExpressions.cs:470
Definition: KInt64Vector.cs:11
override int GetIndex()
Definition: IntegerExpressions.cs:578
void AddExpr(LinearExpr expr)
Definition: IntegerExpressions.cs:452
override string ShortString()
Definition: IntegerExpressions.cs:593
static LinearExpr Sum(this IntVar[] vars)
Definition: IntegerExpressions.cs:26
static LinearExpr Prod(LinearExpr e, long v)
Definition: IntegerExpressions.cs:215
static BoundedLinearExpression operator==(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:135
SumArray(IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:389
override string ToString()
Definition: IntegerExpressions.cs:475
static BoundedLinearExpression operator>=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:155
static BoundedLinearExpression operator>(LinearExpr a, long v)
Definition: IntegerExpressions.cs:165
static LinearExpr ScalProd(this IntVar[] vars, long[] coeffs)
Definition: IntegerExpressions.cs:36
BoundedLinearExpression(long lb, LinearExpr expr, long ub)
Definition: IntegerExpressions.cs:612
static LinearExpr ScalProd(this IntVar[] vars, int[] coeffs)
Definition: IntegerExpressions.cs:31
LinearExpr Left
Definition: IntegerExpressions.cs:727
SumArray(IEnumerable< IntVar > vars, IEnumerable< int > coeffs)
Definition: IntegerExpressions.cs:425
override string ToString()
Definition: IntegerExpressions.cs:663
NotBooleanVariable(IntVar boolvar)
Definition: IntegerExpressions.cs:573
Definition: KInt64Vector.cs:11
static LinearExpr Sum(IEnumerable< LinearExpr > exprs)
Definition: IntegerExpressions.cs:57
static BoundedLinearExpression operator<=(LinearExpr a, long v)
Definition: IntegerExpressions.cs:175
static BoundedLinearExpression operator<=(BoundedLinearExpression a, long v)
Definition: IntegerExpressions.cs:682
BoundedLinearExpression(LinearExpr left, long v, bool equality)
Definition: IntegerExpressions.cs:631
LinearExpr Right
Definition: IntegerExpressions.cs:732
Definition: Domain.cs:11
public override string ToString()
Definition: RoutingEnums.pb.cs:117
static LinearExpr operator+(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:90
virtual string ShortString()
Definition: IntegerExpressions.cs:85
int GetIndex()
SumArray(LinearExpr a, long b)
Definition: IntegerExpressions.cs:370
static LinearExpr Term(IntVar var, long coeff)
Definition: IntegerExpressions.cs:71
SumArray(LinearExpr a, LinearExpr b)
Definition: IntegerExpressions.cs:362
Definition: CpModel.pb.cs:12