I have an objective function as follows
$\underset{x_{m,n}}{\max}\hspace{1mm}\hspace{1mm}\sum_{m=1}^{M}\log_2\left(\frac{\sum_{n=1}^{N}(1-x_{m,n})\omega_{m,n}+z}{\sum_{n=1}^{N}x_{m,n}\omega_{m,n}}\right)$
Here, $x_{m,n}$ are optimization variables which are binary.
How can I transform this objective into a linear/convex function?
Thoughts:
Due to monotonicity of the logarithmic function, as well making use of logarithm rule for multiplicative terms, we can transform the problem as
$\underset{x_{m,n}, t_m,\beta_m }{\max}\hspace{1mm}\hspace{1mm}\prod_{m=1}^{M}t_m$
Consequently, the following constraints will be added to the system.
$\sum_{n=1}^{N}(1-x_{m,n})\omega_{m,n}+z\ge t_m\beta_m$
$\beta_m\ge \sum_{n=1}^{N}x_{m,n}\omega_{m,n}$
Am I doing it right?
$ \text{What are the steps forward?}$
$\bf \text{EDIT:}$ (According to Johan Löfberg's answer )
$\underset{x_{m,n}, y_{m,n},z_{m,n}}{\max}\hspace{1mm}\hspace{1mm}\sum_{m=1}^{M}\log_2\left(y_{m}\right)$