Search found 21 matches

by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Steve,
Thank you for your explaination. I really appreciate it. I had download the gms program and I will study the MCP and NLP portion in the User Guide .
Thanks a lot.
Regards,
Douglas
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Renger, My problems were solved! Thanks for all your help! I still have two questions: (1) After removing the lower bound, the problem solved. The unmatched variables disappeared. I really wondering why? It took very a lot of time. In order to avoid dividing by zero, I followed the instruction ...
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Renger,
Thank you for your patience. Fixing the variable to check the feasibility is the method in the Appendix in Horse's book.
I will study the materials you provide.
Thanks again.
Regards,
Douglas
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Renger, I am sorry to ask the same question again. Please find the file which named *1212.gms attached. In this file, I add the cge.iterlim=0 and find: ---- QINTfn =E= QINTfn(comagr,secagr).. - 0.404883820662826*QINTA(secagr) + QINT(comagr,secagr) =E= 0 ; (LHS = -14656.9114743557, INFES = 14656...
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Renger,
Thanks for the reply. I will try it. I will be very happy if I can solve the infeasible problem even though another problem will be encountered soon.
Thanks.
Douglas
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

Re: EXIT CODE =3 , the equation is infes

Dear Renger, I use the command cge.iterlim you suggested to check the Infeasible. The equation changed from no problem to Infeasible, but I think the equation is simple and shouldn't have the problem. Could you please help with thanks. (page 26, the ifpri model you mentioned, intermediate demand for...
by douglaskuo
3 years ago
Forum: Syntax
Topic: EXIT CODE =3 , the equation is infes
Replies: 11
Views: 8750

EXIT CODE =3 , the equation is infes

Dear all, I am working on the CGE model. I don't finish the whole model yet. Up to this stage, I have written the equations and I fix all the variables to check all the equations. I encounter two questions: (1) some equation showed "infes", but the value is very small. For example, 0.002 o...
by douglaskuo
3 years ago
Forum: Syntax
Topic: error code 57 and 52: VAR operands relational or boolean
Replies: 1
Views: 1468

Re: error code 57 and 52: VAR operands relational or boolean

I got some typing error!
CETZEROfn(a)$(QDA(a)=0)..
Should be QDA0(a)

- please ignore this post --

Thank you.
by douglaskuo
3 years ago
Forum: Syntax
Topic: error code 57 and 52: VAR operands relational or boolean
Replies: 1
Views: 1468

error code 57 and 52: VAR operands relational or boolean

Dear All, I am struggling with my model. There is zero in my data: QDA0(a)=sum(c,sam(a,c))/PDA0(a); I use "$" to control it and got the error: 57 Thank you for your help in advance. CETfn(a)$(QDA0(a)).. QA(a)=e=scaleCET(a)*(deltaCET(a)*QDA(a)**rhoCET(a)+(1-deltaCET(a))*QE(a)**rhoCET(a))**(...
by douglaskuo
3 years ago
Forum: Syntax
Topic: Exit code = 2, Endogenous relational operations require model type "dnlp"?
Replies: 3
Views: 2669

Re: Exit code = 2, Endogenous relational operations require model type "dnlp"?

Dear Renger,
Thank you very much. I will try it.
Thanks and regards,
Douglas