MathProgExtensionsover(Set) Method

Creates a sum-over expression for a summation.
C#
Constraint flowBalance =
    forall(j)
    | sum(over(i), x[i, j]) - sum(over(k), x[j, k]) == demand[j];

Definition

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

Parameters

i  Set
First index of the sum over sets expression.

Return Value

SumOverSets

See Also