Humanity already has the means and resources to eliminate poverty, starvation, and homelessness on a global scale. However, it requires the resolve to do so, and at this point, that determination seems absent, as inequality continues to grow. I wish it weren't the case.
You cannot solve homelessness. Most homeless are mentally ill and/or addicted to drugs. They want to be homeless or are unable to function in a home.
The only real solution would be to have mental institutions again. The problem is "care in the community" is what we have now.