Condition on variables

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 7 years ago

Condition on variables

Post by Archiver »


Hello all,

How can I define condition on the variables in the equations section. Because when I use the dollar sign, GAMS says you are not allowed to add condition on an endogenous variable!

Tnx

--
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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: Condition on variables

Post by Archiver »


In doing so, you should determine your intended attribute of the endogenous attribute (for example, varname.m or varname.l)

On Mon, Feb 15, 2016 at 6:37 PM, wrote:

Hello all,

How can I define condition on the variables in the equations section. Because when I use the dollar sign, GAMS says you are not allowed to add condition on an endogenous variable!

Tnx

--
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 https://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 https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Post Reply