I am trying to setup Gurobi with Google OR-Tools with the function pywraplp.Solver.CreateSolver("GUROBI")
. The function returns None, which could occur if Gurobi was not linked in, or if the Gurobi license is not supplied.
Currently, CreateSolver
works with SCIP, and I could run Gurobi through the gurobipy
interface (I have the licenses set up correctly).
I am using or-tools installed from pip (pip install ortools
). Based on online documentation, the binary version of or-tools has support for Gurobi. I would like to know if there are any additional steps I need to take to set up or-tools, or if I must follow a set of instructions to compile or-tools from source to support Gurobi.