MathProgExtensionsover(Set, Set, Set, Set) Method

Creates a sum-over expression for a summation.
C#
Objective minTotalCost =
    minimize
    | sum(over(t, j, i, c), costFlow[i, j] * x[i, j, c] * alpha[t]);

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static SumOverSets over(
	Set i,
	Set j,
	Set k,
	Set l
)

Parameters

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.

Return Value

SumOverSets

See Also