I am attempting to maximize a positive semidefinite quadratic form over the standard simplex.
Given a symmetric positive semidefinite (Hessian) matrix $A \in \Bbb R^{d \times d}$ and a matrix $W \in \Bbb R^{d \times n}$,
$$\begin{array}{ll} \underset{z \in \Bbb R^n}{\text{maximize}} & z^\top W^\top A W z\\ \text{subject to} & \Bbb 1_n^\top z = 1\\ & z \geq \Bbb 0_n\end{array}$$
where $z_i \in [0,1]$ is a probability value used to proportionally weight each column of $W$.
I tried to solve this problem by utilizing the fact that given a constraint $z^\top z = 1$, the $z$ that maximizes $z^\top W^\top A W z$ is the first eigenvector of the matrix $A$. But I'm not sure whether this is the right way.
Thank you.