Skip to main content

Error message when executing gurobi_c1 in Windows

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff 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 why not try our AI Gurobot?.
  • Elisabeth Rodríguez Heck
    Gurobi Staff Gurobi Staff

    Hi Qiang,

    It seems that you are trying to run the Gurobi Command-Line Tool \( \texttt{gurobi_cl} \) from within the Interactive Shell, which is opened using the Gurobi icon on the Windows Desktop or by calling \( \texttt{gurobi.bat} \).

    These are two separate tools, you can either

    • Call \( \texttt{gurobi_cl c:\gurobi912\win64\examples\data\coins.lp} \) from a terminal such as "cmd" outside the interactive shell, or
    • Open the interactive shell and create a model and optimize it using for example the commands
    m = read("c:\gurobi912\win64\examples\data\coins.lp")
    m.optimize()

    I hope this helps.

    Best regards,

    Elisabeth

    0

Post is closed for comments.