Skip to content

Commit

Permalink
larger redcost tolerance & improve error message (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarqu authored Oct 3, 2022
1 parent 719e87c commit 85b350e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Algorithm/colgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
essential_cut_gen_alg = CutCallbacks(call_robust_facultative = false),
max_nb_iterations = 1000,
log_print_frequency = 1,
redcost_tol = 1e-5,
redcost_tol = 1e-4,
cleanup_threshold = 10000,
cleanup_ratio = 0.66,
smoothing_stabilization = 0.0 # should be in [0, 1],
Expand Down Expand Up @@ -73,7 +73,7 @@ Here are their meanings :
max_nb_iterations::Int64 = 1000
log_print_frequency::Int64 = 1
store_all_ip_primal_sols::Bool = false
redcost_tol::Float64 = 1e-5
redcost_tol::Float64 = 1e-4
solve_subproblems_parallel::Bool = false
cleanup_threshold::Int64 = 10000
cleanup_ratio::Float64 = 0.66
Expand Down Expand Up @@ -142,8 +142,10 @@ function Base.show(io::IO, err::ColumnAlreadyInsertedColGenError)
the master. This should not happen.
======
If you are using a pricing callback, make sure there is no bug in your code.
If you are using a solver (e.g. GLPK, Gurobi...), please open an issue at https://github.com/atoptima/Coluna.jl/issues
with an example that reproduces the bug.
If you are using a solver (e.g. GLPK, Gurobi...), check the reduced cost tolerance
`redcost_tol` parameter of `ColumnGeneration`.
If you find a bug in Coluna, please open an issue at https://github.com/atoptima/Coluna.jl/issues with an example
that reproduces the bug.
======
"""
println(io, msg)
Expand Down

0 comments on commit 85b350e

Please sign in to comment.