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

The local variable `message` wasn't being set in all cases, causing runtime errors.