Skip to content

Commit

Permalink
az debug: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed Dec 28, 2023
1 parent 7b147eb commit 66c1d3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions amplpy/tests/TestBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
class TestBase(unittest.TestCase):
def setUp(self):
print("Method:", self._testMethodName)
# os.environ["solver"] = "highs"
# os.environ["highs_options"] = "outlev=1"
self.ampl = amplpy.AMPL()
self.ampl.option["solver"] = "highs"
self.ampl.option["highs_options"] = "outlev=1"
Expand Down
4 changes: 0 additions & 4 deletions amplpy/tests/test_ampl.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,16 +397,12 @@ def test_solve_arguments(self):
ampl.option["highs_options"] = ""
self.assertEqual(ampl.option["highs_options"], "")

print(">>>", ampl.get_output("option highs_options;"))

output = ampl.solve(solver="highs", return_output=True)
print("output1:", output)
self.assertFalse("outlev" in output)

output = ampl.solve(
solver="highs", return_output=True, highs_options="outlev=1"
)
print("output2:", output)
self.assertTrue("outlev" in output)


Expand Down

0 comments on commit 66c1d3b

Please sign in to comment.