Search found 23 matches

by Lucas
4 years ago
Forum: Archive Google Group
Topic: How to allocate unequal probability?
Replies: 2
Views: 8247

Re: How to allocate unequal probability?

Dear Steve :D

Thanks a lot!
by Lucas
4 years ago
Forum: Archive Google Group
Topic: How to allocate unequal probability?
Replies: 2
Views: 8247

How to allocate unequal probability?

Hi all, I want to allocate the probability of 1000 scenarios. (|S|=1000). And I don't want all these possibilities to be considered equal. (not to be; P(s)=0.001 for all s). How can I allocate an unequal probability? I mean we have: sum(s,p(s))=1 and for all s,s': s<>s' ; we don't have p(s)=p(s'). D...
by Lucas
4 years ago
Forum: Solvers
Topic: How Can I set license in GAMS Studio?
Replies: 6
Views: 14909

Re: How Can I set license in GAMS Studio?

Many Thanks!
by Lucas
4 years ago
Forum: Solvers
Topic: How Can I set license in GAMS Studio?
Replies: 6
Views: 14909

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
4 years ago
Forum: Solvers
Topic: How Can I set license in GAMS Studio?
Replies: 6
Views: 14909

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
4 years ago
Forum: Archive Google Group
Topic: Reach two different answers in two different versions of GAMS
Replies: 2
Views: 6453

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
4 years ago
Forum: Archive Google Group
Topic: Reach two different answers in two different versions of GAMS
Replies: 2
Views: 6453

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 years ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 7888

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 years ago
Forum: Syntax
Topic: How to compare the two parameters
Replies: 7
Views: 7888

Re: How to compare the two parameters

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

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...