When handling a constraint, if your CVX program displays this error, how should you modify the error? I hope to get your help, thank you.
my code:
and the warning
When handling a constraint, if your CVX program displays this error, how should you modify the error? I hope to get your help, thank you.
my code:
The RHS of the 2nd constraint is concave, and therefore that constraint is non-convex, if gesi_ES*tao/f_ES
is positive. That is because duishu2
is concave.
But perhaps, as part of the SCA, you intended Pm
, rather than pm
, to be used in the RHS of duishu2 =
, That would make that 2nd constraint affine, and acceptable to CVX. But if you did that, the next “constraint” would only involve constants (input data), and therefore not even be processed by CVX at all (it would cause MATLAB to print either true or false, but with no impact on the CVX problem). So bottom line, you need to rethink or fix your SCA, if it is even viable at all.
The warning can be ignored. it is printed even when not applicable, such as when Mosek is used as solver.