Let’s say that I have an array of tuples containing all the indices I need for a variable
A = [(:a1,:b1),(:a2,:b2)]
Now, I want to define a JuMP variable such that I can access x[:a1,:b1] for example. How do I accomplish that?. I tried @variable(m, x[i in A] but the indices of the JuMPDict are Tuples. I end up with one dimension index when I actually want two.