メインコンテンツへスキップ

Error in Running Gurobi Optimizer 9.5

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • 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

投稿コメントは受け付けていません。