MathProgExtensionsover(Set, Set) Method

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

Definition

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

Parameters

i  Set
First index of the sum over sets expression.
j  Set
Second index of the sum over sets expression.

Return Value

SumOverSets

See Also