mohammadreza chamanbaz
unread,Jan 8, 2013, 4:01:04 AM1/8/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yal...@googlegroups.com
Hi
I am trying to solve a H_inf problem for a servo system using Yalmip. When I try to solve LMIs using the command "solvesdp", I get the termination code which is either 5 or 8 but not zero. The solver that I am using is "SDPT3".
The question is how i can modify the code to get zero as termination code?
I have attached the problem data and the code is copied here.
ops = sdpsettings('solver','sdpt3','sdpt3.maxit',5e2);
[n,n]=size(A);
In = eye(n,n);
Inw = eye(1,1);
Ine = eye(2,2);
X = sdpvar(n);
Y = sdpvar(n);
Ah = sdpvar(n,n,'full');
Bh= sdpvar(n,1);
Ch= sdpvar(1,n);
eta =sdpvar(1);
F1 = [X, In;
In, Y] >=0];
F2 = [(A*X + Bu*Ch + X*A' + Ch'*Bu'), (A+Ah'), Bw, (X*Ce' + Ch'*Deu');
(A'+Ah), (Y*A + A'*Y + Bh*Cy + Cy'*Bh'), (Y*Bw + Bh*Dyw), Ce';
Bw', Bw'*Y + Dyw'*Bh', -eta*Inw, Dew';
(Ce*X + Deu*Ch), Ce, Dew, -eta*Ine] <=0];
F=F1+F2;
solvesdp(F,eta,ops);
checkset(F)