Skip to main content

grbgetkey: command not found

Answered

Comments

4 comments

  • 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 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

Please sign in to leave a comment.