Error 71....
Error 71....
Hello guys... I was programming a code and when i ran it, it has an error with the title Error 71 "the symbol shown has been declared as an equation ,but no symbolic equation (..) was found.look for commas in the documentation text for the equations.use quotes around the text or eliminate the commas. I have checked my code several times and correct every thing but I can not do correct it.
This is the code and the files....
Please help me...

 Attachments

[The extension gpr has been deactivated and can no longer be displayed.]

 Book2a.txt
 (358 Bytes) Downloaded 41 times

 Book2.xls
 (191.5 KiB) Downloaded 29 times

 Intento3.gms
 (5.86 KiB) Downloaded 49 times
Re: Error 71....
Hola Karina:
You have declared the following equations:
dpd
dpk
dpm
dpkm
R8
R9
but you have not declared actual symbolic equations for them
i.e.
dpd.. foo=e=bar;
dpk.. foo=l=bar;
dpm.. foo=g=bar;
And so on.
Because you have defined the model TerminalesLogisticas to contain /ALL/ equations declared, you need to provide a symbolic structure for them. In other terms, you are saying model should contain all equations declared, but what does equation dpd mean ?
If you want to keep these equations out of this model instance,
use:
Model TerminalesLogisticas /dctotal,dcfijot,dcfijok,dcfijom,dcdirecto,dchubk,dchubm,dcparhub,r1,r2,r3,r4,r5,r6,r7/
Which are the equations you've provided a symbolic declaration for.
Saludos!
Claudio
PS: Advice for the next time, search the list before asking. This is a very common error that has surfaced many times.
On Thu, Apr 7, 2016 at 12:03 PM, Karina Lang wrote:
Hello guys... I was programming a code and when i ran it, it has an error with the title Error 71 "the symbol shown has been declared as an equation ,but no symbolic equation (..) was found.look for commas in the documentation text for the equations.use quotes around the text or eliminate the commas. I have checked my code several times and correct every thing but I can not do correct it.
This is the code and the files....
Please help me...

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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Re: Error 71....
Thanks a lot... I forgot defining this...
El jueves, 7 de abril de 2016, 10:45:27 (UTC5), Claudio Delpino escribiÃ³:
Hola Karina:
You have declared the following equations:
dpd
dpk
dpm
dpkm
R8
R9
but you have not declared actual symbolic equations for them
i.e.
dpd.. foo=e=bar;
dpk.. foo=l=bar;
dpm.. foo=g=bar;
And so on.
Because you have defined the model TerminalesLogisticas to contain /ALL/ equations declared, you need to provide a symbolic structure for them. In other terms, you are saying model should contain all equations declared, but what does equation dpd mean ?
If you want to keep these equations out of this model instance,
use:
Model TerminalesLogisticas /dctotal,dcfijot,dcfijok,dcfijom,dcdirecto,dchubk,dchubm,dcparhub,r1,r2,r3,r4,r5,r6,r7/
Which are the equations you've provided a symbolic declaration for.
Saludos!
Claudio
PS: Advice for the next time, search the list before asking. This is a very common error that has surfaced many times.
On Thu, Apr 7, 2016 at 12:03 PM, Karina Lang wrote:
Hello guys... I was programming a code and when i ran it, it has an error with the title Error 71 "the symbol shown has been declared as an equation ,but no symbolic equation (..) was found.look for commas in the documentation text for the equations.use quotes around the text or eliminate the commas. I have checked my code several times and correct every thing but I can not do correct it.
This is the code and the files....
Please help me...

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Re: Error 71....
Hi Claudio,
IÂ´m new user in gams. Thats why im learning about it. IÂ´ll keep on mind what you recommend. Now im trying to formulate some constraints and i found the error 125.
Can you help me?
PS: The new file is attached and what im tryint to do is in the pic. (Instead of p i put t, in gams)
Thanks a lot.
El jueves, 7 de abril de 2016, 10:45:27 (UTC5), Claudio Delpino escribiÃ³:
Hola Karina:
You have declared the following equations:
dpd
dpk
dpm
dpkm
R8
R9
but you have not declared actual symbolic equations for them
i.e.
dpd.. foo=e=bar;
dpk.. foo=l=bar;
dpm.. foo=g=bar;
And so on.
Because you have defined the model TerminalesLogisticas to contain /ALL/ equations declared, you need to provide a symbolic structure for them. In other terms, you are saying model should contain all equations declared, but what does equation dpd mean ?
If you want to keep these equations out of this model instance,
use:
Model TerminalesLogisticas /dctotal,dcfijot,dcfijok,dcfijom,dcdirecto,dchubk,dchubm,dcparhub,r1,r2,r3,r4,r5,r6,r7/
Which are the equations you've provided a symbolic declaration for.
Saludos!
Claudio
PS: Advice for the next time, search the list before asking. This is a very common error that has surfaced many times.
On Thu, Apr 7, 2016 at 12:03 PM, Karina Lang wrote:
Hello guys... I was programming a code and when i ran it, it has an error with the title Error 71 "the symbol shown has been declared as an equation ,but no symbolic equation (..) was found.look for commas in the documentation text for the equations.use quotes around the text or eliminate the commas. I have checked my code several times and correct every thing but I can not do correct it.
This is the code and the files....
Please help me...

 Attachments

 Capture.PNG (14.47 KiB) Viewed 1113 times

 Intento3.gms
 (5.86 KiB) Downloaded 18 times