16.01.2015 Views

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MPSWRITE 399<br />

<strong>The</strong> option file is explained in greater detail in a following section. <strong>The</strong> MPS file generated on running the above<br />

problem is shown below.<br />

MPS file for trnsport.gms with nametyp=2<br />

NAME <strong>GAMS</strong>MOD<br />

* OBJECTIVE ROW HAS TO BE MINIMIZED<br />

* ROWS : 7<br />

* COLUMNS : 7<br />

* NON-ZEROES : 20<br />

ROWS<br />

N +OBJ<br />

E C<br />

L SSE<br />

L SSA<br />

G DNE<br />

G DCH<br />

G DTO<br />

COLUMNS<br />

XSENE C -0.225000000<br />

XSENE SSE 1.000000000<br />

XSENE DNE 1.000000000<br />

XSECH C -0.153000000<br />

XSECH SSE 1.000000000<br />

XSECH DCH 1.000000000<br />

XSETO C -0.162000000<br />

XSETO SSE 1.000000000<br />

XSETO DTO 1.000000000<br />

XSANE C -0.225000000<br />

XSANE SSA 1.000000000<br />

XSANE DNE 1.000000000<br />

XSACH C -0.162000000<br />

XSACH SSA 1.000000000<br />

XSACH DCH 1.000000000<br />

XSATO C -0.126000000<br />

XSATO SSA 1.000000000<br />

XSATO DTO 1.000000000<br />

Z C 1.000000000<br />

Z +OBJ 1.000000000<br />

RHS<br />

RHS SSE 350.0000000<br />

RHS SSA 600.0000000<br />

RHS DNE 325.0000000<br />

RHS DCH 300.0000000<br />

RHS DTO 275.0000000<br />

BOUNDS<br />

FR BOUND Z<br />

ENDATA<br />

Note that the names of the rows and columns are now more easily identifiable with the corresponding <strong>GAMS</strong><br />

name. For example, the MPS variable XSENE corresponds to x(’Seattle’,’New-York’) and is much more easily<br />

identifiable than C0000001 in Section 2. Note that in the newly generated name, the first character X represents<br />

the variable name x, the next two characters SE represent the first index label Seattle and the last two characters,<br />

NE, represent the second index label New-York.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!