SCIP Relative MIP Relative Min Gap: Different Objective Values per Run #3417
Unanswered
Jiw0on
asked this question in
Linear Solver questions
Replies: 1 comment 4 replies
-
why don't you ask the scip team ? Are you hitting the time limit ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
Currently I'm running a project where I utilize the relative min gap parameter to find the best possible solution under specified time limit and gap of 10%.
gap = 0.1
solverParams = pywraplp.MPSolverParameters()
solverParams.SetDoubleParam(solverParams.RELATIVE_MIP_GAP, gap)
When I run various instances of the LP, I get drastically different objective values ranging anywhere from 9100 to 300000, where 300000 is what I ideally like to be around as it maximizes my objective function. My constraints do not change at any point . I understand the concepts associated with the relative gap defined by SCIP which is defined as:
relative gap = |primal - dual|/MIN(|dual|,|primal|),
but my underlying question is if the dual constructed by the program is cherry picking constraints that place it at a local maxima which is the reason why the objective value sometimes hangs around 9000 depending on the run. I've experimented with different time limits and different gap values, but the results seem to vary among all the runs. Any sort of insights would be very much appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions