Really need your help

Uncategorized
Jul 23, 2022
T

Hello everyone! Really need your help!
the error said “Disciplined convex programming error:
Cannot perform the operation: {real affine} .* {convex}”,


a(t,i)*T(t,i) is wrong, a(t,i) is a variable and T(t,i) contains another variable b (t,i), what should i do so that the code can continue to run?

M

You haven’t provided enough details of your problem for us to determine whether your optimization problem is convex, and can be reformulated for CVX. So have you proven this is a convex optimization problem?

T
Replying to #2

thank you, mark, i will confirm the problem