I am very new to GAMS, and trying to set up a partial equilibrium model. A simplified version is below. But it seems I am not setting it up correctly. I was pretty sure I needed to use MCP I get division by zero errors.
This is the simplified model:
positive variables qs, qd, p ;
parameters alpha/100/, beta/200/, es/0.4/, ed/0.1/ ;
equations supply, demand, marketclearing ;
supply.. qs =e= alpha*(p**es) ;
demand.. qd =e= beta/(p**ed) ;
marketclearing.. qs =e= qd ;
Model test /all/ ;
Solve test using MCP;