Reputation: 5504
Assume the following constraint:
@constraint(model, [i=1:5,j=1:5], a[i] <= b[j])
How do I exclude constraint where i == j
from the above? This is simple to do in AMPL but I can't find any similar syntax in JuMP.
Upvotes: 1
Views: 81