def test_socp_2(self): sth = STH.socp_2() for affine in TestSlacks.AFF_SOCP_CASES: TestSlacks.simulate_chain(sth.prob, affine, solver='ECOS') sth.verify_objective(places=4) sth.verify_primal_values(places=4)
def test_socp_2(self): sth = STH.socp_2() TestDualize.simulate_chain(sth.prob) sth.verify_objective(places=4) sth.verify_primal_values(places=4) sth.verify_dual_values(places=4)