Hello All,

I would like to perform in GAMS the following logical condition: Z(t)=0 if X(t)=0 and Z(t)=1 if X(t)>0, where X(t) is any positive number. The main problem is that due to the limitations of the student version of GAMS I have to define Z(t) as a positive variable rather than the binary one. Do you have any idea how to do that?

Thanks,

–

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?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

\

Hello Dima,

Do I understand your question correct if I rephrase it to: “is it possible to reformulate a model with binary variables to one without binary variables?”

In that case, the answer is “no”.

Kind regards,

Henry Vermue

On Friday, February 15, 2013 8:29:06 PM UTC+1, Dima wrote:

Hello All,

I would like to perform in GAMS the following logical condition: Z(t)=0 if X(t)=0 and Z(t)=1 if X(t)>0, where X(t) is any positive number. The main problem is that due to the limitations of the student version of GAMS I have to define Z(t) as a positive variable rather than the binary one. Do you have any idea how to do that?

Thanks,

–

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?hl=en.

For more options, visit https://groups.google.com/groups/opt_out.

\