I cannot figure out how to set a MIP gap threshold such that the solver will terminate when the relative difference between the primal and dual solutions is within some value. I am using PySCIPOpt to interact with SCIP.
I am sure there is a simple way (for example if I were using Gurobi's python interface it is just m.Params.MIPGap = x
, where m
is the model instance).
Any help is greatly appreciated!