AbstractSolver: Fix field name

This commit is contained in:
2024-02-06 11:56:54 -06:00
parent e75850fab8
commit cec56cbd7b

View File

@@ -84,7 +84,7 @@ class AbstractModel(ABC):
pass pass
def set_cuts(self, cuts: List) -> None: def set_cuts(self, cuts: List) -> None:
self.cuts_aot_ = cuts self._cuts_aot = cuts
def lazy_enforce(self, violations: List[Any]) -> None: def lazy_enforce(self, violations: List[Any]) -> None:
if self._lazy_enforce is not None: if self._lazy_enforce is not None: