Unique element cross reference

Top  Previous  Next

The next output item is the unique element cross reference map that identifies the line numbers where all unique set elements in the GAMS program are declared and referenced.

 

ELEMENT       REFERENCES

 

makechair     declared        6      ref        9       11       13       17

makelamp      declared        6      ref        9       11       13       17

maketable     declared        6      ref        9       11       13       17

plantcap      declared        7      ref       15       18

salecontrct   declared        7      ref       15       19

Notes:

The declared entry shows the first place the name appears.
The ref entry shows where the set element is used.
The UEL map is probably only useful to make sure nothing is omitted and to make sure you do not have items that are present but never used (insuring all items have ref entries present).
The capitalization of the UEL's in the map and in all GAMS output is controlled by the rules explained in the Rules for Ordering and Capitalization chapter.
The unique element cross reference map does not appear unless requested.  If desired, it needs to be requested by using the command $Onuelxref. $Offuelxref removes unique element cross reference from LST file.