I was trying to find matrix V optimal:
n = 51;
variable V(n,n) hermitian toeplitz
maximize ( abs(trace(R * V)) )
diag(V) == 1
V == hermitian_semidefinite( n )
where R is a n*n complex matrix generated before.
After running the program, I received error message saying that:
“Error using type”
“Too many output arguments”
“Error in maximize( abs(trace(R * V)) )”
But when I change the “maximum” to “minimum”, I can get an optimal value of V.
Can someone help me solve this problem?