Skip to content

Commit

Permalink
Check error
Browse files Browse the repository at this point in the history
  • Loading branch information
Deborah Hendrych committed Nov 6, 2023
1 parent 57e22cc commit c4820f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/strong_branching_portfolio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import HiGHS

# For bug hunting:
seed = rand(UInt64)
seed = 0xd038b7eafdcb28c1
@show seed
#seed = 0xeadb922ca734998b
Random.seed!(seed)
Expand All @@ -30,7 +31,7 @@ const Mi = (Ai + Ai') / 2

function prepare_portfolio_lmo()
o = SCIP.Optimizer()
MOI.set(o, MOI.Silent(), true)
MOI.set(o, MOI.Silent(), false)
MOI.empty!(o)
x = MOI.add_variables(o, n)
I = collect(1:n)
Expand Down

0 comments on commit c4820f0

Please sign in to comment.