made linprog consistent with the other solvers