We know it isn't a housing problem, but that is what it is being tagged as.
I know it's fiction but in the Star Trek story line, the eugenics wars that led to WWIII are frighteningly where our real life society is today.
In that story line, they round up homeless, and put them in a walled off "housing area" basically a nice prison. It is so overwhelmed with red tape and bullshit it makes it almost impossible to get out, even if you have good intentions and are a non drug user.
Why can't we make that in today's society? Buy an old hotel and when you find "homeless" they get a paddy wagon ride to the hotel. This hotel has rooms, and basic utilities. If you don't like it there tough shit. There is no police, there is no social services, you go there and you are on your own. If you don't want to live there find a place in society.
It should be scary and shitty to be "homeless", but we are handing these people everything they need. Either from the state or from good Samaritans.
Stop wasting resources on these people. Carve out an area for them and if they aren't following the rules of society, drop 'em off in that area.