(This is a simplified version of my problem)
x: array(i,j) of mpvar
With this formulation I will have 100000 xs. But I know that in x(i,j) for each i there is only 1 j.
The data table looks like this i j
I have 2 questions:
1. How I write this in Declarations so I only have 1000 xs and not 100000?
2. How do I write a constraint that sweeps in the same way i and j (only the combinations in the data table)?