diff --git a/src/Utilities/cachingoptimizer.jl b/src/Utilities/cachingoptimizer.jl index 14c5011743..ce09aaeb55 100644 --- a/src/Utilities/cachingoptimizer.jl +++ b/src/Utilities/cachingoptimizer.jl @@ -270,11 +270,11 @@ end function final_touch(m::CachingOptimizer, index_map) return final_touch(m.model_cache, index_map) end -function MOI.copy_to(m::CachingOptimizer, src::MOI.ModelLike; kws...) +function MOI.copy_to(m::CachingOptimizer, src::MOI.ModelLike) if m.state == ATTACHED_OPTIMIZER reset_optimizer(m) end - return MOI.copy_to(m.model_cache, src; kws...) + return MOI.copy_to(m.model_cache, src) end function MOI.supports_incremental_interface(model::CachingOptimizer) diff --git a/src/Utilities/mockoptimizer.jl b/src/Utilities/mockoptimizer.jl index e7beb86f42..bff094329e 100644 --- a/src/Utilities/mockoptimizer.jl +++ b/src/Utilities/mockoptimizer.jl @@ -943,8 +943,8 @@ function MOI.supports_add_constrained_variables( return MOI.supports_add_constrained_variables(mock.inner_model, MOI.Reals) end -function MOI.copy_to(dest::MockOptimizer, src::MOI.ModelLike; kwargs...) - return default_copy_to(dest, src; kwargs...) +function MOI.copy_to(dest::MockOptimizer, src::MOI.ModelLike) + return default_copy_to(dest, src) end function MOI.supports_incremental_interface(mock::MockOptimizer) diff --git a/src/Utilities/universalfallback.jl b/src/Utilities/universalfallback.jl index 23cdad1a81..db1e624867 100644 --- a/src/Utilities/universalfallback.jl +++ b/src/Utilities/universalfallback.jl @@ -123,8 +123,8 @@ function pass_nonvariable_constraints( ) end -function MOI.copy_to(dest::UniversalFallback, src::MOI.ModelLike; kwargs...) - return MOIU.default_copy_to(dest, src; kwargs...) +function MOI.copy_to(dest::UniversalFallback, src::MOI.ModelLike) + return default_copy_to(dest, src) end function MOI.supports_incremental_interface(uf::UniversalFallback)