See https://github.com/JuliaOpt/MathOptInterface.jl/pull/473#issuecomment-413543317