q not positive semi-definite

Hello GAMS friends!

Any idea why CPLEX gives me the 5002 error (q not positive semi-definite) because of this set of constraints?

constraint_d5(i,q)$(arc5(i,q) and NN2(q))… d5(i,q)d5(i,q) =e=(xa(i)- xst)(xa(i)- xst) + ya(i)*ya(i);

Both d5, xa, xst, ya are variables.

I am stuck with this error. I haven’t found any help on the web :frowning:

Thanks in advance!

Fede


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.

\

If you have a nonlinear equality, then your model cannot be convex. That is why you get complaint about the model being nonconvex.


Den tirsdag den 9. juli 2013 20.59.09 UTC+2 skrev fedperea:

Hello GAMS friends!

Any idea why CPLEX gives me the 5002 error (q not positive semi-definite) because of this set of constraints?

constraint_d5(i,q)$(arc5(i,q) and NN2(q))… d5(i,q)d5(i,q) =e=(xa(i)- xst)(xa(i)- xst) + ya(i)*ya(i);

Both d5, xa, xst, ya are variables.

I am stuck with this error. I haven’t found any help on the web :frowning:

Thanks in advance!

Fede


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.

\