Hi,

In JuMP, I need to implement a constraint that uses more than one filter elements in the sets.

It seems that JuMP accepts only one filter. The error message is:“There can be at most one filtering condition, which is separated from the indices by a single `;`

.”

The constraint expression I am trying to implement is:

# If j<=1 and Mdummy[i,j]=1 than T[j] <= T[i]:

# Mdummy is a parameter

@constraint(model1, con[i in Vst_total, j in Vst_total; Mdummy[i,j]==1, j<=i], T[j]<= T[i])

Does anybody knows how to solve it?

Thanks in advanced!