Some examples are as follows:
sum(over(i), y[i])
sum(over(j), x[i, j])
sum(over(i, j), cost[i, j] * x[i, j])
sum(over(i, j, c), cost[i, j] * x[i, j, c] + fixed[c] * y[i, j, c])
sum(over(i, k), y[i])
public class Summation
Key | Text representation of the summation. |
Equals |
Compares this to obj wrt reference equality.
(Overrides ObjectEquals(Object)) |
Finalize | (Inherited from Object) |
GetHashCode |
Returns the hash code.
(Overrides ObjectGetHashCode) |
GetType | (Inherited from Object) |
MemberwiseClone | (Inherited from Object) |
ToString | (Inherited from Object) |
Addition(Sca, Summation) | Adds a summation and a scalar; and returns the resulting linear expression. |
Addition(Summation, Sca) | Adds a summation and a scalar; and returns the resulting linear expression. |
Addition(Summation, Summation) | Adds two summations; and returns the resulting linear expression. |
Addition(Summation, Term) | Adds a summation and a term; and returns the resulting linear expression. |
Addition(Summation, Var) | Adds a summation and a variable; and returns the resulting linear expression. |
Addition(Summation, VarD0) | Adds a summation and a scalar; and returns the resulting linear expression. |
Addition(Term, Summation) | Adds a summation and a term; and returns the resulting linear expression. |
Addition(Var, Summation) | Adds a summation and a variable; and returns the resulting linear expression. |
Addition(VarD0, Summation) | Adds a summation and a scalar; and returns the resulting linear expression. |
Division(Summation, Sca) | Divides the summation by the scalar and returns the resulting summation. |
Equality(Sca, Summation) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Summation, Sca) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Summation, Summation) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Summation, Term) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Summation, Var) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Summation, VarD0) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Term, Summation) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(Var, Summation) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Equality(VarD0, Summation) |
Creates a constraint expression where lhs = rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Sca, Summation) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Summation, Sca) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Summation, Summation) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Summation, Term) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Summation, Var) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Summation, VarD0) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Term, Summation) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(Var, Summation) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
GreaterThanOrEqual(VarD0, Summation) |
Creates a constraint expression where lhs >= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Inequality(Sca, Summation) | Invalid operation; throws an exception. |
Inequality(Summation, Sca) | Invalid operation; throws an exception. |
Inequality(Summation, Summation) | Invalid operation; throws an exception. |
Inequality(Summation, Term) | Invalid operation; throws an exception. |
Inequality(Summation, Var) | Invalid operation; throws an exception. |
Inequality(Summation, VarD0) | Invalid operation; throws an exception. |
Inequality(Term, Summation) | Invalid operation; throws an exception. |
Inequality(Var, Summation) | Invalid operation; throws an exception. |
Inequality(VarD0, Summation) | Invalid operation; throws an exception. |
LessThanOrEqual(Sca, Summation) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Summation, Sca) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Summation, Summation) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Summation, Term) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Summation, Var) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Summation, VarD0) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Term, Summation) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(Var, Summation) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
LessThanOrEqual(VarD0, Summation) |
Creates a constraint expression where lhs <= rhs.
Note that a constraint is composed of a constraint expression and forall sets expression. C#
|
Multiply(Sca, Summation) | Multiplies the summation with the scalar and returns the resulting summation. |
Multiply(Summation, Sca) | Multiplies the summation with the scalar and returns the resulting summation. |
Subtraction(Sca, Summation) | Substracts a summation from a scalar; and returns the resulting linear expression. |
Subtraction(Summation, Sca) | Substracts a scalar from a summation; and returns the resulting linear expression. |
Subtraction(Summation, Summation) | Substracts one summation from another; and returns the resulting linear expression. |
Subtraction(Summation, Term) | Substracts a term from a summation; and returns the resulting linear expression. |
Subtraction(Summation, Var) | Substracts a variable from a summation; and returns the resulting linear expression. |
Subtraction(Summation, VarD0) | Substracts a scalar from a summation; and returns the resulting linear expression. |
Subtraction(Term, Summation) | Substracts a summation from a term; and returns the resulting linear expression. |
Subtraction(Var, Summation) | Substracts a summation from a variable; and returns the resulting linear expression. |
Subtraction(VarD0, Summation) | Substracts a summation from a scalar; and returns the resulting linear expression. |
UnaryNegation(Summation) | Negates the summation. |