alpha_m,n is a relaxed association variable, i.e., if m is associated to n, then its corresponding alpha_m,n = 1, otherwise alpha_m,n = 0 . n = 1 for simplicity.

sigma = [3,3,3,3,3]';
G = [0.4,0.7,0.9,0.5,0.3]';
m = 5;
z = 2;
max = 10;
cvx_begin gp
variables P(m) A(m)
inverseSINR = ((sigma)./(G.*P));
minimize(sum(inv_pos(A).*(log(inverseSINR)/log(2))))
subject to
sum( p) <= Pmax;
A <= 1;
sum(A) <= z;
cvx_end