User Tools

Site Tools


gams:union_two_different_sets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gams:union_two_different_sets [2007/10/19 11:24]
127.0.0.1 external edit
gams:union_two_different_sets [2017/09/02 19:08] (current)
support
Line 8: Line 8:
 display i_u_j; display i_u_j;
 </​code>​ </​code>​
-The trouble is that ''​i''​ and ''​j''​ need to be disjoint. Otherwise you get a compilation error about a redefined ​elements ​when defining ''​i_u_j''​. Moreover, ''​i''​ and ''​j''​ are not subsets of ''​i_u_j''​. The following code will+The trouble is that ''​i''​ and ''​j''​ need to be disjoint. Otherwise you get a compilation error about a redefined ​element ​when defining ''​i_u_j''​. Moreover, ''​i''​ and ''​j''​ are not subsets of ''​i_u_j''​. The following code will
 create a **compilation error**: create a **compilation error**:
 <​code>​ <​code>​
Line 17: Line 17:
 display i_u_j; ​ display i_u_j; ​
 </​code>​ </​code>​
-Please also check Chapter 12.4 of the [[http://​www.gams.com/​docs/​gams/​GAMSUsersGuide.pdf|GAMS User's Guide]]+Please also check ''​unions''​ in the GAMS User's Guide.
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/union_two_different_sets.1192785860.txt.gz ยท Last modified: 2008/06/18 14:09 (external edit)