How to determine Gurobi or solver version in JuMP

In Python, you can do: print(gurobipy.gurobi.version()) What is the equivalent for Julia and JuMP? I tried using Gurobi Gurobi.version() Without success. I am not trying to get Gurobi.jl package version which can be obtained with ] status Gurobi. >Solution : There are three integer variables for this you need to combine them to get the… Read More How to determine Gurobi or solver version in JuMP

Why is the " UndefVarError: undef not defined " error happened?

It is used in the code: tt=Array{Int64}(undef,0) but the following error is shown: UndefVarError: undef not defined would you please say why it happened? and is there any alternative for the code? >Solution : undef was introduced in Julia 0.7. If you are using a lower version, update Julia. Or you can try tt=Array{Int64}(0). I… Read More Why is the " UndefVarError: undef not defined " error happened?