MathProgExtensionsover(Set, Set) Method
Creates a sum-over expression for a summation.
Objective minTotalCost =
minimize
| sum(over(j, i), costFlow[i, j] * x[i, j] + costDesign[i, j] * y[i, j]);
Namespace: Orx.MathProgAssembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
public static SumOverSets over(
Set i,
Set j
)
- i Set
- First index of the sum over sets expression.
- j Set
- Second index of the sum over sets expression.
SumOverSets