mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 16:38:51 -06:00
Minor fixes
This commit is contained in:
@@ -17,6 +17,15 @@ Base.@kwdef mutable struct _JumpModelExtData
|
||||
cuts_separate::Union{Function,Nothing} = nothing
|
||||
end
|
||||
|
||||
function JuMP.copy_extension_data(
|
||||
::_JumpModelExtData,
|
||||
new_model::AbstractModel,
|
||||
::AbstractModel,
|
||||
)
|
||||
# Do not transfer any extension data to the new model
|
||||
new_model.ext[:miplearn] = _JumpModelExtData()
|
||||
end
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
function _add_constrs(
|
||||
|
||||
Reference in New Issue
Block a user