I have read the documentation
http://www.juliaopt.org/JuMP.jl/0.18/refexpr.html
in order to get the right syntax to build a reference to a constraint. It’s like that:
@constraintref constraintName[1:3]
My constraint is a little bit more complex, and it is represented for a multiple indexation like that
myConstraint[ city, year, product]
I have tried these three ways to build it, but all of them didn’t work and I got an error message :
@constraintref myConstraint[c in city, y in year, p in product]
@constraintref myConstraint[for c in city, y in year, p in product]
@constraintref myConstraint[c, y, p for c in city, y in year, p in product]
Anyone knows the right syntax? Thanks in advance.