|
Using displays |
Top Previous Next |
|
One may display any GAMS parameter, set, variable attribute, equation attribute or model attribute as well as quoted text using the GAMS display statement. Note: Display will not print out items that are zero leaving blanks or skipping items where entire rows or columns are zero. Generally the display is of the format
DISPLAY ITEM1,ITEM2,ITEM3;
where the items are either
Display 'here it is', "hello";
parameter data(index1,index2,index3,index4);
I simply say
display data;
Display x.l, x.scale, modelname.solstat;
|