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:
Download sage_numerical_backends_gurobi-9.0.0.tar.gz
frrom the project page and unpack it.
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
.
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.
Pack everything into sage_numerical_backends_gurobi-9.0.1.tar.gz
Follow this answer on how to install a package custom version in Sage.