The Optimal Solution to an Impossible Problem