Skip to content

Commit b5a6945

Browse files
committed
Remove leftover print debugging statements
1 parent bd0efea commit b5a6945

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pyomo/contrib/doe/tests/test_greybox.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,6 @@ def test_jacobian_A_opt(self):
532532
# Get numerical derivative matrix
533533
jac_FD = get_numerical_derivative(grey_box_object)
534534

535-
print(jac_FD)
536-
print(jac)
537-
538535
# assert that each component is close
539536
self.assertTrue(np.all(np.isclose(jac, jac_FD, rtol=1e-4, atol=1e-4)))
540537

@@ -629,8 +626,6 @@ def test_hessian_A_opt(self):
629626

630627
# Get numerical derivative matrix
631628
hess_FD = get_numerical_second_derivative(grey_box_object)
632-
print("hess_FD", hess_FD)
633-
print("hess_gb", hess_gb)
634629

635630
# assert that each component is close
636631
self.assertTrue(np.all(np.isclose(hess_gb, hess_FD, rtol=1e-4, atol=1e-4)))
@@ -1016,12 +1011,6 @@ def test_solve_D_optimality_log_determinant(self):
10161011
# Solve the model
10171012
doe_object.run_doe()
10181013

1019-
print("Termination Message")
1020-
print(doe_object.results["Termination Message"])
1021-
print(cyipopt_call_working)
1022-
print(bad_message in doe_object.results["Termination Message"])
1023-
print("End Message")
1024-
10251014
optimal_time_val = doe_object.results["Experiment Design"][0]
10261015
optimal_obj_val = np.log10(np.exp(pyo.value(doe_object.model.objective)))
10271016

0 commit comments

Comments
 (0)