We Can prove that $trace(A(P+Q)^{−1}A^T)$ is a jointly convex function of positive variables $[q_1,q_i,...,q_N]$, where $Q=diag(q_1,...,q_N)$, $q_i>0$,∀i, and $P$ is a positive definite matrix. Convexity of a trace of matrices with respect to diagonal elements
Now I am trying to maximize $trace(A(P+Q)^{−1}A^T)$ and find optimal $q_i$'s, with known $A$ and $P$, and a constraint like $\prod q_i=a$. We also know that $trace(A(P+Q)^{−1}A^T)$ is a decreasing function of $q_i$'s. I there a standard way that I can find the optimal solution? I know that it is maximizing a convex function.