Here I let you two links as reference about the relative MIP gap tolerance and the absolute MIP gap tolerance. Relative MIP gap tolerance: https://www.ibm.com/docs/en/icos/12.10.0?topic=parameters-relative-mip-gap-tolerance Absolute MIP gap tolerance: https://www.ibm.com/docs/en/icos/12.8.0.0?topic=parameters-absolute-mip-gap-tolerance You can add one of these instructions to your code.