if statement problem in inventory routing model

Problems with modeling
Post Reply
irem
User
User
Posts: 5
Joined: 1 year ago

if statement problem in inventory routing model

Post by irem » 7 months ago

Hi,
I'm working on a model for my thesis. I ran into some errors when running the model. But I didn't find out how to fix these errors. The model file is attached. I'm getting that error. I would be very glad if you could help. Thank you.

102 A.l(i,'4',k,t)$(d(m,t,i) gt r(m,t))=A.l(i,'10',k,t) ;
**** $149 $149 $141
103 A.l(i,'2',k,t)$(d(m,t,i) gt r(m,t))=A.l(i,'11',k,t) ;
**** $149 $149
104 A.l(i,'6',k,t)$(d(m,t,i) gt r(m,t))=A.l(i,'12',k,t) ;
**** $149 $149
105 A.l(i,'3',k,t)$(d(m,t,i) gt r(m,t))=A.l(i,'13',k,t) ;
**** $149 $149
114 B(i,k,t)=1$(d(m,t,i) gt r(m,t));
**** $143
GAMS 25.1.1 r66732 Released May 19, 2018 LEX-LEG x86 64bit/Linux 04/23/19 10:36:58 Page 2
G e n e r a l A l g e b r a i c M o d e l i n g S y s t e m
Error Messages


141 Symbol declared but no values have been assigned. Check for missing
data definition, assignment, data loading or implicit assignment
via a solve statement.
A wild shot: You may have spurious commas in the explanatory
text of a declaration. Check symbol reference list.
143 A suffix is missing
149 Uncontrolled set entered as constant

**** 10 ERROR(S) 0 WARNING(S)
Attachments
ANNEX 4.gms
(11.17 KiB) Downloaded 29 times

User avatar
bussieck
Moderator
Moderator
Posts: 349
Joined: 3 years ago

Re: if statement problem in inventory routing model

Post by bussieck » 5 months ago

What do you try to accomplish with the statements A.l() = ...? and B() = $()? Are these constraints or what?

-Michael

Post Reply