BB: Collect strong branching data

This commit is contained in:
2022-10-28 11:22:56 -05:00
parent 75787090f4
commit 38c4e41720
14 changed files with 229 additions and 153 deletions

View File

@@ -33,9 +33,9 @@ using Cbc
@testset "Save and load data" begin
filename = tempname()
data = KnapsackData(
weights=[5.0, 5.0, 5.0],
prices=[1.0, 1.0, 1.0],
capacity=3.0,
weights = [5.0, 5.0, 5.0],
prices = [1.0, 1.0, 1.0],
capacity = 3.0,
)
MIPLearn.save_data(filename, data)
loaded = MIPLearn.load_data(filename)