Hi,
I want to model this condition in gams:
if (x1+x2+x3+x4 >= 2) then (x5+x6+x7+x8+x9+x10>= 3)
all the xi variable are binary variables.
Thanks
Best Regards,
A. Yazdanbakhsh
\
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
Hi Amir
try to modify your model using approaches for these kind of constrain.
you Can’t use “if” in your model. it’ not related to GAMS. it’s
related to your modeling.
best
On 3/18/12, Amir Yazdanbakhsh wrote:
Hi,
I want to model this condition in gams:
if (x1+x2+x3+x4 >= 2) then (x5+x6+x7+x8+x9+x10>= 3)
all the xi variable are binary variables.
Thanks
Best Regards,
A. Yazdanbakhsh
–
“gamsworld” group.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to
gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gamsworld?hl=en.
– Babak Saleck Pay M.Sc Socio-Economic System Engineering Group of Industrial Engineering University of Tehran Tehran,Iran
Hi Amir,
On Mar 18, 11:39 am, Amir Yazdanbakhsh
wrote:
Hi,
I want to model this condition in gams:
if (x1+x2+x3+x4 >= 2) then (x5+x6+x7+x8+x9+x10>= 3)
all the xi variable are binary variables.
This is probably a question best asked during office hours, at the
beginning of class, or on the Piazza forum for our class.
Thanks.
-Jeff Linderoth, Professor
Dept. of Industrial and Systems Engineering
University of Wisconsin-Madison
O: 608-890-1931
http://www.engr.wisc.edu/ie/faculty/linderoth_jeffrey.html
\