Hello,
Is there a way to express the following constraint on cvx subject to section?
![]()
You haven’t told us what c_i(t) means.
Nevertheless, variables, whether they be scalars, vectors, matrices, or n-d arrays, can be declared binary.
Here is a simplified situation to illustrate.
variable c(n) binary
sum(c) <= 1 % note that this is the same as ones(n,1)'*c <= 1
I have no idea what all your indexing is, so I’ll let you deal with that.
My cvx does not support binary variables.I get the SDTP3 does not support integer variables error.
c_i(t) is a coefficient subvector N_i x 1 and i want it to be 1 at most once cause i want to extract at most one column from the matrix he is assosiated with.
You will need CVX and solver (Mosek or Gurobi) combination which supports binary and integer variables.
Hello, I would like to ask how to calculate the time complexity of KKT solution.Thank you very much.