WHEN

From ASCEND
Revision as of 03:49, 2 April 2014 by Jpye (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

When logical variables have certain values, use certain relations or model parts in defining a mathematical problem. The relations are not defined inside the WHEN statement because all the relations must be compiled regardless of which values the logical variables have at any given moment.

For more detail, see conditional modelling.

See also SWITCH, SELECT, and IF.