Search found 9 matches

by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Dear Dr. Dirkse, I have 2 cases: Tw<=(M-N) and Tw>=(M-N). If Tw<(M-N), the result would be the minimum of m1, m2, and m3 (m4, m5, m6, m7, and m8 are definitely infeasible). If Tw>(M-N), the result would be the minimum of m4, m5, m6, m7, and m8 (m1, m2, and m3 are definitely infeasible). If Tw=(M-N),...
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Dear Dr. Bussieck, The model works well, but I have one problem. In equation 1/Te*log((W*Te/D)+1) =L= M-N the models considers the left hand side up to 2 digits and it causes some numerical examples get the wrong answer. I have attached the Excel File, including four numerical examples. In the secon...
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Thank you very much for your complete response.
We actually celebrate Nowrouz, which is the first day of Spring.
Anyway, Happy Christmas!
I wish you the bests.
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

I have defined all the functions in sequence. But, I have two problems: 1. Although I have defined all of the variables, GAMS gives me Error 66 (The symbol shown has not been defined or assigned). 2. Moreover, I want to ask GAMS to read data from an Excel file and display the results in another one....
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Thank you very much for your great help.
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Model- GAMS.pdf Thank you very much for your great support. I have a question. My model consists of different models, depending on the parameters and the variable's relationships. How can I define it in GAMS? I mean how it is possible to ask GAMS that if the first set of constraints is satisfied, t...
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Thank you very much indeed. I have one more problem. One of the errors is division by 0 and I must set the variable T greater than (not equal to) zero. I could not find any operator to do so. I would highly appreciate it if you guide me how to define T>0 in GAMS, in which T is a decision variable. B...
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Re: Error 2- Identifier Expected

Yes, you are right.
Thank you very much for your help.
I will check the model and try to solve the other errors.
by Zohreh
4 years ago
Forum: Syntax
Topic: Error 2- Identifier Expected
Replies: 21
Views: 17580

Error 2- Identifier Expected

Dear friends, I have a problem modeled in GAMS and I encounter some errors (the first is Identifier Expected) and I do not know how to solve them input.xlsx . I would highly appreciate it if someone can help me solve this issue. The files have been attached. Best regards. NP1 - New.gms NP1 - New.gms...