Here, S is a given matrix, T is a known positive number

D is a known column vector

Lets say, K=32768 and T=4

```
cvx_begin
variable x(K,1) integer
minimize( power(2,norm(D.'-V,2)) )
subject to
V == (1/T)*sum(S.*x);
sum(x)== T;
cvx_end
```

I am using MOSEK and Get an error as “Invalid variable specification: x(K,1)integer”