my coding is below…
set f / bf, ac, sa, ca, tr, ra / ***these elements is actually imported from excel file.
s / 1, 2, 3, 4,/
p / a, b, c, d, e, f… / ***these elements is actually imported from excel file
f_m(f) / bf sa ca / *****these elements is also imported from excel file.
parameters grade(p) / a 2 b 2 c 10 d 15 e 15 f 16 g 10… / *** these elements is actually imported from excel file
…
Binary variables
X(f,s,p) ****if selected 1, otherwise 0
equations
eq6(f,s)
eq7(f,s)
…
eq6(f,s)…
SUM((p), X(f,s,p)) =l= 10
eq7(f,s,p)$f_m(f)… *******
X(f,“1”,p)*grade(p) X(f,“2”,p)*grade(p) *****Q(1) **here, is my question.
…
AboutQ(1)…
I would like to represent “not equal” as on equation.
but, error occured about . maybe, I think gams doesn’t recognize symbol over equation.
I have to represent equation that LHS value must be not equal to RHS value like above described eq7.
How can I represent that ?
Any solution?
Best regards…
–
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.