if q
and c
are both variables, that is non-convex. If only one of them were a variable, it would be possible to formulate in CVX.
if q
and c
are both variables, that is non-convex. If only one of them were a variable, it would be possible to formulate in CVX.