Hello,
is it possible to have a multi dimensional set in a variable? If I define the sets and the variable as below, the error ‘one dimensional set expected’ will appear. Is it possible to avoid this error?
Sets
i products /Product1, Product2 /
Copies possible number of copies /1,2,3,4/
k(i,Copies) copies for product i (multidimensional) /Product1.(1,2,3,4)
Product2.(1,2) /
h position /P1,P2,P3,P4,P5,P6/ ;
…
Binary Variable
y(i,k,h) 1 if and only if copy k of product i is placed in position h