mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 10:28:52 -06:00
Add instance-level features to instance.features
This commit is contained in:
@@ -73,6 +73,14 @@ LearningSolveStats = TypedDict(
|
||||
total=False,
|
||||
)
|
||||
|
||||
InstanceFeatures = TypedDict(
|
||||
"InstanceFeatures",
|
||||
{
|
||||
"User features": List[float],
|
||||
},
|
||||
total=False,
|
||||
)
|
||||
|
||||
VariableFeatures = TypedDict(
|
||||
"VariableFeatures",
|
||||
{
|
||||
@@ -97,6 +105,7 @@ ConstraintFeatures = TypedDict(
|
||||
Features = TypedDict(
|
||||
"Features",
|
||||
{
|
||||
"Instance": InstanceFeatures,
|
||||
"Variables": Dict[str, Dict[VarIndex, VariableFeatures]],
|
||||
"Constraints": Dict[str, ConstraintFeatures],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user