mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
LearningSolver: return model
This commit is contained in:
@@ -71,5 +71,5 @@ def test_usage_stab(
|
||||
comp = MemorizingCutsComponent(clf=clf, extractor=default_extractor)
|
||||
solver = LearningSolver(components=[comp])
|
||||
solver.fit(data_filenames)
|
||||
stats = solver.optimize(data_filenames[0], build_model) # type: ignore
|
||||
model, stats = solver.optimize(data_filenames[0], build_model) # type: ignore
|
||||
assert stats["Cuts: AOT"] > 0
|
||||
|
||||
Reference in New Issue
Block a user