Disciplined convex programming error: Illegal operation: {convex} - {convex}

Hello!

I was wondering if anybody can tell me how I can deal with the convex in the CVX The problem is that CVX declares the following error:“Disciplined convex programming error: Illegal operation: {convex} - {convex}”

Thank you in advance!

First tip: have you proven your problem is a convex optimization problem?

Carefully read Why isn't CVX accepting my model? READ THIS FIRST!

If you still need help after that, you need to provide us more information, such as showing us the problem you want to solve, and the code and input data which triggered the error message.

1 Like