In Python, you can do:
What is the equivalent for Julia and JuMP?
using Gurobi Gurobi.version()
Without success. I am not trying to get
Gurobi.jl package version which can be obtained with
] status Gurobi.
There are three integer variables for this you need to combine them to get the full version number:
julia> println("Grurobi version: $(Gurobi.GRB_VERSION_MAJOR).$(Gurobi.GRB_VERSION_MINOR).$(Gurobi.GRB_VERSION_TECHNICAL)") Grurobi version: 9.5.0