Skip to content

Commit 53eca77

Browse files
committed
fix tests
1 parent e117b38 commit 53eca77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/StochasticVehicleScheduling/solution/exact_algorithms/column_generation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function column_generation(
8888
)
8989
end
9090

91-
c_low = objective_value(model)
91+
c_low = Float64(objective_value(model))
9292
columns = unique(cat(initial_paths, new_paths; dims=1))
9393
return columns, c_low, value.(λ)
9494
end

test/vsp.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using DecisionFocusedLearningBenchmarks
33
using DecisionFocusedLearningBenchmarks.StochasticVehicleScheduling
44
using Graphs
5+
using Plots
56

67
b = StochasticVehicleSchedulingBenchmark(; nb_tasks=25, nb_scenarios=10)
78

0 commit comments

Comments
 (0)