Skip to content

Commit

Permalink
[skip ci] hiding path warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dfridovi committed Dec 25, 2024
1 parent 733d4af commit 8b5d018
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions benchmark/path.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function benchmark(;
)

@info "Warming up PATH solver..."
ParametricMCPs.solve(path_mcp, first(θs))
ParametricMCPs.solve(path_mcp, first(θs); warn_on_convergence_failure = false)

# Solve and time.
ip_data = @showprogress desc = "Solving IP MCPs..." map(θs) do θ
Expand All @@ -134,7 +134,8 @@ function benchmark(;

path_data = @showprogress desc = "Solving PATH MCPs..." map(θs) do θ
# Solve and time.
elapsed_time = @elapsed sol = ParametricMCPs.solve(path_mcp, θ)
elapsed_time = @elapsed sol =
ParametricMCPs.solve(path_mcp, θ; warn_on_convergence_failure = false)

(; elapsed_time, success = sol.status == PATHSolver.MCP_Solved)
end
Expand Down

0 comments on commit 8b5d018

Please sign in to comment.