メインコンテンツへスキップ

using gurobi in jupyer notebook

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    Gurobi Staff 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 why not try our AI Gurobot?.
  • Richard Oberdieck
    Gurobi Staff Gurobi Staff

    Hi Joyjit,

    this means that the environment that the Jupyter notebook sees does not have gurobi. Typically there are three reasons for this:

    a) You have created a separate environment (other than base). If you install gurobi there, you need to select that environment also in the Jupyter notebook. To do this, you need to have the package "nb_conda" installed and restart Jupyter notebook.

    b) You have installed gurobi while the notebook is open. Then you should restart and it should be available then.

    c) You have separate Python installations (most commonly 2.7 and 3.x), and gurobi gets installed into the wrong one. Then you should check your path variable.

    Hope this helps, please let me know.

    Best

    Richard

    0

投稿コメントは受け付けていません。