mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 10:58:51 -06:00
Update DynamicLazyConstraintsComponent
This commit is contained in:
@@ -196,7 +196,7 @@ class Component(EnforceOverrides):
|
||||
) -> None:
|
||||
x, y = self.xy_instances(training_instances)
|
||||
for cat in x.keys():
|
||||
x[cat] = np.array(x[cat])
|
||||
x[cat] = np.array(x[cat], dtype=np.float32)
|
||||
y[cat] = np.array(y[cat])
|
||||
self.fit_xy(x, y)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user