GUROBI_HOME environment variable in macOSAnswered
What 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.
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.
Please sign in to leave a comment.