Invalid syntax
AnsweredHi, I am having troble to follow the example in the start manual. I followed the steps of the example Producing Coins, and when I input '>gurobi_cl c:\gurobi901\win64\examples\data\coins.lp', it shows 'invalid syntax' .
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 why not try our AI Gurobot?. -
Hi Zi Zhang,
the problem is that you ran the gurobi.sh script before. This actually opens a Python environment where the environment variables are set beforehand to the necessary values.
gurobi_cl on the other hand is the command-line tool, so you should open up a new terminal and then run the command:
>gurobi_cl c:\gurobi901\win64\examples\data\coins.lp'
Best
Richard
0
Post is closed for comments.
Comments
2 comments