Results Interpretation Topic is solved

Problems with syntax of GAMS
Post Reply
Mohamed Awadalla
User
User
Posts: 3
Joined: 4 years ago

Results Interpretation

Post by Mohamed Awadalla »

Hi everyone,
I have got in my results (EPS)... What does it mean?

Thanks,
User avatar
Renger
Posts: 639
Joined: 7 years ago

Re: Results Interpretation

Post by Renger »

Hi Mohamed
If you search the Gams documentation, you will find the following (the 8th mentioning of EPS on that page):
The special value EPS is numerically equal to zero, so when used in the context of numerical comparisons, it behaves as zero. For example, the logical expressions x > 0 and x > EPS have the same result. However, EPS is a stored zero, so setting a parameter to zero (e.g. a(row,col)=0) results in no values being stored for a, while setting a parameter to EPS (e.g. a(row,col)=EPS) results in the value EPS being stored for every (row,col) tuple. This is sometimes useful, especially if a is used later in loops (see Programming Flow Control Features) or dollar conditions (see Conditional Expressions, Assignments and Equations). For example, consider the statement
.

Cheers
Renger
____________________________________
Enjoy modeling even more: Read my blog on modeling at The lazy economist
Mohamed Awadalla
User
User
Posts: 3
Joined: 4 years ago

Re: Results Interpretation

Post by Mohamed Awadalla »

Hi Renger,

Thank you very much

regards,
Mohamed
Post Reply