Skip to content

Commit 19612e5

Browse files
committed
Bugfix to test (copy/paste error)
1 parent bbe0324 commit 19612e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyomo/contrib/appsi/solvers/tests/test_gurobi_persistent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ def test_nonconvex_qcp_objective_bound_2(self):
240240
res = opt.solve(m)
241241
self.assertAlmostEqual(res.best_feasible_objective, -4)
242242
if opt.version() < (11, 0):
243-
self.assertAlmostEqual(res.objective_bound, -6)
243+
self.assertAlmostEqual(res.best_objective_bound, -6)
244244
else:
245-
self.assertAlmostEqual(res.objective_bound, -4)
245+
self.assertAlmostEqual(res.best_objective_bound, -4)
246246

247247
def test_range_constraints(self):
248248
m = pe.ConcreteModel()

0 commit comments

Comments
 (0)