I can’t figure out why the result I get has status inaccurate/solved.
I have the following optimization problem:
I have formulated the above optimization problem as follows:
T=0.1;
B=10^6;
K= 2;
N= 2;
NumberOfUsersInSubcarrier (1:N)=0;
NOMA_max = 2;
UE_SCid (1:K) = 0;
R_max = 140;
L = 15 * 10^4;
B_sub = B/N;
z = 10^-28; % effective capacitance coefficient
C = 10^2; % number of CPU cycles required per bitfor i=1:K
CG (i) = complex(randn(1),randn(1))/sqrt(2); % exponential random distribution with mean value 1
endfor i=1:K
SC_id = randi(N);
while (NumberOfUsersInSubcarrier(SC_id)>=NOMA_max) % each SBS can serve up to NOMA_max_users*N users
SC_id = randi(N);
end
NumberOfUsersInSubcarrier(SC_id)=NumberOfUsersInSubcarrier(SC_id) + 1;
UE_SCid (i) = SC_id; % save the UE’s subcarrier
endcvx_begin
variable p(2)
variable l(2)
variable r(2)minimize sum(z*C^3*pow_p(l,3)/T^2+p*T) subject to r >= (L-l)./(B_sub*T) % Rate constraint p >= 0 % Power constraint l >= 0 % Local data constraint 1 l <= L % Local data constraint 2 % MAC contraints r(1) <= log(1+p(1)*norm(CG(1))^2) r(2) <= log(1+p(2)*norm(CG(2))^2) r(1)+r(2) <= log(1+p(1)*norm(CG(1))^2 + p(2)*norm(CG(2))^2)
cvx_end
After running the problem I get the following message result:
>> cvx_code
CVX Warning:
_ Models involving “log” or other functions in the log, exp, and entropy_
_ family are solved using an experimental successive approximation method._
_ This method is slower and less reliable than the method CVX employs for_
_ other models. Please see the section of the user’s guide entitled_
_ The successive approximation method_
_ for more details about the approach, and for instructions on how to_
_ suppress this warning message in the future._
_ _
Successive approximation method to be employed.
_ For improved efficiency, SDPT3 is solving the dual problem._
_ SDPT3 will be called several times to refine the solution._
_ Original size: 29 variables, 10 equality constraints_
_ 3 exponentials add 24 variables, 15 equality constraints_
-----------------------------------------------------------------
_ Cones | Errors |_
Mov/Act | Centering Exp cone Poly cone | Status
--------±--------------------------------±--------
_ 2/ 2 | 7.550e+00 4.276e+00 0.000e+00 | Inaccurate/Solved_
_ 2/ 2 | 2.650e+00 4.322e-01 0.000e+00 | Solved_
_ 2/ 2 | 9.921e-02 6.676e-04 0.000e+00 | Solved_
_ 2/ 2 | 1.059e-02 7.579e-06 0.000e+00 | Solved_
_ 0/ 0 | 1.288e-03 0.000e+00 0.000e+00 | Inaccurate/Solved_
_ 0/ 0 | 1.268e-04 0.000e+00 0.000e+00 | Inaccurate/Solved_
_ 0/ 0 | 1.752e-04 0.000e+00 0.000e+00 | Inaccurate/Solved_
-----------------------------------------------------------------
Status: Inaccurate/Solved
Optimal value (cvx_optval): +67.8698
Can someone please help me with what might be the cause of the Inaccurate/Solved status and what should I do in order to reach a solved status?