Hello,

I need to check dual variables associated with second-order cone (SOC) constraint. For SOC constraint i am using ‘complex_lorentz()’ function. I am not able to associate the dual variable with the ‘complex_lorentz()’ function, here i am getting error. Error message is

```
??? Error using ==> cvxdual.colon at 17
Cannot assign a dual variable to a composite constraint.
Error in ==> test_SOCP at 18
z : {A*x+b, c*x+d} == complex_lorentz(2);
```

Example, Matlab code:

```
A = abs (rand (2,2));
b = abs (rand(2,1));
c= abs (rand(1,2));
d = rand(1);
cvx_begin
variable x(2,1) complex;
dual variable y;
dual variable z;
variable t;
minimize (t);
subject to
% SOC constraints
z : {A*x+b, c*x+d} == complex_lorentz(2);
y : {x, t} == complex_lorentz(2);
cvx_end
```

Thanks