Skip to content

Commit

Permalink
fix xiao2013
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrogantGao committed Nov 25, 2024
1 parent a0a6238 commit ba246e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/OptimalBranchingMIS/src/algorithms/xiao2013_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ function optimal_funnel(g::SimpleGraph)
# v) select three-funnel leads to a fine instance
for funnel_pair in three_funnels
a,b = funnel_pair
g_left = copy(g)
rem_vertices!(g_left, closed_neighbors(g, [b]))
g_left = remove_vertices(g, closed_neighbors(g, [b]))
has_fine_structure(g_left) && return funnel_pair
end

@error "No optimal funnel found"
# @error "No optimal funnel found"
return nothing
end


Expand Down
6 changes: 3 additions & 3 deletions lib/OptimalBranchingMIS/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using OptimalBranchingMIS
using Test

# @testset "branch" begin
# include("branch.jl")
# end
@testset "branch" begin
include("branch.jl")
end

@testset "graphs" begin
include("graphs.jl")
Expand Down

0 comments on commit ba246e9

Please sign in to comment.