i write all the constraint and i don't have any problems. Thank you very much for your precious help.
Search found 5 matches
Search found 5 matches • Page 1 of 1
Hi Renger, I correct the compilation and now the code runs without problems. Now i'm having problems with the writing of constrains (4), (5) and (6), because of: the presence of the variable x(i,j) instead of the variable x(i,t); the presence of the parameter a(k,i) and r(t,k) instead of the paramet...
Hi Ranger and thank for your answer. Well, now i'm going to attach the code that i wrote. I wrote only the parameter, the function objective (1) (called "fob" in the code) and the constraint (3) (called "vincolo3(i)" in the code). Please, answer me if you have more hints or if you can write this cod...
Good morning to all. I'm trying to write the first objective function and the constraint 3 of the attached file, but GAMS gives me these error: obf .. z1 =E= sum(i,t$(ord(t)<=card(U)-d(i))), b(i,t)*x(i,t); $148 $198,154 $654,409 constr3(i) .. sum(t$(ord(t)<=card(U)-d(i)+1), x(i,t)) =L= 1; $198 U is ...
- 1 year ago
- Forum: Modeling
- Topic: Problem with Multi-objective ant colony optimization
- Replies: 0
- Views: 800
Can someone help me with the mathematical formulation of this problem? In particular, I have problem with the range of the summation of the constraints 4, 5, 6.