1/0 notation
Posted: Wed May 01, 2019 6:12 pm
Hi all,
I was wondering if someone had come across the 1/0 notation and what it meant. Here is an example:
The result of this is that an error occurs if the left side is greater than SAMGAPCUTOFF.
Thank you!
I was wondering if someone had come across the 1/0 notation and what it meant. Here is an example:
Code: Select all
PARAMETER
SAMGAPCUTOFF max acceptable abs gap bt model SAM row and col totals
ERRSAMBAL(AC) if UNDF -- the absolute imbalance for AC exceeds cutoff
;
SAMGAPCUTOFF = 1.0e-5;
ERRSAMBAL(AC)$(ABS(SAMBALCHK(AC)) GT SAMGAPCUTOFF) = 1/0;
Thank you!