27.10.2013 Views

Quick start - Gams

Quick start - Gams

Quick start - Gams

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.

have full machine accuracy.<br />

The single dots '.' represent zeros.<br />

If present EPS is the GAMS extended value that means very close to but different from<br />

zero.<br />

It is common to see a marginal value given as EPS, since GAMS uses the convention that<br />

marginals are zero for basic variables, and nonzero for others.<br />

EPS is used with non-basic variables whose marginal values are very close to, or actually,<br />

zero, or in nonlinear problems with superbasic variables whose marginals are zero or very<br />

close to it.<br />

For models that are not solved to optimality, some items may additionally be marked<br />

with the following flags.<br />

Flag Description<br />

Infes The item is infeasible. This mark is made for any entry whose level<br />

value is not between the upper and lower bounds.<br />

Nopt The item is non-optimal. This mark is made for any non-basic<br />

entries for which the marginal sign is incorrect, or superbasic ones<br />

for which the marginal value is too large.<br />

Unbnd The row or column that appears to cause the problem to be<br />

unbounded.<br />

The marginal output generally does not have much meaning in an MCP or CNS model.<br />

Variable solution report<br />

The next section of the LST file is a variable by variable listing of the solution returned to<br />

GAMS by the solver. Each individual variable case is listed. For our three examples the reports<br />

are as follows<br />

LOWER LEVEL UPPER MARGINAL<br />

---- VAR Z -INF 9950.000 +INF .<br />

---- VAR Xcorn . 50.000 +INF .<br />

---- VAR Xwheat . 50.000 +INF .<br />

---- VAR Xcotton . . +INF -13.000<br />

LOWER LEVEL UPPER MARGINAL<br />

---- VAR P . 3.000 +INF .<br />

---- VAR Qd . 10.000 +INF .<br />

---- VAR Qs . 10.000 +INF .<br />

LOWER LEVEL UPPER MARGINAL<br />

---- VAR ba -INF 1.000 +INF .<br />

---- VAR so4 -INF 1.000 +INF .<br />

---- VAR baoh -INF 4.802 +INF .<br />

---- VAR oh -INF 1.000 +INF .<br />

---- VAR hso4 -INF 0.980 +INF .<br />

---- VAR h -INF 1.000 +INF .<br />

Courtesy of B.A. McCarl, October 2002 22

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

Saved successfully!

Ooh no, something went wrong!