Quantifiers Not Necessary in Some Cases


Usually, when you enter an expression to be evaluated in the memo on the AnalyseGE form, you must include appropriate quantifiers such as (All,c,COM).

You do not need to include quantifiers in the following cases:

If you want to see the values of all components in a variable or coefficient, you can enter just the name of a variable or coefficient (optionally followed by a semicolon ";"). [In this case you do not need to include the indexes after the coefficient or variable name.]
 
Example: x0dom ;

[This has the same effect as "(all,c,COM) xodom(c) ;"

 

If you want an index to range over the full set required on its first occurrence in the expression, you can omit that quantifier.

Example: In ORANIG, the coefficients V3BAS (household consumption) and V5BAS (government consumption) are defined to have two arguments (c,s) with c ranging over the set COM of commodities and s ranging over the set SRC = (dom, imp) of courses, and the set MAR is the set of margins commodities (a subset of COM). The expressions

 

V3BAS(c,s) + V5BAS(c,s) ;

(all,c,MAR) V3BAS(c,s) + V5BAS(c,s) ;

 

will be accepted by AnalyseGE. In the first case the quantifiers (All,c,COM)(All,s,SRC) will be added, while in the second case the quantifier (All,s,SRC) will be added.

However, at present you must always include the quantifiers in a Formula statement which is part of a group of statements (giving some values to a newly defined coefficient).



URL of this topic: www.copsmodels.com/webhelp/analysege/hc_noquant.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage