follow the gurobi implementation: JuliaOpt/Gurobi.jl#216 link the PR to JuliaOpt/MathOptInterface.jl#736 cc @jd-lara