Given a set $Q$ of $n$ points, we want to find the subset $S_\max \subset Q$ of $k$ elements that maximize the total distance between them.
$$S_\max = \max_S \sum_{\substack{ i,j\in S\\ i \neq j}} d(x_i,x_j)$$
where in my case $x_i$ is a boolean vector and the distance considered is the Manhattan/Hamming distance.
Is there any efficient way to solve this problem? Is it possible to rewrite it in another simpler way?