'Test warm starting.'

def test_warm_start(self):

    x = Variable(10)
    obj = Minimize(sum_entries(exp(x)))
    prob = Problem(obj, [(sum_entries(x) == 1)])
    result = prob.solve(solver=SCS)
    assert (prob.solve(solver=SCS, verbose=True) == result)
    assert (prob.solve(solver=SCS, warm_start=True, verbose=True) != result)
