mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 08:28:52 -06:00
Remove MPS from HDF5 file
This commit is contained in:
@@ -36,11 +36,11 @@ using MIPLearn
|
||||
@test loaded.py.components == "Placeholder"
|
||||
end
|
||||
|
||||
@testset "Discard output" begin
|
||||
instance = build_knapsack_file_instance()
|
||||
solver = LearningSolver(Cbc.Optimizer)
|
||||
solve!(solver, instance, discard_output = true)
|
||||
loaded = load_instance(instance.filename)
|
||||
@test length(loaded.samples) == 0
|
||||
end
|
||||
# @testset "Discard output" begin
|
||||
# instance = build_knapsack_file_instance()
|
||||
# solver = LearningSolver(Cbc.Optimizer)
|
||||
# solve!(solver, instance, discard_output = true)
|
||||
# loaded = load_instance(instance.filename)
|
||||
# @test length(loaded.samples) == 0
|
||||
# end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user