def test_lp_2(self): # typical LP sth = STH.lp_2() for affine in TestSlacks.AFF_LP_CASES: TestSlacks.simulate_chain(sth.prob, affine, solver='ECOS') sth.verify_objective(places=4) sth.verify_primal_values(places=4)
def test_lp_2(self): # typical LP sth = STH.lp_2() TestDualize.simulate_chain(sth.prob) sth.verify_objective(places=4) sth.verify_primal_values(places=4) sth.verify_dual_values(places=4)