Open Wikunia opened 3 years ago
This is the second of several issues for the element constraint. (See #196 )
It would be great to index constant arrays with a variable like:
c = rand(1:100, (5, 5)) @variable(m, 1 <= idx <= 5, Int) @variable(m, 1 <= idy <= 5, Int) @constraint(m, c[idx, idy] == 5)
This is the second of several issues for the element constraint. (See #196 )
It would be great to index constant arrays with a variable like: