
How to write the constraint attached in cvx matlab
If that is affine, it is straightforward, and is doable by any of the methods described in Semidefinite programming mode — CVX Users' Guide .
if it is not affine, then it is not convex, unless it can be transformed to an affine problem.
But you haven’t told us what symbols are. Which are input data? Which are optimization variables or expressions (functions) of optimization variables?
the variables are defined as following:
beta, t, W1 and W2 are the optimization variables.
g is input data