Open Wikunia opened 3 years ago
This is the third of several issues for the element constraint. (See #196 and #197 ) It's also the more formal issue for #195 and #164
It would be great to index variable 1D arrays with a variable like:
@variable(m, 1 <= c[1:7] <= 10, Int) @variable(m, 1 <= idx <= 7, Int) @constraint(m, c[idx] == 5)
This is the third of several issues for the element constraint. (See #196 and #197 ) It's also the more formal issue for #195 and #164
It would be great to index variable 1D arrays with a variable like: