def METHOD_NAME(self) -> None:
    """Test a problem with log.
    """
    for n in [5, 10, 25]:
        print(n)
        x = cvx.Variable(n)
        obj = cvx.Maximize(cvx.sum(cvx.log(x)))
        p = cvx.Problem(obj, [cvx.sum(x) == 1])
        p.solve(solver=cvx.ECOS, verbose=True)
        self.assertItemsAlmostEqual(x.value, n*[1./n])
        p.solve(solver=cvx.SCS, verbose=True)
        self.assertItemsAlmostEqual(x.value, n*[1./n], places=2)