-
How to turn off presolving?
R:
SCIPsetPresolving(scip, SCIP_PARAMSETTING_OFF, true)
, ref. -
How to write the problem to file?
R: Use
SCIPwriteOrigProblem()
for writing the original problem andSCIPwriteTransProblem()
for the transformed problem in the current node. ref. -
How to turn off presolving?
R:SCIPsetPresolving(scip, SCIP_PARAMSETTING_OFF, true)
, ref. -
Warning when catching and dropping event.
R: If nofilterpos
argument inSCIPdropEvent
, a -1 should be used.SCIP_CALL( SCIPcatchEvent( scip, SCIP_EVENTTYPE_BESTSOLFOUND, eventhdlr, NULL, NULL) ); SCIP_CALL( SCIPdropEvent( scip, SCIP_EVENTTYPE_BESTSOLFOUND, eventhdlr, NULL, -1) );
-
SCIP only throws atomic events. The event in the
SCIPcatchEvent()
function can be a composite one, but when in theEVENTEXEC
function, keep in mind that the output ofSCIPeventGetType()
is an atomic event (don't doif(SCIPeventGetType(scip) == SCIP_EVENTTYPE_NODESOLVED)
).
[SCIP tips] A few SCIP tips that were a bit difficult to find, at least for me #scip
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment