Skip to main content

Error in Running Gurobi Optimizer 9.5

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Debanjan,

    The gurobi_cl executable is Gurobi's command line tool and should always be used as such. It seems like you are calling the gurobi_cl executable from within your program. The error you get occurs because the call to Gurobi's command line tool does not solve any model and it does not populate any data objects you use.

    You state that you are constructing and solving your model in Python. To achieve this, you should use Gurobi's Python model \(\texttt{gurobipy}\). To install Gurobi's Python module, please follow the instructions in How do I install Gurobi for Python? You can then have a look at our Python webinars and Python examples to get a better  understanding of  model creation and solution.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.