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