Search found 20 matches

by Lucas
2 months ago
Forum: Solvers
Topic: How Can I set license in GAMS Studio?
Replies: 4
Views: 357

Re: How Can I set license in GAMS Studio?

Hi Renger! Thanks for your answer, but I want to copy my license to GAMS studio. I didn't see anything to set the license in Studio. In GAMS I used this way: file> option> Lisnces> Use alternative license file , and Copy the license file. Do we have something like this at GAMS studio? Thanks soooooo...
by Lucas
2 months ago
Forum: Solvers
Topic: How Can I set license in GAMS Studio?
Replies: 4
Views: 357

How Can I set license in GAMS Studio?

Hi! I need to use solver BARON to solve a MINLP model, I wanted to work with GAMS Studio too. I have full license for BARON in In My GAMS, But in GAMS Studio I had This error : **** Terminated due to a licensing error GAMS Development Corporation, USA G871201/0000CA-ANY Free Demo, +1 202-342-0180, s...
by Lucas
2 months ago
Forum: Archive Google Group
Topic: Reach two different answers in two different versions of GAMS
Replies: 2
Views: 1093

Re: Reach two different answers in two different versions of GAMS

Dear Renger,
The model status is optimal in both versions, and The fixed answer is also feasible.
Thanks for the detailed and informative answer ;)
by Lucas
2 months ago
Forum: Archive Google Group
Topic: Reach two different answers in two different versions of GAMS
Replies: 2
Views: 1093

Reach two different answers in two different versions of GAMS

Hi all,

I solved a model with two different versions of GAMS. (Version 24.2 and Version 27.3)

The answers I get from Version 24.2 are different from the answers from Version 27.3 !
Is this normal?


Thanks!
by Lucas
4 months ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 527

Re: How to compare the two parameters

Hi again :D why I had this error? **** Macro Definition error for Macro ISsame: Closing parenthesis missing when I used the Macro facility had that error! so I checked all parenthesis,it was ok, but I had same error again! what's wrong? set i/1*5/; parameter a(i) /1 1,2 0,3 1,4 0,5 0/ b(i) /1 0,2 1,...
by Lucas
4 months ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 527

Re: How to compare the two parameters

Dear Steve & Renger thanks a lot for your quick and useful answer!
by Lucas
4 months ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 527

Re: How to compare the two parameters

Hi Renger :) first of all Thanks for your answer! your code is better than me! I want to compare a parameter 'a' more than on time. How to compare 'a' with 'b' then 'a' with 'c' , 'a' with 'd' , 'a' with 'e' , without repeat the following code and change the b(i) to c(i), d(i) and e(i). parameter sa...
by Lucas
4 months ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 527

How to compare the two parameters

Hi all, How to compare the two parameters (0-1 parameters) together and find out if they are the same or not? I wanted to use the Sameas command but I could not do it. example compare 'a' set i/1*5/ k(i); parameters a(i) /1 1,2 0,3 1,4 0,5 0/ b(i) /1 0,2 1,3 1,4 0,5 0/ c(i) /1 1,2 0,3 1,4 0,5 0/ d(i...
by Lucas
5 months ago
Forum: Archive Google Group
Topic: The way to control total solve time
Replies: 4
Views: 538

Re: The way to control total solve time

Yes! Thanks so much!
by Lucas
5 months ago
Forum: Archive Google Group
Topic: The way to control total solve time
Replies: 4
Views: 538

Re: The way to control total solve time

Hi Renger Thanks a lot!

can I set TimeElapsed<3600?

https://support.gams.com/gams:how_do_i_ ... me_in_gams