for k=1:1e4
x = sdpvar(n,1,'full','complex');
t = sdpvar(1,1,'full');
[y,A,a] = data;
Objective = t;
c1 = norm((y.' + A*x),'inf') <= t
c2 = norm(B*x+a.') <= b* norm(a.');
c3 = norm(y.'+A*x) <= c;
solvesdp([c1,c2,c3],Objective,options)
end
for k=1:1e4
yalmip('clear')
x = sdpvar(n,1,'full','complex');
t = sdpvar(1,1,'full');
[y,c,A,a] = data...
Objective = t;
c1 = norm((y.' + A*x),'inf') <= t
c2 = norm(B*x+a.') <= b*norm(a.');
c3 = norm(y.'+A*x) <= c;
solvesdp([c1,c2,c3],Objective,options)
end
x = sdpvar(n,1,'','complex');
t = sdpvar(1,1);
yp = sdpvar(1,m,'','complex');
cp = sdpvar(1);
Ap = sdpvar(m,n,'full','complex');
ap = sdpvar(1,r,'','complex');
bnorma = sdpvar(1);
c1 = norm((yp.' + Ap*x),'inf') <= t;
c2 = norm(B*x+ap.') <= bnorma;
c3 = norm(yp.'+Ap*x) <= cp;
P = optimizer([c1,c2,c3],t,sdpsettings('solver','mosek'),{yp,cp,Ap,ap,bnorma},x);
for k=1:1e4
[y,c,A,a] = data...
[xsolution,diagnostics,~,~,P] = P{{y,c,A,a,b*norm(a.')}};
if diagnostics
error('Fail!')
end
end