I use CVX to solve the optimization problem, i get
Status: Inaccurate/Solved
Optimal value (cvx_optval): +49297.9
but when i debug the optimization value is
K>> sum(zeta1.*pow_abs(l,3)+p.*T)
ans =
1.7851
Why do inconsistencies occur
I use CVX to solve the optimization problem, i get
Status: Inaccurate/Solved
Optimal value (cvx_optval): +49297.9
but when i debug the optimization value is
K>> sum(zeta1.*pow_abs(l,3)+p.*T)
ans =
1.7851
Why do inconsistencies occur
We have no idea how sum(zeta1.*pow_abs(l,3)+p.*T)
relates to the optimal objective value. Even if that is the objective function, it might not evaluate to the optimal objective value if any of zeta1, p, t
are CVX expressions, as opposed to CVX variables.