Search found 7876 matches

by Archiver
8 years ago
Forum: Archive Google Group
Topic:
Replies: -1
Views:

big M problem with binary variable

<r><br/> This is my model. Equations condition_1 , condition_2, condition_3 accordingly refer to the bigM method. So, <br/> <br/> when my reference_actual(s) value is more than 1, binary variable u1(s)=1 and u2(s)=0 and u3(s)=0.<br/> when my reference_actual(s) value is between 0.97 and 1, binary va...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: 121,148,171 errors
Replies: 1
Views: 3821

RE: 121,148,171 errors

<r><br/> Hi ???<br/> <br/> It is really getting annoying:<br/> <br/> If you write to this forum, have the courtesy to put your name below your post. (I am really beginning to think that when I was young, everything was better...). A "Hi" at the start of your post might also be a sign that your paren...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: Help with an error message: FUNC DOMAIN: x**y, x<0
Replies: 2
Views: 8006

Re: Help with an error message: FUNC DOMAIN: x**y, x<0

<r>AB,<br/> <br/> This link should give you a good idea why your change works as it does.<br/> <br/> <URL url="https://support.gams.com/gams:difference_between_the_-operator_and_the_power_function"><LINK_TEXT text="https://support.gams.com/gams:differenc ... r_function">https://support.gams.com/gams...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: 121,148,171 errors
Replies: 1
Views: 3821

121,148,171 errors

<r><br/> PARAMETERS<br/> demand(c) c;<br/> <br/> execseed = 1 + gmillisec(jnow);<br/> demand(c) = round(normal(mean(c),0.9*mean(c)));<br/> while ((count le 6),<br/> if((demand(count)<0),<br/> demand(count)=0;<br/> );<br/> count=count+1;<br/> );<br/> display demand;<br/> <br/> <br/> I am having this ...
by Archiver
8 years ago
Forum: Archive Google Group
Topic:
Replies: -1
Views:

Re:Re:Re:When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "

<r><br/> Hi Renger:<br/> <br/> It's ok, thanks anyway.<br/> <br/> LK<br/> <br/> <br/> <br/> <br/> At 2016-04-21 17:31:41, "Renger van Nieuwkoop" wrote:<br/> <br/> THat would take too much of my time.<br/> <br/> Sorry<br/> <br/> Renger<br/> <br/> <br/> <br/> From: <EMAIL email="gamsworld@googlegroups...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: Re:Re:When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "
Replies: 2
Views: 3857

RE: Re:RE: Re:RE: When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "

<r><br/> THat would take too much of my time.<br/> <br/> Sorry<br/> <br/> Renger<br/> <br/> <br/> <br/> From: <EMAIL email="gamsworld@googlegroups.com">gamsworld@googlegroups.com</EMAIL> [mailto:<EMAIL email="gamsworld@googlegroups.com">gamsworld@googlegroups.com</EMAIL>] On Behalf Of lk<br/> Sent: ...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: Re:Re:When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "
Replies: 2
Views: 3857

Re:RE: Re:RE: When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "

<r><br/> and it says infeassible solution..<br/> <br/> <br/> <br/> <br/> <br/> At 2016-04-20 16:00:19, "Renger van Nieuwkoop" wrote:<br/> <br/> Hi<br/> <br/> I had to change the following line to:<br/> <br/> set leader(i) /6/; -> set leader(i) /s6/;<br/> <br/> After that, I get the following error:<...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: Re:Re:When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "
Replies: 2
Views: 3857

Re:Re:When solve Stackelberg problems with MPEC type, shows 1 error that "571 rows 599 columns 12094 non-zeroes 13372 nl-code 9947 nl-non-zeros "

<r><br/> Hi Renger:<br/> <br/> Thanks so much, I have solved this problem. I deleted "$not leader(i)" in the "profit_follower" equation. But now aonther prolem is "infeasible solution: reduced gradient less than tolerance " ,I don't know where is going wrong...<br/> <br/> please HELP!!<br/> <br/> Ag...
by Archiver
8 years ago
Forum: Archive Google Group
Topic:
Replies: -1
Views:

Issue with Bounds: Unbounded solution. PLEASE HELP!!!

<r><br/> Hello All,<br/> <br/> I am trying to maximize my objective function which is equation E4. When i place the lower bound on h, GAMS returns : ** Unbounded solution. A variable has reached 'Infinity'. Largest legal value (Rtmaxv) is 1.00E+10<br/> In this program, I am trying to find the value ...
by Archiver
8 years ago
Forum: Archive Google Group
Topic: Help with an error message: FUNC DOMAIN: x**y, x<0
Replies: 2
Views: 8006

Re: Help with an error message: FUNC DOMAIN: x**y, x<0

<r><br/> So just in case anyone else reads this, I resolved this issue bu using the power function. I have no idea why it works but it does. so instead of using (x-xw)**2 and ) (x+xw)**2, i used power ((x-xw),2) and power((x+xw),2)<br/> <br/> On Sunday, April 10, 2016 at 3:28:35 AM UTC-7, AB wrote:<...