Originally posted by: workman
Hello,everyone
Could someone please help me how to solve the next problem?
B_i_j, e_i_j and t are integer variables (b_i_j<e_i_j), q_t_i_j is a binary variables, I want to achieve
when b_i=<t<=e_i, get q_i=1.
So I added constraints to Cplex(version 12.6.2):
{(e[i][j]-t) * (t-b[i][j]) <=q[t][i][j]*M;} (M is a sufficiently large number)
Running results show that:error5002,q16535, is not convex , the other constraint conditions tested, no problem.
What should i do, or how to change the constraints?Thanks in advantage!
the constrain is not positive semidefinite express, i change the constrain again like this(t-b[i][j])*(t-b[i][j])>=1-q[t][i][j],but the error message show again.
#CPLEXOptimizers#DecisionOptimization