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.

\