Only include static features in after-load

This commit is contained in:
2021-04-13 16:08:30 -05:00
parent 8f41278713
commit ef7a50e871
11 changed files with 170 additions and 182 deletions

View File

@@ -170,7 +170,7 @@ class InternalSolver(ABC, EnforceOverrides):
raise NotImplementedError()
@abstractmethod
def get_constraints(self) -> Dict[str, Constraint]:
def get_constraints(self, with_static: bool = True) -> Dict[str, Constraint]:
pass
@abstractmethod
@@ -237,7 +237,7 @@ class InternalSolver(ABC, EnforceOverrides):
return False
@abstractmethod
def get_variables(self) -> Dict[str, Variable]:
def get_variables(self, with_static: bool = True) -> Dict[str, Variable]:
pass
@abstractmethod