Constraint on the product of two variable matrices

I am trying to solve the below optimization problem, but I get the below error:
“Only scalar quadratic forms can be specified in CVX”

The code:
variable x(n);
variable A(L,n);
subject to
A*x <= c

While when A is not a variable as in the examples in cvx website it works well.
Your help is very appreciated, and sorry if my question is basic as I am new to convex optimization.

When A and x are both CVX variables, A*x is non-convex. When only one of them is a CVX variable, A*x is convex (as well as concave, since it is affine (linear)).

Read Why isn't CVX accepting my model? READ THIS FIRST! and .

1 Like

Thanks a lot for your reply and suggestions.