CVX optimization of semidefinite relaxation (SDR) with complex matrix
조회 수: 14 (최근 30일)
이전 댓글 표시
I need to optimize the following semidefinite relaxation problem
Here is my code with CVX tool
where N is the size of matrix W. There is an error say "Expressions in objective functions must be real." I don't know how to solve it.
댓글 수: 0
답변 (1개)
Shivani Dixit
2022년 8월 24일
Hello,
From the code provided it seems that you are calculating the traces of a complex valued matrix and then comparing it with some value. To my understanding such an operation is not meaningful since complex comparison is not valid.
If this is the case you need to ensure that the values are real before comparison.
If this is not the case please do let me know the values that your matrix is using to figure out the issue.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!