Microcomputers In Policy Research 4b - Key to Exercises in CGE Modeling Using GAMS (includes software) (IFPRI, 2000, 69 p.)
 (introduction...) Exercise 1: GAMS Code Exercise A1: GAMS Code Exercise 2: Mathematical Statement Exercise 2: GAMS Code Exercise 3: Mathematical Statement Exercise 3: GAMS Code Exercise 4: Mathematical Statement Exercise 4: GAMS Code Exercise 5: GAMS Code

### Exercise 2: Mathematical Statement

 NOTATION a Î A activities {AGR-A agricultural activity Sets NAGR-A nonagricultural activity} c Î C commodities {AGR-C agricultural commodity NAGR-C nonagricultural commodity} f Î F factors {LAB labor CAP capital} h Î H households {U-HHD urban household R-HHD rural household} Parameters ada efficiency parameter in the production function for activity a cpi consumer price index (CPI) cwtsc weight of commodity c in the CPI icaca qnty of c as intermed. input per unit of output in activity a qfsf supply of factor f shryhf share for household h in the income of factor f afa share of value-added to factor f in activity a bch share in household h consumption spending of commodity c qac yield of output c per unit of activity a Variables Pc market price of commodity c PAa price of activity a PVAa value-added (or net) price of activity a Qc output level in commodity c QAa level of activity a QFfa demand for factor f from activity a QHch consumption of commodity c by household h QINTca qnty of commodity c as intermediate input in activity a WFf price of factor f YFhf income of household h from factor f YHh income of household h

 EQUATIONS a Î A (1) Production and Commodity Block f Î F, a Î A (2) c Î C, a Î A (3) a Î A (4) a Î A (5) c Î C (6) Institution Block h Î H, f Î F (7) h Î H (8) c Î C, h Î H (9) System Constraint Block f Î F (10) c Î C (11) (12)