PickleGzInstance: Replace implicit load by load/free methods

This commit is contained in:
2021-04-06 19:19:12 -05:00
parent f495297168
commit 856b595d5e
6 changed files with 28 additions and 29 deletions

View File

@@ -127,6 +127,7 @@ class LearningSolver:
# Generate model
# -------------------------------------------------------
instance.load()
if model is None:
with _RedirectOutput([]):
model = instance.to_model()