'Test sigma_max.'

def test_sigma_max(self):

    const = Constant([[1, 2, 3], [4, 5, 6]])
    constr = [(self.C == const)]
    prob = Problem(Minimize(norm(self.C, 2)), constr)
    result = prob.solve(solver=SCS)
    self.assertAlmostEqual(result, norm(const, 2).value)
    self.assertItemsAlmostEqual(self.C.value, const.value)
