Skip to content

Commit

Permalink
Update masteripheur.jl (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
YP-Ye authored Mar 20, 2020
1 parent e244d33 commit 3215bbb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/unit/algorithms/masteripheur.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ function masteripheur_tests()
infeasible_master_ip_heur_tests()
end

function ClA.run!(alg::ClA.SolveIpForm, reform::ClMP.Reformulation, input::ClA.NewOptimizationInput)
master = ClMP.getmaster(reform)
ipforminput = ClA.SolveIpFormInput(ClMP.ObjValues(master))
return ClA.run!(alg, master, ipforminput)
end

function infeasible_master_ip_heur_tests()
@testset "play gap" begin
data = CLD.GeneralizedAssignment.data("play2.txt")
Expand All @@ -26,4 +20,4 @@ function infeasible_master_ip_heur_tests()
JuMP.optimize!(problem)
@test JuMP.objective_value(problem) == Inf
end
end
end

0 comments on commit 3215bbb

Please sign in to comment.