I would like to define an array of jump variables, e.g something like
for c:1:C @variable(model, mu[c][1:foo(c)] >= 0) end
for c:1:C mu[c] = @variable(model, [1:foo(c)] >= 0) end
but I was not able to find the right syntax,
My goal is later to be able to define constraints on the different mu[c].
I cannot simply use
mu = @variable(model,[c=1:C,1:foo(c)]) as in fact the dimension of mu[c] might depends on c.
Any pointer on the right way to do this ?