def METHOD_NAME(self):
    z_dims = (2, 2)
    for c_dims in TestKronRightVar.C_DIMS:
        Z, C, L, prob = self.make_kron_prob(z_dims, c_dims, param=True,
                                            var_left=False, seed=0)
        prob.solve(solver='ECOS', abstol=1e-8, reltol=1e-8)
        self.assertEqual(prob.status, cp.OPTIMAL)
        con_viols = prob.constraints[0].violation()
        self.assertLessEqual(np.max(con_viols), 1e-4)
        self.assertItemsAlmostEqual(Z.value, L, places=4)