|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
prop.c File Reference Detailed Descriptionmethods and datastructures for propagators Definition in file prop.c. #include <assert.h>#include <string.h>#include "scip/def.h"#include "scip/set.h"#include "scip/stat.h"#include "scip/clock.h"#include "scip/paramset.h"#include "scip/var.h"#include "scip/scip.h"#include "scip/prop.h"#include "scip/pub_message.h"#include "scip/pub_misc.h"#include "scip/struct_prop.h"Go to the source code of this file. Function Documentation
comparison method for sorting propagators w.r.t. to their name Definition at line 55 of file prop.c. References SCIPpropGetName().
method to call, when the priority of a propagator was changed Definition at line 62 of file prop.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPparamGetData(), SCIPparamGetInt(), and SCIPsetPropPriority().
method to call, when the presolving priority of a propagator was changed Definition at line 77 of file prop.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPparamGetData(), SCIPparamGetInt(), and SCIPsetPropPresolPriority().
copies the given propagator to a new scip
Definition at line 91 of file prop.c. References NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPpropGetName().
creates a propagator
Definition at line 109 of file prop.c. References BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, paramname, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PROPTIMING_AFTERLPLOOP, SCIP_PROPTIMING_ALWAYS, SCIP_PROPTIMING_BEFORELP, SCIP_PROPTIMING_DURINGLPLOOP, SCIPclockCreate(), SCIPsetAddBoolParam(), SCIPsetAddIntParam(), SCIPsnprintf(), and TRUE. Referenced by SCIPincludeProp(), and SCIPincludePropBasic().
calls destructor and frees memory of propagator
Definition at line 218 of file prop.c. References BMSfreeMemory, BMSfreeMemoryArray, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPclockFree().
initializes propagator
Definition at line 247 of file prop.c. References FALSE, SCIP_Prop::initialized, SCIP_Prop::lastnaddconss, SCIP_Prop::lastnaddholes, SCIP_Prop::lastnaggrvars, SCIP_Prop::lastnchgbds, SCIP_Prop::lastnchgcoefs, SCIP_Prop::lastnchgsides, SCIP_Prop::lastnchgvartypes, SCIP_Prop::lastndelconss, SCIP_Prop::lastnfixedvars, SCIP_Prop::lastnupgdconss, SCIP_Set::misc_resetstat, SCIP_Prop::naddconss, SCIP_Prop::naddholes, SCIP_Prop::naggrvars, SCIP_Prop::name, SCIP_Prop::ncalls, SCIP_Prop::nchgbds, SCIP_Prop::nchgcoefs, SCIP_Prop::nchgsides, SCIP_Prop::nchgvartypes, SCIP_Prop::ncutoffs, SCIP_Prop::ndelconss, SCIP_Prop::ndomredsfound, SCIP_Prop::nfixedvars, SCIP_Prop::npresolcalls, SCIP_Prop::nrespropcalls, NULL, SCIP_Prop::nupgdconss, SCIP_Prop::presoltime, SCIP_Prop::presolwasdelayed, SCIP_Prop::proptime, SCIP_Prop::resproptime, SCIP_Prop::sbproptime, SCIP_Set::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Prop::setuptime, TRUE, and SCIP_Prop::wasdelayed.
calls exit method of propagator
Definition at line 314 of file prop.c. References FALSE, SCIP_Prop::initialized, SCIP_Prop::name, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Prop::setuptime.
informs propagator that the presolving process is being started
Definition at line 344 of file prop.c. References FALSE, SCIP_Prop::lastnaddconss, SCIP_Prop::lastnaddholes, SCIP_Prop::lastnaggrvars, SCIP_Prop::lastnchgbds, SCIP_Prop::lastnchgcoefs, SCIP_Prop::lastnchgsides, SCIP_Prop::lastnchgvartypes, SCIP_Prop::lastndelconss, SCIP_Prop::lastnfixedvars, SCIP_Prop::lastnupgdconss, NULL, SCIP_Prop::presolwasdelayed, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Prop::setuptime, and SCIP_Prop::wasdelayed.
informs propagator that the presolving process is finished
Definition at line 381 of file prop.c. References NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Prop::setuptime.
informs propagator that the prop and bound process is being started
Definition at line 405 of file prop.c. References NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Prop::setuptime.
informs propagator that the prop and bound process data is being freed
Definition at line 429 of file prop.c. References NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Prop::setuptime.
executes presolving method of propagator
Definition at line 454 of file prop.c. References SCIP_Prop::lastnaddconss, SCIP_Prop::lastnaddholes, SCIP_Prop::lastnaggrvars, SCIP_Prop::lastnchgbds, SCIP_Prop::lastnchgcoefs, SCIP_Prop::lastnchgsides, SCIP_Prop::lastnchgvartypes, SCIP_Prop::lastndelconss, SCIP_Prop::lastnfixedvars, SCIP_Prop::lastnupgdconss, SCIP_Prop::maxprerounds, SCIP_Prop::naddconss, SCIP_Prop::naddholes, SCIP_Prop::naggrvars, SCIP_Prop::name, SCIP_Prop::nchgbds, SCIP_Prop::nchgcoefs, SCIP_Prop::nchgsides, SCIP_Prop::nchgvartypes, SCIP_Prop::ndelconss, SCIP_Prop::nfixedvars, SCIP_Prop::npresolcalls, NULL, SCIP_Prop::nupgdconss, SCIP_Prop::presoldelay, SCIP_Prop::presoltime, SCIP_Prop::presolwasdelayed, SCIP_Set::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIP_UNBOUNDED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, and SCIPerrorMessage. Referenced by presolveRound().
calls execution method of propagator
Definition at line 589 of file prop.c. References SCIP_Prop::delay, SCIP_Prop::freq, SCIP_Prop::name, SCIP_Stat::nboundchgs, SCIP_Prop::ncalls, SCIP_Prop::ncutoffs, SCIP_Prop::ndomredsfound, SCIP_Stat::nholechgs, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, NULL, SCIP_Prop::proptime, SCIP_Prop::sbproptime, SCIP_Set::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, and SCIP_Prop::wasdelayed. Referenced by propagationRound().
resolves the given conflicting bound, that was deduced by the given propagator, by putting all "reason" bounds leading to the deduction into the conflict queue with calls to SCIPaddConflictLb(), SCIPaddConflictUb(), SCIPaddConflictBd(), SCIPaddConflictRelaxedLb(), SCIPaddConflictRelaxedUb(), SCIPaddConflictRelaxedBd(), or SCIPaddConflictBinvar();
Definition at line 680 of file prop.c. References SCIP_Prop::name, SCIP_Prop::nrespropcalls, NULL, SCIP_Prop::resproptime, SCIP_Set::scip, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_SUCCESS, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIPvarGetLbAtIndex(), SCIPvarGetLbGlobal(), SCIPvarGetUbAtIndex(), SCIPvarGetUbGlobal(), and TRUE. Referenced by conflictResolveBound().
gets user data of propagator
Definition at line 733 of file prop.c. References NULL, and SCIP_Prop::propdata. Referenced by applyGenVBounds(), initData(), propagateCutoffboundBinvar(), propagateCutoffboundBinvars(), propagateCutoffboundGlobally(), propagateVbounds(), SCIP_DECL_PROPCOPY(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPEXIT(), SCIP_DECL_PROPEXITPRE(), SCIP_DECL_PROPEXITSOL(), SCIP_DECL_PROPFREE(), SCIP_DECL_PROPINIT(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_PROPINITSOL(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_PROPRESPROP(), SCIPfindObjProp(), SCIPgenVBoundAdd(), SCIPgetObjProp(), and SCIPisPropagatedVbounds().
sets user data of propagator; user has to free old data in advance!
Definition at line 743 of file prop.c. References NULL, and SCIP_Prop::propdata. Referenced by SCIP_DECL_PROPFREE().
sets copy method of propagator
Definition at line 754 of file prop.c. References NULL. Referenced by SCIPsetPropCopy().
sets destructor method of propagator
Definition at line 765 of file prop.c. References NULL. Referenced by SCIPsetPropFree().
sets initialization method of propagator
Definition at line 776 of file prop.c. References NULL. Referenced by SCIPsetPropInit().
sets deinitialization method of propagator
Definition at line 787 of file prop.c. References NULL. Referenced by SCIPsetPropExit().
sets solving process initialization method of propagator
Definition at line 798 of file prop.c. References NULL. Referenced by SCIPsetPropInitsol().
sets solving process deinitialization method of propagator
Definition at line 809 of file prop.c. References NULL. Referenced by SCIPsetPropExitsol().
sets preprocessing initialization method of propagator
Definition at line 820 of file prop.c. References NULL. Referenced by SCIPsetPropInitpre().
sets preprocessing deinitialization method of propagator
Definition at line 833 of file prop.c. References NULL. Referenced by SCIPsetPropExitpre().
sets presolving method of propagator
Definition at line 844 of file prop.c. References SCIP_Prop::maxprerounds, NULL, SCIP_Prop::presoldelay, and SCIP_Prop::presolpriority. Referenced by SCIPsetPropPresol().
sets propagation conflict resolving callback of propagator
Definition at line 861 of file prop.c. References NULL. Referenced by SCIPsetPropResprop().
gets name of propagator
Definition at line 872 of file prop.c. References SCIP_Prop::name, and NULL. Referenced by conflictAddBound(), conflictResolveBound(), paramsetSetPresolvingDefault(), paramsetSetPresolvingOff(), presolveRound(), printPresolverStatistics(), printPropagatorStatistics(), propagationRound(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_PROPCOPY(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_SORTPTRCOMP(), SCIPboundchgApply(), SCIPgenVBoundAdd(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPpropCopyInclude(), SCIPsetPropPresol(), varAddLbchginfo(), and varAddUbchginfo().
gets description of propagator
Definition at line 882 of file prop.c. References SCIP_Prop::desc, and NULL. Referenced by SCIP_DECL_DIALOGEXEC().
gets priority of propagator
Definition at line 892 of file prop.c. References NULL, and SCIP_Prop::priority. Referenced by propagationRound(), and SCIP_DECL_DIALOGEXEC().
gets presolving priority of propagator
Definition at line 902 of file prop.c. References NULL, and SCIP_Prop::presolpriority. Referenced by presolveRound(), and SCIP_DECL_DIALOGEXEC(). sets priority of propagator
Definition at line 912 of file prop.c. References FALSE, NULL, SCIP_Prop::priority, and SCIP_Set::propssorted. Referenced by SCIPsetPropPriority(). sets presolving priority of propagator
Definition at line 926 of file prop.c. References FALSE, NULL, SCIP_Prop::presolpriority, and SCIP_Set::propspresolsorted. Referenced by SCIPsetPropPresolPriority().
gets frequency of propagator
Definition at line 940 of file prop.c. References SCIP_Prop::freq, and NULL. Referenced by SCIP_DECL_DIALOGEXEC(). enables or disables all clocks of
Definition at line 950 of file prop.c. References NULL, SCIP_Prop::presoltime, SCIP_Prop::proptime, SCIP_Prop::resproptime, SCIP_Prop::sbproptime, SCIPclockEnableOrDisable(), and SCIP_Prop::setuptime. gets time in seconds used for setting up this propagator for new stages
Definition at line 965 of file prop.c. References NULL, SCIPclockGetTime(), and SCIP_Prop::setuptime. Referenced by printPresolverStatistics(), and printPropagatorStatistics().
sets frequency of propagator
Definition at line 975 of file prop.c. References SCIP_Prop::freq, and NULL. gets time in seconds used in this propagator for propagation
Definition at line 987 of file prop.c. References NULL, SCIP_Prop::proptime, and SCIPclockGetTime(). Referenced by printPropagatorStatistics(). gets time in seconds used in this propagator for propagation during strong branching
Definition at line 997 of file prop.c. References NULL, SCIP_Prop::sbproptime, and SCIPclockGetTime(). Referenced by printPropagatorStatistics(). gets time in seconds used in this propagator for resolve propagation
Definition at line 1007 of file prop.c. References NULL, SCIP_Prop::resproptime, and SCIPclockGetTime(). Referenced by printPropagatorStatistics(). gets time in seconds used in this propagator for presolving
Definition at line 1017 of file prop.c. References NULL, SCIP_Prop::presoltime, and SCIPclockGetTime(). Referenced by printPresolverStatistics(), and printPropagatorStatistics().
gets the total number of times, the propagator was called
Definition at line 1027 of file prop.c. References SCIP_Prop::ncalls, and NULL. Referenced by printPropagatorStatistics().
gets the total number of times, the propagator was called for resolving a propagation
Definition at line 1037 of file prop.c. References SCIP_Prop::nrespropcalls, and NULL. Referenced by printPropagatorStatistics().
gets total number of times, this propagator detected a cutoff
Definition at line 1047 of file prop.c. References SCIP_Prop::ncutoffs, and NULL. Referenced by printPropagatorStatistics().
gets total number of domain reductions found by this propagator
Definition at line 1057 of file prop.c. References SCIP_Prop::ndomredsfound, and NULL. Referenced by printPropagatorStatistics(). should propagator be delayed, if other propagators found reductions?
Definition at line 1067 of file prop.c. References SCIP_Prop::delay, and NULL. Referenced by SCIP_DECL_DIALOGEXEC(). should propagator be delayed during presolving, if other propagators found reductions?
Definition at line 1077 of file prop.c. References NULL, and SCIP_Prop::presoldelay. Referenced by SCIP_DECL_DIALOGEXEC(). was propagator delayed at the last call?
Definition at line 1087 of file prop.c. References NULL, and SCIP_Prop::wasdelayed. Referenced by propagationRound(). was presolving of propagator delayed at the last call?
Definition at line 1097 of file prop.c. References NULL, and SCIP_Prop::presolwasdelayed. Referenced by presolveRound(). is propagator initialized?
Definition at line 1107 of file prop.c. References SCIP_Prop::initialized, and NULL. Referenced by SCIPsetFindSepa().
gets number of variables fixed during presolving of propagator
Definition at line 1117 of file prop.c. References SCIP_Prop::nfixedvars, and NULL. Referenced by printPresolverStatistics().
gets number of variables aggregated during presolving of propagator
Definition at line 1127 of file prop.c. References SCIP_Prop::naggrvars, and NULL. Referenced by printPresolverStatistics().
gets number of variable types changed during presolving of propagator
Definition at line 1137 of file prop.c. References SCIP_Prop::nchgvartypes, and NULL. Referenced by printPresolverStatistics().
gets number of bounds changed during presolving of propagator
Definition at line 1147 of file prop.c. References SCIP_Prop::nchgbds, and NULL. Referenced by printPresolverStatistics().
gets number of holes added to domains of variables during presolving of propagator
Definition at line 1157 of file prop.c. References SCIP_Prop::naddholes, and NULL. Referenced by printPresolverStatistics().
gets number of constraints deleted during presolving of propagator
Definition at line 1167 of file prop.c. References SCIP_Prop::ndelconss, and NULL. Referenced by printPresolverStatistics().
gets number of constraints added during presolving of propagator
Definition at line 1177 of file prop.c. References SCIP_Prop::naddconss, and NULL. Referenced by printPresolverStatistics().
gets number of constraints upgraded during presolving of propagator
Definition at line 1187 of file prop.c. References NULL, and SCIP_Prop::nupgdconss.
gets number of coefficients changed during presolving of propagator
Definition at line 1197 of file prop.c. References SCIP_Prop::nchgcoefs, and NULL. Referenced by printPresolverStatistics().
gets number of constraint sides changed during presolving of propagator
Definition at line 1207 of file prop.c. References SCIP_Prop::nchgsides, and NULL. Referenced by printPresolverStatistics().
gets number of times the propagator was called in presolving and tried to find reductions
Definition at line 1217 of file prop.c. References SCIP_Prop::npresolcalls, and NULL. Referenced by printPresolverStatistics().
returns the timing mask of the propagator
Definition at line 1227 of file prop.c. References NULL, and SCIP_Prop::timingmask. Referenced by propagationRound(). |