You define the equation EQE(i,t) and then you just write
E(“ARG”, t) =E= M(“USA”, t)
And
E(“USA”, t) =E= M(“ARG”, t)
That’s all
Renger
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Alie Ranjbar
Sent: Dienstag, 15. April 2014 08:18
To: gamsworld@googlegroups.com
Subject: Re: Error 149
dear renger
thanks, but i can’t see the two equations which you suggest,
best regards
On Monday, April 14, 2014 11:46:01 PM UTC+4:30, Renger van Nieuwkoop wrote:
Dear Alie and Gabriel
This only works if you either change the equation from EQE(i,t)… to EQE(i,j,t)…
and if there are only two elements in the set i…
Cheers
Renger
From: gams...@googlegroups.com [mailto:gams...@googlegroups.com] On Behalf Of Alie Ranjbar
Sent: Monday, April 14, 2014 8:46 PM
To: gams...@googlegroups.com
Subject: Re: Error 149
On Friday, April 11, 2014 5:52:42 PM UTC+4:30, Gabriel wrote:
Dear Renger,
Thanks by your comment. How can i fix the code so :
E(“ARG”, t) =E= M(“USA”, t)
and
E(“USA”, t) =E= M(“ARG”, t)
dear gabriel
you can use in the right side of the equation in the following form:
E(i,t)=e=M(j,t)(ord(i)ord(j))
Best
G.
On Friday, April 11, 2014 2:23:26 AM UTC-3, Renger van Nieuwkoop wrote:
Hi Gabriel
You defined the equation over i,t and then use j,t in the equation itself.
Cheers
Renger
sent from my iPad
Am 10.04.2014 um 22:54 schrieb “Gabriel” :
Hi,
I don´t know how to handle with this error $149. I’m usually able to figure it out but I suppose ultimately I don’t get what the real problem is.
Sets
i country / USA , ARG /
t periods /1400 /
Alias (i,j) ;
==========**=============
EQY(i,t)… Y(i,t) =E= C(i,t) + E(i,t) - M(i,t) ;
EQM(i,t)… M(i,t) =E= mu(i,t)*Y(i,t) ;
EQE(i,t)… E(i,t) =E= M(j,t) ;
$149
Any help will be really appreciated,
Best Regards,
Gabriel
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.