mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 16:38:51 -06:00
Use HDF5 for instance files
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# Released under the modified BSD license. See COPYING.md for more details.
|
||||
|
||||
using Distributed
|
||||
using JLD2
|
||||
|
||||
|
||||
struct LearningSolver
|
||||
@@ -117,7 +118,6 @@ end
|
||||
|
||||
function load_solver(filename::AbstractString)::LearningSolver
|
||||
jldopen(filename, "r") do file
|
||||
_check_miplearn_version(file)
|
||||
solve_py_filename = tempname()
|
||||
write(solve_py_filename, file["solver_py"])
|
||||
solver_py = miplearn.read_pickle_gz(solve_py_filename)
|
||||
|
||||
Reference in New Issue
Block a user