mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 18:08:51 -06:00
Add type annotations to components
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user