No integer solution

Hi GAMS world,
I have a problem in my model. In my model, there are variables P(k) which I ordered them into descending order, some variables which equal to each other are neighboring. In order to recognize equal variables easily, I introduce binary variables a(k) and equations:

( ( P(k) - P(kpi) - EPSILON ) * ( 1-a(k)-EPSILON ) )$(ord(k) P(kpi), then a(k) =1. However, after I introduce the equations the GAMS cannot find integer solution. I am confused.

Can anyone find out whats wrong?
Thanks,
Dylan


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.

I have already found the solution, thank you.

在 2013年8月13日星期二UTC+8下午8时00分16秒,Dylan Lan写道:

Hi GAMS world,
I have a problem in my model. In my model, there are variables P(k) which I ordered them into descending order, some variables which equal to each other are neighboring. In order to recognize equal variables easily, I introduce binary variables a(k) and equations:

( ( P(k) - P(kpi) - EPSILON ) * ( 1-a(k)-EPSILON ) )$(ord(k) P(kpi), then a(k) =1. However, after I introduce the equations the GAMS cannot find integer solution. I am confused.

Can anyone find out whats wrong?
Thanks,
Dylan


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.

\