Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I've figured it out. I cannot say it was hard, but it was not that easy either. Here are the steps:

  1. Download sage_numerical_backends_gurobi-9.0.0.tar.gz frrom the project page and unpack it.

  2. Since we are going to modify the package content, it's worth to change the version number to 9.0.1 in the package directory name and files VERSION and PKG-INFO.

  3. In file gurobi_backend.pyx add "IntegralityFocus" : "int" to the content of parameters_type, which is essentially a dict with allowed parameters mapped to their types.

  4. Pack everything into sage_numerical_backends_gurobi-9.0.1.tar.gz

  5. Follow this answer on how to install a package custom version in Sage.