Skip to content

Commit e1908aa

Browse files
committed
Make AbstractModel <: AbstractOptimizer
1 parent fb303dc commit e1908aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utilities/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function _getlocr(constrs::Vector{<:ConstraintEntry},
8282
end
8383

8484
# Implementation of MOI for AbstractModel
85-
abstract type AbstractModel{T} <: MOI.ModelLike end
85+
abstract type AbstractModel{T} <: MOI.AbstractOptimizer end
8686

8787
getconstrloc(model::AbstractModel, ci::CI) = model.constrmap[ci.value]
8888

0 commit comments

Comments
 (0)