Skip to content

Commit 8c4fb77

Browse files
committed
Remove debugging; expand comment explaining difference in cut-and-paste tests
1 parent 2f1d4a0 commit 8c4fb77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: pyomo/repn/tests/test_standard_form.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ def test_alternative_forms(self):
256256
[[1, 0, 2, 0], [0, 0, 1, 4], [0, 1, 6, 0], [0, 1, 6, 0], [1, 1, 0, 0]]
257257
)
258258
self.assertTrue(np.all(repn.A == ref))
259-
print(repn)
260-
print(repn.b)
261259
self.assertTrue(np.all(repn.b == np.array([3, 5, 6, -3, 8])))
262260
self.assertTrue(np.all(repn.c == np.array([[-1, 0, -5, 0], [1, 0, 0, 15]])))
263-
# Note that the solution is a mix of inequality and equality constraints
261+
# Note that the mixed_form solution is a mix of inequality and
262+
# equality constraints, so we cannot (easily) reuse the
263+
# _verify_solutions helper (as in the above cases):
264264
# self._verify_solution(soln, repn, False)
265265

266266
repn = LinearStandardFormCompiler().write(

0 commit comments

Comments
 (0)