BUG: Handle the case where status != 2

The local variable `message` wasn't being set in all cases, causing runtime errors.
Merge pull request #3888 from perimosocordiae/patch-6

BUG: optimize: In _linprog_simplex, handle the case where the status returned by _solve_simplex is not 0 or 2.