Hello everyone
sets A
/
AFOOD
ACLOTH
AWOOD
AGAS
ACOAL
AOIL
/
A1(A)
/
AFOOD
ACLOTH
AWOOD
/
A2(A)
/
AGAS
ACOAL
AOIL
/
;
now, there are some data in A1 and A2. how can i copy data from A1 and A2 to A?
Thanks a lot.
\
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/lcVnUQ-f9iQJ.
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.
Sorry, everyone. Now, the question is changed as follow:
sets
A
/AFOOD,ACLOTH,AWOOD,AGAS,ACOAL,AOIL/
A1(A)
/AFOOD,ACLOTH,AWOOD/
A2(A)
/AGAS,ACOAL,AOIL/
C
/CFOOD,CCLOTH,CWOOD,CGAS,CCOAL,COIL/
;
now, there are some data in QI(A1,C) and QE(A2,C). How can i copy data from QI(A1,C) and QE(A2,C) to QQ(A,C)?
Thanks a lot.
–
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/Jbj87nSnPC4J.
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.
it is as simple as
QQ(A1, C) = QI(A1, C);
QQ(A2, C) = QE(A2, C);
Regards,
Yan
2012-09-06
WeiLiang, 2012-09-06 15:35:26
Subject:Re: how can i copy data from two subsets to another set ?
sets
A
/AFOOD,ACLOTH,AWOOD,AGAS,ACOAL,AOIL/
A1(A)
/AFOOD,ACLOTH,AWOOD/
A2(A)
/AGAS,ACOAL,AOIL/
C
/CFOOD,CCLOTH,CWOOD,CGAS,CCOAL,COIL/
;
now, there are some data in QI(A1,C) and QE(A2,C). How can i copy data
from QI(A1,C) and QE(A2,C) to QQ(A,C)?
\