Skip to content

Commit cd93103

Browse files
committed
fix typo (copy/paste error)
1 parent 19612e5 commit cd93103

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
@@ -213,9 +213,9 @@ def test_nonconvex_qcp_objective_bound_1(self):
213213
opt.config.load_solution = False
214214
res = opt.solve(m)
215215
if opt.version() < (11, 0):
216-
self.assertEqual(res.incumbent_objective, None)
216+
self.assertEqual(res.best_feasible_objective, None)
217217
else:
218-
self.assertEqual(res.incumbent_objective, -4)
218+
self.assertEqual(res.best_feasible_objective, -4)
219219
self.assertAlmostEqual(res.best_objective_bound, -8)
220220

221221
def test_nonconvex_qcp_objective_bound_2(self):

0 commit comments

Comments
 (0)