The statement
e=(zeta*sum(pwr))+Pc-eta*sum(pwr)*(sum(g*(1-alph)));
has a product between the variables pwr
and alph
. That is a non-convex formulation. Have you proven the overall model is convex? if so, how.
I will mark this question as non-convex until such time you show otherwise.