This is really less of an unsolvable problem than people make it out to be - it's just that most of the discussion you hear about it is from the political parties both of which benefit from its existence and, especially, the incumbents who have a much more secure seat with careful district drawing to make sure you don't get too many progressives that might vote out a centrist (or ditto on the other side)
1. https://www.scientificamerican.com/article/the-mathematician...