1
votes

I'm trying to work with cplex opl and facing an error. I read the manual and googled but I still have no idea what I should do to fix this error due to my lacking of knowledge. Can anyone please help or give me ideas to figure this out? I really need your help.

I am programming a mixed-integer-programming model. I ran the configuration and get this error:

Error 5002: 'NachfrageAusZUgeordnetenDZs#0#0' is not convex

Here is the code of the constraint:

constraint

Can someone tell my why I get this error? Why is the constraint not convex? And how can I change it to make it work?

Thanks in advance for your time and effort!

1

1 Answers