Some elements of s_k
are norm of something (if those assignments don’t trigger error messages, then the something
must be affine, but I haven’t spent the time to verify that). So s_k
is convex, but not affine.
So norm(s_k...)
is a norm of a norm, which is not allowed by CVX. Have you verified that it is convex? if so, a reformulation would be needed.