[urgent] Illegal operation: rel_entr( {convex}, {convex} )

You can use log(cvx_expression)/log(2) in place of log2(cvx_expression).

However, the argument of log and the 2nd argument of rel_entr must be concave. if they are not, perhaps your problem is not convex?