Cannot perform the operation: {mixed real affine/complex affine} ./ {real affine}

I don’t know why Qk1 is not also producing an error message. Apparently, because of `

disp((Wk/gamma_tar-Wi)')
cvx zero expression (scalar)

But I don’t understand why that is happening.

Anyhow, have you proven your optimization problem is convex?