使用 cvx/min 时出错第 208 行有纪律的凸编程错误:无效计算:min( {convex} )

问题描述

我的代码

cvx_begin
    variable Q_new(N,2)
    gama0 = P * db2pow(row0) / sigma2;
%     R = zeros (K,1) ;
    expression R(K,1);
    expression r;
for i = 1 :1: K
      for n = 1:1: N
        r = r + a(n,i) * ( (-gama0 * log2(exp(1)))/(H^2 + sum_square_abs(Q(n)-X(i)))/...
        (H^2 +  sum_square_abs(Q(n)-X(i)) + gama0) *...
        ( sum_square_abs(Q_new(n)-X(i))- sum_square_abs(Q(n)-X(i)) )...
        + log2(1 + gama0/(H^2+ sum_square_abs(Q(n)-X(i)))) );
      end
    R(i) = r;
end
    eta_lb = min (R);
    maximize eta_lb
    subject to
        norms(Q_new(2:N)-Q(1:N-1),2,2) <= Smax^2 ;
        Q_new(1) == Q_new(N);
cvx_end

错误

Error using cvx/min (line 208)
disciplined convex programming error:
Invalid computation: min( {convex} )

Error in main (line 123)
    eta_lb = min (R);

我知道我的问题是凸的并且存在解决方案 凸性证明在这图片proof of covexity

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)