GUROBI_HOME environment variable in macOS
AnsweredWhat would be the equivalent of GUROBI_HOME environment variable in MacOS? I need to be able to get a script to know where gurobi is installed for any version or non-default installation.
Thank you,
Ilija
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 Ilija,
Please excuse us for not replying earlier!
This may not be relevant anymore, but I wanted to answer and close this question regardless.
On macOS, you usually don't need to set the environment variables when using our installer package. If you install Gurobi into some other directory, you need to tell your OS where to find the executable and the runtime libraries. This is usually done by modifying the PATH and, on macOS, the DYLD_LIBRARY_PATH variables.
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments