def test_balance_cvx_relaxed(self):
hh_table, A, w, mu, expected_weights = self._mock_list_relaxed()
hh_weights, _ = listbalancer.balance_cvx(hh_table, A, w, mu)
np.testing.assert_allclose(
> hh_weights, expected_weights, rtol=0.01, atol=0)
E AssertionError:
E Not equal to tolerance rtol=0.01, atol=0
E
E (mismatch 100.0%)
E x: matrix([[ 29.798231],
E [ 37.155819],
E [ 55.549788],
E [157.820203]])
E y: matrix([[45.],
E [52.],
E [65.],
E [98.]])
test/test_listbalancer.py:220: AssertionError
I've tried downgrading cvxpy, numpy, and pandas to working versions but ran into issues where those older versions are no longer working, so there's not currently a way to get this into a working state
I've tried downgrading cvxpy, numpy, and pandas to working versions but ran into issues where those older versions are no longer working, so there's not currently a way to get this into a working state