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:
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?