Skip to content

Commit

Permalink
PricingDualBound attribute for pricing callback (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
guimarqu authored Mar 23, 2022
1 parent 7e21015 commit 2943499
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,21 @@ function MOI.submit(
)
end

"""
PricingDualBound(cbdata)
Dual bound of the pricing subproblem.
This bound is used to compute the contribution of the subproblem to the dual bound
in column generation.
"""
struct PricingDualBound{CbDataType} <: MOI.AbstractSubmittable
callback_data::CbDataType
end

function MOI.submit(model::Model, cb::PricingDualBound, bound)
return MOI.submit(JuMP.backend(model), cb, bound)
end

"""
PricingVariableCost(cbdata)
Expand Down

0 comments on commit 2943499

Please sign in to comment.