'Test large number of variables squared.'

def test_large_square(self):

    for n in [10, 20, 30, 40, 50]:
        A = np.arange((n * n))
        A = np.reshape(A, (n, n))
        x = Variable(n, n)
        p = Problem(Minimize(at.square(x[(0, 0)])), [(x >= A)])
        result = p.solve()
        self.assertAlmostEqual(result, 0)
