Could you please let me know how I can write a code for if clause?
I am trying to write a code for
Yi={1 if factory is operating in period t ,
0 otherwise}
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.
For more options, visit https://groups.google.com/groups/opt_out.
Deniz,
An effective first step is:
https://www.google.com/search?q=gams+if+statement
More generally, for TOPIC, google search
“mccarl gams user guide TOPICâ€
Or
“gams documentation TOPICâ€
Faster than asking the list, and reduces list traffic.
Good luck!
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of deniz
Sent: Sunday, November 24, 2013 2:58 PM
To: gamsworld@googlegroups.com
Subject: If and otherwise GAMS CODE
Could you please let me know how I can write a code for if clause?
I am trying to write a code for
Yi={1 if factory is operating in period t ,
0 otherwise}
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.
For more options, visit https://groups.google.com/groups/opt_out.
–
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/groups/opt_out.