In the MCP model, every equation should be match to a complementary variable.
Regarding to this matter, should those equations of system constraint block (such as market equilibrium for factors and composite commodities) be included, or just ignore?
If these equations are involved, the numbers between variables and equation will not be equal.
In addition, the GAMS error I got as following… **** The following MCP errors were detected in model MYCGE:
**** 70 PD dimensions are different
**** 70 WF dimensions are different
**** 70 IADJ dimensions are different
It looks like you “coupled” the equations with the wrong variables because the dimension of the variable doesn’t match the dimension of the equation. You should, therefore, check the dimension of the variable-equation pair.
You could let the solver match all the variables to the equations (just write your model definition without the dot-notation and just the equations). This was/is the way it is partly done in the IFPRI model. Partly, because in the IFPRI model you have closure rules. Depending on the choice of the closure rule, one variable is fixed and another is free. This might be the second problem, that you have differing equations and variables: you might have coupled the fixed variable to the closure equation, instead of the free variable.
Bonjour cher tous,
Je rencontre le même problème dans la résolution de mon code GAMS pour résoudre le modèle EGC que j’ai élaborer.
Concrètement, comment je dois procéder pour résoudre cela.
Bien merci à vous