Skip to content

Commit d4b5787

Browse files
committed
add big transportation table test1
1 parent 28fdd9d commit d4b5787

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/testtransportation.jl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,19 @@
134134
@test result.cost == 3510
135135
end
136136
end
137+
138+
@testset "Big Example - Check if it is solved in reasonable times" verbose = true begin
139+
140+
t = TransportationProblem(
141+
rand(10:1000, 350, 450) * 1.0,
142+
rand(1:100, 450) * 1.0,
143+
rand(1:100, 350) * 1.0,
144+
)
145+
137146

147+
result = solve(t)
148+
149+
@test result.cost > 0
150+
151+
end
138152
end

0 commit comments

Comments
 (0)