Add variables to model features

This commit is contained in:
2021-03-30 21:29:33 -05:00
parent 1224613b1a
commit 9cf28f3cdc
3 changed files with 21 additions and 11 deletions

View File

@@ -76,9 +76,9 @@ LearningSolveStats = TypedDict(
ConstraintFeatures = TypedDict(
"ConstraintFeatures",
{
"rhs": float,
"lhs": Dict[str, float],
"sense": str,
"RHS": float,
"LHS": Dict[str, float],
"Sense": str,
},
total=False,
)
@@ -86,7 +86,8 @@ ConstraintFeatures = TypedDict(
ModelFeatures = TypedDict(
"ModelFeatures",
{
"constraints": Dict[str, ConstraintFeatures],
"Variables": Solution,
"Constraints": Dict[str, ConstraintFeatures],
},
total=False,
)