Shoudn't it be Optimizer <: MOI.AbstractOptimizer ?
guilhermebodin opened this issue · 1 comments
guilhermebodin commented
Right now in GLPK, the Optimizer is under MOI.ModelLike, shouldn't it be under MOI.AbstractOptimizer?
Because I cannot do that
using Clp, GLPK, CSDP, MathOptInterface
const MOIU = MathOptInterface.Utilities
MOIU.CachingOptimizer(MOIU.Model{Float64}(), GLPK.Optimizer()) # error
MOIU.CachingOptimizer(MOIU.Model{Float64}(), Clp.Optimizer()) # ok
MOIU.CachingOptimizer(MOIU.Model{Float64}(), CSDP.Optimizer()) # ok