The current release of Gurobi is version 12.0.1. If you see v12.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 12.0.1 build v12.0.1rc0 (linux64 - "Ubuntu 22.04.2 LTS")
Copyright (c) 2025, 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 12.0.1 build v12.0.1rc0 (mac64[arm] - Darwin 24.1.0 24B83)
...
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 12.0.1 build v12.0.1rc0 (mac64[arm] - Darwin 24.1.0 24B83)
...
Comments
0 comments
Article is closed for comments.