From 54221625425bb6637829d4cac8e40a7fe3095a14 Mon Sep 17 00:00:00 2001 From: Michael Bynum Date: Tue, 29 Mar 2022 08:28:08 -0600 Subject: [PATCH] updating tests --- egret/models/tests/test_relaxations.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/egret/models/tests/test_relaxations.py b/egret/models/tests/test_relaxations.py index 2dbe7fc4..007fed4f 100644 --- a/egret/models/tests/test_relaxations.py +++ b/egret/models/tests/test_relaxations.py @@ -82,7 +82,7 @@ def test_soc_model(self, case_name): rel, scaled_md = create_soc_relaxation(md, use_linear_relaxation=False) opt = SolverFactory('ipopt') - opt.options['linear_solver'] = 'mumps' + #opt.options['linear_solver'] = 'mumps' res = opt.solve(nlp, tee=False) self.assertTrue(res.solver.termination_condition == TerminationCondition.optimal) @@ -112,7 +112,7 @@ def test_polar_relaxation(self, case_name): b.rebuild(build_nonlinear_constraint=True) opt = SolverFactory('ipopt') - opt.options['linear_solver'] = 'mumps' + #opt.options['linear_solver'] = 'mumps' res = opt.solve(nlp, tee=False) self.assertTrue(res.solver.termination_condition == TerminationCondition.optimal) @@ -130,7 +130,7 @@ def test_atan_relaxation(self, case_name): b.rebuild(build_nonlinear_constraint=True) opt = SolverFactory('ipopt') - opt.options['linear_solver'] = 'mumps' + #opt.options['linear_solver'] = 'mumps' res = opt.solve(nlp, tee=False) self.assertTrue(res.solver.termination_condition == TerminationCondition.optimal) @@ -148,7 +148,7 @@ def test_atan_relaxation_with_soc_edge_cuts(self, case_name): b.rebuild(build_nonlinear_constraint=True) opt = SolverFactory('ipopt') - opt.options['linear_solver'] = 'mumps' + #opt.options['linear_solver'] = 'mumps' res = opt.solve(nlp, tee=False) self.assertTrue(res.solver.termination_condition == TerminationCondition.optimal) @@ -166,7 +166,7 @@ def test_rectangular_relaxation(self, case_name): b.rebuild(build_nonlinear_constraint=True) opt = SolverFactory('ipopt') - opt.options['linear_solver'] = 'mumps' + #opt.options['linear_solver'] = 'mumps' res = opt.solve(nlp, tee=False) self.assertTrue(res.solver.termination_condition == TerminationCondition.optimal)