Decent, long-term medical facilities.
The problem is that solution is expensive. It's way cheaper to simply move the problem somewhere else (jail, different neighborhood, etc.) than fix it.
In addition, it has odd failure modes. You want to create a cluster of people to amortize the healthcare costs. However, your treatment options generally want your homeless to be separated as much as possible. The standard treatment for drug addiction generally starts by separating the patient from those who also do drugs or who provide access to drugs, for example.
The reason we don't house the homeless is a percentage of them destroy whatever is given to them. So, use the treatment process to get them well first.
https://www.theguardian.com/cities/2019/jun/03/its-a-miracle...
Stable independent living only matters once a person is sober and sane enough to use it.
Every participating hotel reported substantially above-average damage to hotel property (meaning, above the normal damage caused by non-homeless hotel guests), most participating hotels reported bed bug infestations that cost tens of thousands to eliminate. That doesn't include the dozens of suicides, murders, and rapes that took place at participating hotels.
TLDR: it turns out that housing isn't actually the solution to homelessness, because for most of LA's homeless, homelessness is just a symptom of untreated mental illness or uncontrolled drug use.