Cannot perform the operation norm( {mixed convex/affine}, 2 )

The inequation constrained condition:

\frac{1}{a}real\left( c_{1}^{H}vec\left(W_1\right)+c_{2}^{H}vec\left(W_2\right)\right)>=\sqrt{|c_3^{H}vec\left(W_1\right)|^{2}+|c_4^{H}vec\left(W_2\right)|^{2}+||W_1c_5||^{2}_2+||W_{2}c_6||^{2}_2}

where $vec\left(*\right)is the vectorization operator that stacks the columns of a matrix on top of one another. {c_1,c_2,c_3,c_4} is (9,1), {c_5,c_6} is (3,1) ,{W_1,W_2}$ is (3,3)

here is the code

1/a*real(c1'*reshape(w1,[],1)+c2'*reshape(w2,[],1)) >= norm([c3'*reshape(w1,[],1) c4'*reshape(w2,[],1) norm(w1*c5) norm(w2*c6)])

Result on matlab give:

Disciplined convex programming error:
Cannot perform the operation norm( {mixed convex/affine}, 2 )

How should i do? Thank you for devoting your time! .

FAQ: Why doesn’t CVX accept my problem? [READ THIS FIRST]

Hello, is it resolved?

The resolution is to only use affine expression as the argument of norm.

The specific solution to your (@clm) problem is at Help:cvx codes about convex