Add type annotations to components

This commit is contained in:
2021-01-21 15:54:23 -06:00
parent a98a783969
commit fc0835e694
12 changed files with 122 additions and 76 deletions

View File

@@ -10,12 +10,12 @@ TrainingSample = TypedDict(
"TrainingSample",
{
"LP log": str,
"LP solution": Dict,
"LP value": float,
"Lower bound": float,
"LP solution": Optional[Dict],
"LP value": Optional[float],
"Lower bound": Optional[float],
"MIP log": str,
"Solution": Dict,
"Upper bound": float,
"Solution": Optional[Dict],
"Upper bound": Optional[float],
"slacks": Dict,
},
total=False,