Many solutions. Our universe is very big and expanding, so if we thought of some good ideas, we would probably find a way to make a home on a new planet.
That would take years, but imo homosexuality has always been around, it's a gene, and the more homosexuals use surrogates and all, the more homosexuals produced. The greater homosexual population will be nature's own form of population control.