get_constraints: Fetch slack and dual values

This commit is contained in:
2021-04-10 17:24:03 -05:00
parent 088d679f61
commit b5e602cdc1
5 changed files with 135 additions and 68 deletions

View File

@@ -184,14 +184,6 @@ class InternalSolver(ABC, EnforceOverrides):
"""
pass
@abstractmethod
def get_inequality_slacks(self) -> Dict[str, float]:
"""
Returns a dictionary mapping constraint name to the constraint slack
in the current solution.
"""
pass
@abstractmethod
def is_infeasible(self) -> bool:
"""