How to solve

Good morning, I’m Sintya J.K. Umboh. I’m studying at Bogor Agricultural University. I just joined the GAMS Group. I have never used GAMS before. Now I’m using GAMS for my research about Multimarket (Chicken, feed and corn). I have problem (14 errors) that I’m confuse how to solve. Could you help me, please. I’m looking forward to hearing from you.

Thank you

Sincerely,

Sintya J.K. Umboh




Attachments-99/List Errors.docx
Attachments-99/GAMS (MULTIMARKET-SINTYA).gms

Reply-to: gamsworld@googlegroups.com

Your errors are fairly simple, you are either dividing by zero or taking the log of 0 - both of which are undefined.

On first glance, it appears you’re calculating over indices which have not been defined previously and thus have a value of zero. As an example, for the error in line 705 - TOTCONS(“PRSHN”) is 2.7E+9 but TOTCONS has all the elements of the H set. Therefore, you have not defined TOTCONS for both PTRYT and RTOTHERS and their default values are zero.

Hope this is a good starting point.

Best,
Max

On Sunday, May 26, 2013 7:40:56 PM UTC-4, Sintya JK Umboh wrote:

Good morning, I’m Sintya J.K. Umboh. I’m studying at Bogor Agricultural University. I just joined the GAMS Group. I have never used GAMS before. Now I’m using GAMS for my research about Multimarket (Chicken, feed and corn). I have problem (14 errors) that I’m confuse how to solve. Could you help me, please. I’m looking forward to hearing from you.

Thank you

Sincerely,

Sintya J.K. Umboh

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\