MathProgExtensionsover(Set) Method
Creates a sum-over expression for a summation.
Constraint flowBalance =
forall(j)
| sum(over(i), x[i, j]) - sum(over(k), x[j, k]) == demand[j];
Namespace: Orx.MathProgAssembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
public static SumOverSets over(
Set i
)
- i Set
- First index of the sum over sets expression.
SumOverSets