Seattle had a pilot program where they offered apartments to the homeless--no strings attached. They saved money, and their tenants drank less, among other improvements. I believe Utah also adopted this approach, with a very high success rate.