Hi,
I am working on the following optimization problem, and I am still a beginner in CVX. I am getting the problem solved using SDPT3 solver but, failed with MOSEK. I am wondering what would be the reason behind that. Also, when I change the precision to “Low”, MOSEK was able to solve the problem, but not with the exact results .
Could anyone please assist me.
Here is my code:
function [f1,f2,f3,f4,MSE]=MMSE_expanded(H,sigma1,sigma2,sigma3,sigma4,c1,c2,c3,c4)
Idc= 0.5; Il= 0.3; Iu=0.7;
h11=H(1,1:2);
h12=H(1,3:4);
h21=H(2,1:2);
h22=H(2,3:4);
h31=H(3,1:2);
h32=H(3,3:4);
h41=H(4,1:2);
h42=H(4,3:4);
NL=2;
cvx_begin
variable f1(2,1)
variable f2(2,1)
variable f3(2,1)
variable f4(2,1)
V1=(square((h11f1))+square((h11f2))+ square((h12f3))+ square((h12f4))+sigma1);
V2= (square((h21f2))+square((h21f1))+square((h22f3))+square((h22f4))+sigma2);
V3= (square((h31f1))+square((h31f2))+ square((h32f3))+ square((h32f4))+sigma3);
V4= (square((h41f1))+ square((h41f2))+square((h42f3))+square((h42f4))+sigma4);
E1= ((c1)^2)V1-(2c1h11f1)+1;
E2= ((c2)^2)V2-(2c2h21f2)+1;
E3= ((c3)^2)V3-(2c3h32f3)+1;
E4= ((c4)^2) V4-(2c4h42f4)+1;
WSMSE= E1+E2+E3+E4;
%objective function
object= WSMSE;
minimize(object)
%constraints
constraints(1:NL)= (abs(f1)+abs(f2))-[0.2;0.2]; %%% Idc-Il= 200 mA
constraints(NL+1:2*NL)= (abs(f3)+abs(f4)) -[0.2;0.2];
subject to
constraints<=zeros(size(constraints));
cvx_end
MSE=object;
end