'Test the optimal inaccurate status.'

def test_inaccurate(self):

    x = Variable(5)
    prob = Problem(Maximize(sum_entries(sqrt(x))), [(x <= 0)])
    result = prob.solve(solver=SCS)
    self.assertEqual(prob.status, OPTIMAL_INACCURATE)
    assert (result is not None)
