We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe0324 commit 19612e5Copy full SHA for 19612e5
pyomo/contrib/appsi/solvers/tests/test_gurobi_persistent.py
@@ -240,9 +240,9 @@ def test_nonconvex_qcp_objective_bound_2(self):
240
res = opt.solve(m)
241
self.assertAlmostEqual(res.best_feasible_objective, -4)
242
if opt.version() < (11, 0):
243
- self.assertAlmostEqual(res.objective_bound, -6)
+ self.assertAlmostEqual(res.best_objective_bound, -6)
244
else:
245
- self.assertAlmostEqual(res.objective_bound, -4)
+ self.assertAlmostEqual(res.best_objective_bound, -4)
246
247
def test_range_constraints(self):
248
m = pe.ConcreteModel()
0 commit comments