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 (UTC-5), 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…
–
Intento3.gms (5.86 KB)