误使用 cvx/rel_entr
Disciplined convex programming error:
Illegal operation: rel_entr( {convex}, {convex} ).
出错 SCAtra (第 72 行)
Fiuc_gcl=rel_entr(1+sum(sum(sensorsjammer_gg)+sum(sum(jammerInter_g)),sum(sum(sensorsjammer_gg))+sum(sum(jammerInter_g)))+rel_entr(sum(sum(sensorsjammer_gg))+sum(sum(jammerInter_g)),1+sum(sum(sensorsjammer_gg))+sum(sum(jammerInter_g)));
in fact I wan to write the line "Fiuc_gcl=log2(1+sum(sum(sensorsjammer_gg)
+sum(sum(jammerInter_g)));"but there is no log2 function in CVX,then I change the form above using rel_entr function ,which made a error.
Who can help me to solve this problem!!!
It’s urgent.