Yeah, but I’m not sure how to formulate the problem in cvx. And I got error message cannot convert the NaN into logical at the claim of variable Q after trying to reformulate the problem into a gp problem as follow. Do you have any suggestions about the error?
As for Geometric Programming, you haven’t shown us your reproducible code. Did you follow the rules in Geometric programming mode — CVX Users' Guide ? You can’t mix code which follows the “regular” CVX DCP rules with code which follows gp rules in one CVX invocation. You have to pick one or the other set of rules and diligently follow those rules (use cvx_begin gp if following the gp rules).