## Search found 4 matches

2 months ago
Forum: Modeling
Topic: Setting equation limits
Replies: 1
Views: 671

### Setting equation limits

Hello, I do have equations and I want to set upper and lower limits, I did it by using the following code con1(r).. ((tds(r) * 0.14) / (vcPower((pf(r) / (f(r)* cti(r))),0.02) - 1)) =g= 0.2; con2(r).. ((tds(r) * 0.14) / (vcPower((pf(r) / (f(r)* cti(r))),0.02) - 1)) =l= 0.5; however, what I did is by ...
2 months ago
Forum: Modeling
Topic: Binary multiplication for MINLP
Replies: 0
Views: 927

### Binary multiplication for MINLP

Hello, I'm trying to model MINLP by using binary multiplication to choose a specific value from a parameter. Basically, I have two domains, r /1*6/ and t /1*8/ Parameter X1(t) the valus of p /1 1.5 2 2 3 2.5 4 3 5 3.5 6 4 7 4.5 8 5/; Binary variable Ub; Variables z,tds(r) I want to choose the best v...
2 months ago
Forum: Modeling
Topic: Issue of select members from sets
Replies: 2
Views: 716

### Re: Issue of select members from sets

Indeed there is not any programming logic. Thanks it works for me.
2 months ago
Forum: Modeling
Topic: Issue of select members from sets
Replies: 2
Views: 716

### Issue of select members from sets

Hello, I'm a beginner to GAMS, I have a question about select members from sets. For examples, Set r relays / 1*6 / Variables tds(r); con13.. ((tds('5') * 0.14) / (vcPower((384 / (5* 40)),0.02) - 1)) - ((tds('1') * 0.14) / (vcPower((1978.9 / (2 * 60)),0.02) - 1)) =g= 0.2; con14.. ((tds('4') * 0.14) ...