Example #1
0
 public ScalarInequalityConstraint(string variable, ScalarInequalityOperator @operator, ScalarExpr rhs)
 {
     _variable = variable;
     _operator = @operator;
     _rhs = rhs;
 }
Example #2
0
 public BinaryScalarExpr(ScalarExpr lhs, BinaryScalarOperator @operator, ScalarExpr rhs)
 {
     _lhs = lhs;
     _operator = @operator;
     _rhs = rhs;
 }
Example #3
0
 public ScalarEqualityConstraint(string variable, ScalarExpr rhs)
 {
     _variable = variable;
     _rhs = rhs;
 }
Example #4
0
 public Pair(ScalarExpr moreThan, ScalarExpr value)
 {
     MoreThan = moreThan;
     Value = value;
 }
Example #5
0
 public RangeScalarExpr(ScalarExpr expr, ScalarExpr value0, IEnumerable<Pair> pairs)
 {
     _expr = expr;
     _value0 = value0;
     _pairs = pairs;
 }
Example #6
0
 public Vector(ScalarExpr x, ScalarExpr y, ScalarExpr z)
 {
     _x = x;
     _y = y;
     _z = z;
 }
Example #7
0
 public UnaryScalarExpr(UnaryScalarOperator @operator, ScalarExpr inner)
 {
     _operator = @operator;
     _inner = inner;
 }