Skip to main content

Can't install sage-numerical-backends-gurobi

Answered

Comments

4 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Could you please try executing gurobi_cl in a terminal window? If it is not found, you have to install the full Gurobi package first, see our Quick Start Guides. You will also require a valid license, see Retrieving a Free Academic License.

    Maybe the instructions provided in the documentation of the sage-numerical-backends-gurobi project may help.

    Best regards,
    Jaromił

    0
  • alias
    Gurobi-versary
    First Comment
    First Question

    The command outputs the following:

    "Academic license - for non-commercial use only - expires 2021-10-16
    Using license file C:\Users\*****\gurobi.lic
    Set parameter LogFile to value gurobi.log

    Usage: gurobi_cl [--command]* [param=value]* filename
    Type 'gurobi_cl --help' for more information."

    That documentation I have seen. I'm working with Windows so I skipped the "Installation of Gurobi" part. To install the package I tried the first two commands. The first command prints thousands of times

    "make[1]: Entering directory '/opt/sagemath-9.2'
    make build/make/Makefile --stop"

    and just increases the number of make. The second command leads to the error I posted.

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    From the Github of sage-numerical-backends-gurobi it does not look like this Python package is compatible with Windows. At least there is no mentioning of any installation steps for Windows machines. If possible, you should try installing it on a Linux machine.

    Best regards,
    Jaromił

    1
  • alias
    Gurobi-versary
    First Comment
    First Question

    Thank you. I‘m using now WSL. There works everything well, except that the pathes are not saved after closing it. But that‘s no problem for me.

    0

Please sign in to leave a comment.