I want to solve the following problem

x is a vector of binary variables and b is a static vector of constants

minimize sum(1/(x.*b))

subject to

sum((x.*b).^2)/(sum(x.*b))^2 >= epsilon

I want to solve the following problem

x is a vector of binary variables and b is a static vector of constants

minimize sum(1/(x.*b))

subject to

sum((x.*b).^2)/(sum(x.*b))^2 >= epsilon