Is it possible to use the Gurobi backend to MixedIntegerLinearProgram on 
macOS?

The documentation for getting it working seems to be here and seems to be 
Linux-specific:

http://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html#using-cplex-or-gurobi-through-sage

I tried to follow it for macOS anyway. I have the official app distribution 
of SageMath 8.8 and Gurobi 8.1.1. I symlinked libgurobi81.dylib and 
gurobi_c.h in the indicated locations, set the environment variable for the 
license file, then went to SAGE_ROOT and ran 'make'. This complained that I 
have MacPorts. I removed MacPorts from the PATH, and tried again. It 
re-built Sage (in part?) which took about an hour. However, Gurobi still 
does not work.

If I run

s = MixedIntegerLinearProgram(solver='Gurobi')

then I get "No module named gurobi_backend"

Since running make takes such a long time, I am not keen on the 
trial-and-error approach to solving this. Does anyone has tested and 
reliable instructions?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/afa21eff-c1d1-47eb-b970-d1a6829b7e7c%40googlegroups.com.

Reply via email to