Convert VariableFeatures into dataclass

This commit is contained in:
2021-04-04 22:56:26 -05:00
parent 59f4f75a53
commit d79eec5da6
6 changed files with 97 additions and 87 deletions

View File

@@ -274,7 +274,7 @@ class InternalSolver(ABC):
pass
@abstractmethod
def get_empty_solution(self) -> Dict:
def get_empty_solution(self) -> Dict[str, Dict[VarIndex, Optional[float]]]:
"""
Returns a dictionary with the same shape as the one produced by
`get_solution`, but with all values set to None. This method is