Surely it would be just as effective to pay the homeless that money directly!
Just handing over that money to people about to be homeless would do far more than paying administrators to badly run a shelter that homeless avoid because they get all their shit stolen regularly.
1) homeless will want this, and move by themselves
2) other state and city governments will dump homeless on San Francisco as a cheap way to "solve" the problem in their city.