mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
PickleGzInstance: Replace implicit load by load/free methods
This commit is contained in:
@@ -127,6 +127,7 @@ class LearningSolver:
|
||||
|
||||
# Generate model
|
||||
# -------------------------------------------------------
|
||||
instance.load()
|
||||
if model is None:
|
||||
with _RedirectOutput([]):
|
||||
model = instance.to_model()
|
||||
|
||||
Reference in New Issue
Block a user