I am trying to solve the following problem I came up with:
Let $W = \{(x_1, x_2, x_3, x_4) \in \mathbb{R}^4 : x_1 + x_2 + x_3 + x_4 = 1\}$
Then, for any $p \in \mathbb{R}^4$, what are the $k$ points $\{q_j\}_{j=1}^k$ closest to $p$, where $q_j \in W$
I don't know what to do since, normally I would work with a subspace of $\mathbb{R}^4$ and use orthogonal decomposition. In this case, $W$ is not a subspace of $\mathbb{R}^4$. Eventually, I want to do the same thing, but with the convex subset $V = \{(x_1, x_2, x_3, x_4) \in \mathbb{R}^4 : \sum_{j=1}^4x_j=1, x_j\geq0\}$.