Hi all,
I have two sets R = {r1, r2, … , r10} and G = {g1, g2, … , g10}. For all g in G, g is either a 1 or a 0.
I want to write:
if g1 =0 and g2 = 0, then r1 = 0, or something similar for each element in G and R.
I think I write it like this: r1$(g1=0 AND g2=0)=0.
But I keep getting errors. Also, I’m not sure if this expression should be listed as a parameter or as an equation. Any ideas?
Thanks,
Kevin
–
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.
\
hi,
“r1” is member of Set. So, why you want to assign zero value?!
r1$(g1=0 AND g2=0)=0
The above term is completely wrong!
From: Kevin Merfeld
To: gamsworld@googlegroups.com
Sent: Friday, May 31, 2013 7:42 PM
Subject: Help with conditional formatting
Hi all,
I have two sets R = {r1, r2, … , r10} and G = {g1, g2, … , g10}. For all g in G, g is either a 1 or a 0.
I want to write:
if g1 =0 and g2 = 0, then r1 = 0, or something similar for each element in G and R.
I think I write it like this: r1$(g1=0 AND g2=0)=0.
But I keep getting errors. Also, I’m not sure if this expression should be listed as a parameter or as an equation. Any ideas?
Thanks,
Kevin
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.
\