Add more constraint features

This commit is contained in:
2021-04-10 17:38:03 -05:00
parent b5e602cdc1
commit 5e1f26e4b0
4 changed files with 76 additions and 14 deletions

View File

@@ -246,3 +246,10 @@ class InternalSolver(ABC, EnforceOverrides):
callback or user cuts callback.
"""
return False
@abstractmethod
def get_constraint_attrs(self) -> List[str]:
"""
Returns a list of constraint attributes supported by this solver.
"""
pass