```
cvx_begin
variables C_NRC_L(L,N_RC) z ;
[tau_av,hitratio_av] = TAU_AV(z, C_NVC1_L,C_NVC2_L,C_NRC_L,S_q,Gamma(1));
Cost_av = COST_AV(z,C_NVC1_L,C_NVC2_L,C_NRC_L,S_q,Gamma(1));
tau_Cost_av=tau_av/tau_max+Cost_av/Cost_max;
minimize tau_Cost_av
subject to
C_NRC_L <= 1;
C_NRC_L >= 0;
[ones(1,L)*C_NRC_L]'<= S_R*ones(N_RC,1);
cvx_end
```

Part of the code of TAU_AV：

```
for q_l=1:L
for j=1:N_VC1
for i=1:N_RC
c_ml_RC=C_NRC_L(q_l,i);
{sum(C_NRC_L(q_l,:)),1,z} == exponential(1);
c_ml_RC_sum=inv_pos(1+exp(-200*(z-0.5)));
C_iml1(j,i)=(1-c_il_VC1)*c_il_VC1_sum*C_VV+(1-c_il_VC1_sum)*(c_ml_RC*C_RV+(1-c_ml_RC)*c_ml_RC_sum*C_RCV+(1-c_ml_RC_sum)*C_BV);
end
end
...
...
end
```

sum(C_NRC_L(q_l,:))

ans =

```
cvx real affine expression (scalar)
```

CVX Warning:

Models involving “exponential” 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.

The function’newcnstr’ corresponding to input parameters of type’cvxtuple’ is not defined.

Error == (line 3)

b = newcnstr( evalin(‘caller’,‘cvx_problem’,’[]’ ), x, y,’==’ );

Error TAU_AV (line 65)

{sum(C_NRC_L(q_l,:)),1,z} == exponential(1);

Error CachingwithZipfgamma (line 99)

[tau_av,hitratio_av] = TAU_AV(z, C_NVC1_L,C_NVC2_L,C_NRC_L,S_q,Gamma(1));

## CVX: Software for Disciplined Convex Programming ©2014 CVX Research

Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

```
Installation info:
Path: F:\matlabnewtoolbox\cvx2.2-w64\cvx
MATLAB version: 9.5 (R2018b)
OS: Windows 10 amd64 version 10.0
Java version: 1.8.0_152
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
F:\matlabnewtoolbox\cvx2.2-w64\cvx\sedumi\.travis.yml
These omissions may prevent CVX from operating properly.
WARNING: The following extra files/directories were found:
F:\matlabnewtoolbox\cvx2.2-w64\cvx\gurobi\w64\grbprobe.exe.lnk
F:\matlabnewtoolbox\cvx2.2-w64\cvx\gurobi\w64\gurobi(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\gurobi\w64\gurobi90(2).dll
F:\matlabnewtoolbox\cvx2.2-w64\cvx\lib\cvx_bcompress_mex(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\lib\cvx_eliminate_mex(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\mosek\w64\mosek64_9_1(2).dll
F:\matlabnewtoolbox\cvx2.2-w64\cvx\mosek\w64\mosekopt(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\sdpt3\Solver\Mexfun\mexMatvec(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\sdpt3\Solver\Mexfun\mexexpand(2).mexw64
F:\matlabnewtoolbox\cvx2.2-w64\cvx\sdpt3\Solver\Mexfun\mexnnz(2).mexw64
(and 3 more files)
These files may alter the behavior of CVX in unsupported ways.
Preferences:
Path: C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\cvx_prefs.mat
```

Is the warning of CVX2.2 normal?