Small fixes to lazy constraints

This commit is contained in:
2020-09-24 14:30:29 -05:00
parent 0fe6aab98f
commit ba96338d2d
7 changed files with 58 additions and 39 deletions

View File

@@ -203,7 +203,7 @@ class BasePyomoSolver(InternalSolver):
key = self._get_gap_tolerance_option_name()
self._pyomo_solver.options[key] = gap_tolerance
def get_constraints_ids(self):
def get_constraint_ids(self):
return list(self._cname_to_constr.keys())
def extract_constraint(self, cid):