Problem with gurobi_cl
AnsweredHello, I have a problem with gurobi_cl command. I am working on MacOs and I tries to run command
gurobi_cl /Users/csec.22/CAPOM2/Input/mip1.py
But I get error
Error 10012: Unknown file type for file '/Users/csec.22/CAPOM2/Input/mip1.py'
But I can run gurobi.sh Input/mip1.py when I am in CAPOM2 folder.
What did I wrong? I don't know what should I do
0
-
Official comment
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. -
Hi,
gurobi_cl is the command line tool. It requires a model file as input for example a mip or lp file. See Solving the model using the Gurobi command-line interface for more information.
gurob.sh is the interactive shell it is a Python interpreter that includes the gurobipy library and hence can execute mip1.py.0
Post is closed for comments.
Comments
2 comments