Here’s the workaround that I’d recommend for this particular case:
for i in 1:d1, j in 1:d2, k in 1:d3
x = w[i, j, 1:d3]
@NLconstraint(m, f(uc[i, j, k], v[i, k], x...) == 0)
end
Here’s the workaround that I’d recommend for this particular case:
for i in 1:d1, j in 1:d2, k in 1:d3
x = w[i, j, 1:d3]
@NLconstraint(m, f(uc[i, j, k], v[i, k], x...) == 0)
end