The goal is to solve the following maximization/minimization problem:
\begin{align*} &\max_y/\min_y y^TQy\\&\text{s.t.}(y-x)^\top V(y-x)\le\beta^2\end{align*} where the optimization variable $y\in\mathbb R^{n}$ and the constant vector $x\in \mathbb R^n$. Matrices $Q\in \mathbb R^{n\times n}$ and $V\in \mathbb R^{n\times n}$ are positive definite matrices. $\beta>0$ is a constant.
How to obtain the analytical expression of the optimal solution $y$ (non-trivally)?
It seems that the method in Maximizing a linear function over an ellipsoid does not work well.