Hello, a table named myData is given as seen in the follows. Now I want to create a multi dimensional set “set k(i,j) /1.2 ,1.3, 2.4, 2.5, 3.4, 4.5 /;” whose elements i, j have the same relationship as defined in the table. I want to ask if there a way that I can refer to the relationship created in the table instead of re-listing the elements of the set k(i,j) ?
set i /1*5/;
alias (i,j);
set Head /a,b,c/;
Table myData(i,j,Head)
a b c
1.2 0.6 0.8 0.3
1.3 0.9 0.9 0.5
2.4 0.2 0.1 0.4
2.5 1.8 0.2 0.4
3.4 0.7 0.3 0.5
4.5 0.8 0.3 0.1 ;
set k(i,j) /1.3 ,1.5, 2.3, 2.5, 3.5, 4.5 /;
\
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/YaCGzjBR9_0J.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.