Skip to main content

grbgetkey: command not found

Answered

Comments

5 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Mingyu Zheng
    • Gurobi-versary
    • First Question
    • First Comment

    I have redone all the steps as well as reboot the system multiple times. But the problem is always there.

    0
  • Mingyu Zheng
    • Gurobi-versary
    • First Question
    • First Comment

    I also have tried the method of specifying full path of the command. Still doesn't work.

    0
  • Eli Towle
    • Gurobi Staff

    It looks like the \( \texttt{PATH} \) variable still does not include \( \texttt{/opt/gurobi951/linux64/bin} \). What is the output of \( \texttt{echo \$PATH} \)? How did you set the environment variables?

    • If you are in the \( \texttt{/opt/gurobi951/linux64/bin} \) directory, try running \( \texttt{./grbgetkey <code>} \) instead of \( \texttt{grbgetkey <code>} \). This should work even if your \( \texttt{PATH} \) variable does not include \( \texttt{/opt/gurobi951/linux64/bin} \).
    • When running \( \texttt{grbgetkey} \) by specifying the full path to the executable, you need to include a \( \texttt{/} \) before \( \texttt{opt} \). That is, \( \texttt{/opt/gurobi951/linux64/bin/grbgetkey <code>} \) instead of \( \texttt{opt/gurobi951/linux64/bin/grbgetkey <code>} \).
    0
  • Mingyu Zheng
    • Gurobi-versary
    • First Question
    • First Comment

    Thanks, Eli

    I have resolved the problem. 

    0

Post is closed for comments.