I have declared a parameter as an Min-Operator, which have to indicate the minimal objective function value for each k across all j.
Background: In each k at least one j is infeasible (objective function value = “na”) as certain restrictions are violated. As a result, the problem occurs that the Min-Operator outputs "na" as the minimum value for each k.
The Min-Operator’s definition is as follows:
Index domain: k
Does anybody now how to exclude “na” in the Min-Operator’s definition? Thank you in advance!
Best answer by Marcel Hunting
(j,k) | (Parameter(j,k) <> inf) and (Parameter(j,k) <> na)
such that the constraint will not be generated if Parameter(j,k) equals 'inf' or 'na'.