mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 02:18:51 -06:00
Use instance.features in LazyStatic and Objective
This commit is contained in:
@@ -171,7 +171,7 @@ class ObjectiveValueComponent(Component):
|
||||
y: Dict = {}
|
||||
if "Lower bound" not in sample:
|
||||
return x, y
|
||||
features = instance.get_instance_features()
|
||||
features = instance.features["Instance"]["User features"]
|
||||
if "LP value" in sample and sample["LP value"] is not None:
|
||||
features += [sample["LP value"]]
|
||||
x["Lower bound"] = [features]
|
||||
|
||||
Reference in New Issue
Block a user