```
x=[
-1.10 -0.55
0.40 -0.82
-0.96 1.11
0.17 -0.61
-1.97 -0.25
-0.74 -0.27
]
y=[2, 2, 2]
A = full(A);
sum=0;
cvx_begin
variable A(3,6)
minimize(sum)
subject to
for i=1:2
Ax=A*x(:,i);
sum=sum-Ax(y(i))+log(exp(Ax(1))+exp(Ax(2))+exp(Ax(3)));
end
sum=sum+3*norm(A,1);
cvx_end
```

I have no idea how to minimize the “sum” here, the result seems to take the sum=0 which is defined before cvx operation…