|
Echo print |
Top Previous Next |
|
The first item contained within the LST file is the echo print. The echo print is simply a numbered copy of the instructions GAMS received in the GMS input file. For example, in the LST file segment immediately below is the portion associated with the GAMS instructions in optimize.gms.
3 VARIABLES Z;v 4 POSITIVE VARIABLES Xcorn , Xwheat , Xcotton; 5 EQUATIONS OBJ, land , labor; 6 OBJ.. Z =E= 109 * Xcorn + 90 * Xwheat + 115 * Xcotton; 7 land.. Xcorn + Xwheat + Xcotton =L= 100; 8 labor.. 6*Xcorn + 4 * Xwheat + 8 * Xcotton =L= 500; 9 MODEL farmPROBLEM /ALL/; 10 SOLVE farmPROBLEM USING LP MAXIMIZING Z; Notes:
|