Being homeless, mentally ill, and having a long criminal rap sheet, sounds like a recipe for no solution, to fix the problem, except for incarceration.  There must also be, illegal drugs & alcohol involved.

Treating this category of criminal, with kid gloves, would be a waste of time.