Search found 5 matches

by irem
3 months ago
Forum: Modeling
Topic: dollar condition problem
Replies: 2
Views: 184

Re: dollar condition problem

Thanks your answer. I've solved this problem, but I have another problem. I couldn't figure out how to write this equation because the variables for the following constraint cannot be written into the if statement (dollar condition). If the second index of Q is 4, I want that value to be 0 if this i...
by irem
3 months ago
Forum: Modeling
Topic: dollar condition problem
Replies: 2
Views: 184

dollar condition problem

Hi, I have to use the if statement for my model. But I get an error for this equation. Why didn't I get the error? I'd appreciate it if you could help. Eq.. const26(m,t).. sum((i,k),A(i,m,k,t))($sum(i,d(m,t,i)) gt r(m,t)) =e= sum(i,db(m,t,i)) ; Error: **** const26(m,t).. sum((i,k),A(i,m,k,t))($sum(i...
by irem
3 months ago
Forum: Modeling
Topic: if statement problem in inventory routing model
Replies: 1
Views: 171

if statement problem in inventory routing model

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) ; ***...
by irem
9 months ago
Forum: Modeling
Topic: multi item inventory routing problem in gams
Replies: 2
Views: 3272

Re: multi item inventory routing problem in gams

Your answer was very helpful. Thank you for your attention.

-Irem
by irem
9 months ago
Forum: Modeling
Topic: multi item inventory routing problem in gams
Replies: 2
Views: 3272

multi item inventory routing problem in gams

Hi, I had to solve a demo problem GAMS to use in my MS thesis. Since I did not know GAMS well, I encountered some problems / errors. I was gonna ask you to help me with this. First I have written the GAMS problem in order to be understandable in ANNEX 1 and the mathematical model is given in ANNEX 2...