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