How to keep 0 values at gdx files.

Hello!

When I output gdx file for some of my variables, I found it will ignore 0s, for example:

set i /1*100/, and my variable K(i)=0 or 1. When I output K into gdx file, it only keep those 1s. Is there anyway I can also keep those 0s as an output? Thank you so much for your help!

Best wishes,
Jiayi


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.

HI Jiayi
search in this mailing list for “zero gdx” (and read the guidelines to this forum…)
cheers
Renger

sent from my iPad

On 24 Feb 2016, at 18:20, 罗佳意 wrote:

Hello!

When I output gdx file for some of my variables, I found it will ignore 0s, for example:

set i /1*100/, and my variable K(i)=0 or 1. When I output K into gdx file, it only keep those 1s. Is there anyway I can also keep those 0s as an output? Thank you so much for your help!

Best wishes,
Jiayi


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.