The current release of Gurobi is version 10.0.1. If you see v10.0.1rc0 in the logging output below, you are using the up-to-date version.
Using gurobi_cl
If the full Gurobi package or conda packages are installed on your machine, you can use the Gurobi command line tool to check the currently installed version:
> gurobi_cl --version
Gurobi Optimizer version 10.0.1 build v10.0.1rc0 (mac64[arm])
Copyright (c) 2023, Gurobi Optimization, LLC
When a model is solved (via any API)
The current Gurobi version is also printed at the beginning of the Gurobi logs whenever a model is solved using any programming language API:
>>> import gurobipy as gp
>>> m = gp.Model()
>>> m.optimize()
Gurobi Optimizer version 10.0.1 build v10.0.1rc0 (mac64[arm])
...
If you do not see this output when solving a model, ensure that the OutputFlag and LogToConsole parameters are both set to 1:
>>> import gurobipy as gp
>>> m = gp.Model()
>>> m.Params.LogToConsole = 1
>>> m.Params.OutputFlag = 1
>>> m.optimize()
Gurobi Optimizer version 10.0.1 build v10.0.1rc0 (mac64[arm])
...
Comments
0 comments
Please sign in to leave a comment.