Search found 5 matches

by happiniar
1 year ago
Forum: Modeling
Topic: GAMS does not read my code
Replies: 8
Views: 1492

Re: GAMS does not read my code

Dear Michael,

I solved it! Thank you very very much for all your advices*

All the best,
Pınar.
by happiniar
1 year ago
Forum: Modeling
Topic: GAMS does not read my code
Replies: 8
Views: 1492

Re: GAMS does not read my code

Dear Michael, Thank you very much for your response. And let me thank you again, you enlightened me deeply. Yes, you are right, my second sum function only sums over the diagonals at table aa. But it is not my aim. Let me explain my problem a bit more detailed: Set i (A,B,C,D) represents facilities ...
by happiniar
1 year ago
Forum: Modeling
Topic: GAMS does not read my code
Replies: 8
Views: 1492

Re: GAMS does not read my code

Dear friends, I tried the information in this link: https://www.gams.com/latest/docs/UG_Par ... 20diagonal But still my problem remains..My second Sum function in goal equation is still not read.. I check it from lst file's execution tab. Here is my revised code: sets i /A,B,C,D/ j /1,2,3,4/; alias ...
by happiniar
1 year ago
Forum: Modeling
Topic: GAMS does not read my code
Replies: 8
Views: 1492

Re: GAMS does not read my code

Dear Steve,

Thank you very much for your reply. I will check the link and let you know if I solve it or not.
Thanks again!

All the best
by happiniar
1 year ago
Forum: Modeling
Topic: GAMS does not read my code
Replies: 8
Views: 1492

GAMS does not read my code

Dear friends, I have a problem. Here is my code, but GAMS ignore my second Sum function in "objective" line. PS: I want to take into consideration the values which are not equal to zero in the Table aa(i,j,i,j) for objective function. sets i /A,B,C,D/ j /1,2,3,4/; table d(i,j) 1 2 3 4 A 0.020833 0.0...