'Test vector LP problems.'

def test_vector_lp(self):

    x = Variable(5)
    p_inf = Problem(Minimize(sum_entries(x)), [(x >= 1), (x <= 0)])
    p_unb = Problem(Minimize(sum_entries(x)), [(x <= 1)])
    for solver in [ECOS, CVXOPT, SCS]:
        if (CVXOPT in installed_solvers()):
            print solver
            p_inf.solve(solver=solver)
            self.assertEqual(p_inf.status, INFEASIBLE)
            p_unb.solve(solver=solver)
            self.assertEqual(p_unb.status, UNBOUNDED)
