How do you solve the log2 problem

Mosek warned about very large and near zero input data. You need to rescale the problem (change units) so that non-zero input data is within a small number of orders of magnitude of one. You should scale well enough to not get any Mosek warning messages. But you should try to scale even better than just enough to not get Mosek warnings.

In the future, please copy and paste text using the Preformatted text icon, rather than showing us an image.

You should also use the latest version of Mosek 10.x, rather than 9.1.9 which is bundled with CVX. In order to do so, follow the directions in