I am trying to make a matrix (currently as a table) in which I have constant values and values depending on a decision variables defined later. It kind looks like this:
table g(i,j) limits
1 2
1 1 0.5*x("1",j)
2 1 0.5*x("2",j);
positive variables
x(i, j)
number of workers in skill level i
in period j
t(i, j)
number of retraining of worker in skill level i
period j
equations
t(i, j) =L= g(i,j)
Now obviously this doesn't work and I can't figure out a solution how to do it. Is there actually a way to use decision variables in such a way in gams? In principle, I just want to make a nice matrix in which I can store them for later use in the equations.
Hope that anyone can help me.