Hi all,
I’m testing a CGE model. It was based on an old SAM, so I replaced it with a new one.
Then I got this error message on the CET equation
Error: rPower: FUNC DOMAIN: x**y, x=0,y<0
eqQD(i).. QD(i)=e=gammae(i)**(-sigmaex(i)-1)*(xid(i)*(1+taxp(i))*PX(i)/PD(i))**(-sigmaex(i))*QX(i);
I checked the equation and initial values of PX and PD, and set lower bounds for them. But it doesn’t work.
PX0(i)=1; PD0(i)=1;
PX.lo(i)=0.01; PD.lo(i)=0.01;
The model works well on the old SAM even without any bounds. I’m new to GAMS, this really confuses me.
Does anyone have an idea about this problem? What I did wrong or what I missed?
Thanks,
Estel