My program:

cvx_solver sedumi

cvx_begin

variable PEGU(length(y1));%length(y1)=40513

variable PB(length(y1));

variable E(length(y1)+1);

variable nb;

expression Vqihao(length(y1));

expression Jsunhao(length(y1));

expression dE(length(y1));

expression Tm1(length(y1));

expression Pr(length(y1));

Tm1=(delta11*(m+4.5*nb). a+(m+4.5nb)gdelta+CD*A/21.15

*y1.^2)*dE.^2+p02

*r/2/i0;*

Pr=max(Tm1.

Vqihao=max(Vqihao111,Vqihao222);

Jsunhao=p00+p01nb+p20Pr=max(Tm1.

*yata1,-30);%Pr=max(Tm1.*10^(-5)*yata1,-30/0.94);*

dE=E(2:length(y1)+1)-E(1:length(y1));

Vqihao111=8.6510^(-5)dE=E(2:length(y1)+1)-E(1:length(y1));

Vqihao111=8.65

*PEGU;*

Vqihao222=0.0001685PEGU+8.65Vqihao222=0.0001685

*83.4220-(0.0001685*83.4220-0.007009)-0.007009;Vqihao=max(Vqihao111,Vqihao222);

Jsunhao=p00+p01

*nb.^2+pp00+pp10*abs(dE)+pp01

*nb;*

minimize(sum(cfVqihao)+sum(Jsunhao)+ce*(SOC0-SOCf)

minimize(sum(cf

*nb*Qb

*3.2/1000);*

subject to

E(1)==C/2nb*(pp(1)

subject to

E(1)==C/2

*SOC0+pp(2))^2;*

E(length(y1)+1)==C/2nb*(pp(1)

E(length(y1)+1)==C/2

*SOCf+pp(2))^2;*

Pr<=PB+PEGU;

0<=PEGU<=109.4;

140<=nb<=260;

(Imingeo_mean([2/C

Pr<=PB+PEGU;

0<=PEGU<=109.4;

140<=nb<=260;

(Imin

*E(1:length(y1)),nb*ones(length(y1),1)],2)-R

*Imin^2*nb)/1000<=PB<=E(1:length(y1))/2/R/C/1000;

1000

*C*PB-Imax^2

*R*C

*nb-Imax*geo_mean([2

*C*(nb

*ones(length(y1),1)),E(1:length(y1))-2000*R

*C*PB],2)<=0;

C/2

*nb*(pp(1)

*SOCmin+pp(2))^2<=E<=C/2*nb*(pp(1)

*SOCmax+pp(2))^2;*

geo_mean([E(1:length(y1)),E(1:length(y1))-2000R

geo_mean([E(1:length(y1)),E(1:length(y1))-2000

*C*PB],2)>=3600

*R*Qb/pp(1)*dE+E(1:length(y1));

cvx_end

The result:

iter seconds digits c*x b*y

89 463.1 4.2 -5.5899036462e+01 -5.5902928336e+01

|Ax-b| = 7.3e-07, [Ay-c]_+ = 5.0E-11, |x|= 2.3e+03, |y|= 1.6e+07

## Detailed timing (sec)

Pre IPM Post

2.669E+02 3.291E+02 4.400E-01

Max-norms: ||b||=3.670000e+00, ||c|| = 260,

Cholesky |add|=2, |skip| = 1, ||L.L|| = 13397.2.

Status: Inaccurate/Solved

Optimal value (cvx_optval): +61.3584

I want to know why the result is Inaccurate/Solved and how I can do for this question.

Thank you.