We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://discourse.julialang.org/t/how-to-write-conditional-expression-using-jump/83106
The trace is
MethodError: no method matching get_branching_disc_idx!(::Juniper.JuniperProblem, ::Juniper.StepObj, ::Juniper.SolverOptions, ::Vector{Int64}, ::Juniper.GainObj, ::Int32) Closest candidates are: get_branching_disc_idx!(::Any, ::Any, ::Any, ::Any, ::Any) at ~/.julia/packages/Juniper/0Z1vO/src/BnBTree.jl:14 get_branching_disc_idx!(::Any, ::Any, ::Any, ::Any, ::Any, ::Int64) at ~/.julia/packages/Juniper/0Z1vO/src/BnBTree.jl:14 Stacktrace: [1] one_branch_step!(m1::Juniper.JuniperProblem, incumbent::Juniper.Incumbent, opts::Juniper.SolverOptions, step_obj::Juniper.StepObj, disc2var_idx::Vector{Int64}, gains::Juniper.GainObj, counter::Int32) @ Juniper ~/.julia/packages/Juniper/0Z1vO/src/BnBTree.jl:367 [2] solve_sequential(tree::Juniper.BnBTreeObj, last_table_arr::Vector{Any}, time_bnb_solve_start::Float64, fields::Vector{Symbol}, field_chars::Vector{Int32}, time_obj::Juniper.TimeObj) @ Juniper ~/.julia/packages/Juniper/0Z1vO/src/BnBTree.jl:468 [3] solvemip(tree::Juniper.BnBTreeObj) @ Juniper ~/.julia/packages/Juniper/0Z1vO/src/BnBTree.jl:743 [4] optimize!(model::Juniper.Optimizer) @ Juniper ~/.julia/packages/Juniper/0Z1vO/src/MOI_wrapper/MOI_wrapper.jl:358 [5] optimize! @ ~/.julia/packages/MathOptInterface/RuRWI/src/Bridges/bridge_optimizer.jl:354 [inlined] [6] optimize! @ ~/.julia/packages/MathOptInterface/RuRWI/src/MathOptInterface.jl:87 [inlined] [7] optimize!(m::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.Bridges.LazyBridgeOptimizer{Juniper.Optimizer}, MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}) @ MathOptInterface.Utilities ~/.julia/packages/MathOptInterface/RuRWI/src/Utilities/cachingoptimizer.jl:316 [8] optimize!(model::Model; ignore_optimize_hook::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ JuMP ~/.julia/packages/JuMP/Psd1J/src/optimizer_interface.jl:161 [9] optimize!(model::Model) @ JuMP ~/.julia/packages/JuMP/Psd1J/src/optimizer_interface.jl:143 [10] top-level scope @ In[186]:189 [11] eval
Note the counter::Int32, but:
counter::Int32
Juniper.jl/src/BnBTree.jl
Line 20 in 053661e
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See https://discourse.julialang.org/t/how-to-write-conditional-expression-using-jump/83106
The trace is
Note the
counter::Int32
, but:Juniper.jl/src/BnBTree.jl
Line 20 in 053661e
The text was updated successfully, but these errors were encountered: