Ask Your Question

Grabol's profile - activity

2021-02-14 01:09:37 +0200 received badge  Student (source)
2021-02-13 18:30:25 +0200 commented question Gurobi backend problem

I use Cygwin port of Sage which I installed by sagemath binary.

Excactly, my Gurobi binary is Windows .exe file.

I tried downloading Linux version of Gurobi and using it on Cygwin console, getting this bug that I gave after calling

As I understand I need to download pip package for gurobi backend which is done by sage -python -m pip install sage-numerical-backends-gurobi. After running this command for the first time i got bug that my GUROBI_HOME env variable is not set, but after I set it properly this command errors with: * ERROR: Command errored out with exit status 1: command: /opt/sagemath-9.2/local/bin/python3 -u -c 'import sys, setuptools, tokenize;...*

Is there any way to use Gurobi with Sage on Windows or is Linux mandatory for this?

2021-02-13 10:56:43 +0200 asked a question Gurobi backend problem

Hello, I am trying to attach gurobi backend to my sage. I downloaded gurobi and its licence, I can use it in cmd but I found no guide on how to use it with sage on Windows 10, which i am currently using. I used guide for Linux from and I tried different approaches. I decided to download gurobi in my sage shell in /opt/ folder, I exported all neccessary variables but after running i get this error: line 17: /opt/gurobi911/linux64//bin/python3.7: cannot execute binary file: Exec format error Is my approach correct? How can I achieve my goal? Thanks in advance.