All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
prop_rootredcost.c File Reference Detailed Descriptionreduced cost strengthening using root node reduced costs and the cutoff bound This propagator uses the root reduced cost to (globally) propagate against the cutoff bound. The propagator checks if the variables with non-zero root reduced cost can exceed the cutoff bound. If this is the case the corresponding bound can be tightened. The propagate is performed during the search any time a new cutoff bound (primal solution) is found. Definition in file prop_rootredcost.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 45 of file prop_rootredcost.c. Referenced by SCIP_DECL_PROPCOPY(), and SCIPincludePropRootredcost().
Definition at line 46 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost().
Definition at line 47 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost().
propagator priority Definition at line 48 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost().
propagator frequency Definition at line 49 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost().
should propagation method be delayed, if other propagators found reductions? Definition at line 50 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost(). Function Documentation
reset structure memember of propagator data structure
Definition at line 78 of file prop_rootredcost.c. References FALSE, NULL, and SCIP_INVALID. Referenced by propdataCreate(), and propdataExit().
compare variables with non-zero reduced cost w.r.t. (i) the cutoff bound which would lead to a fixing (ii) variable problem index; Definition at line 96 of file prop_rootredcost.c. References REALABS, SCIP_Real, SCIPvarCompare(), SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), and SCIPvarIsBinary().
create propagator data structure
Definition at line 127 of file prop_rootredcost.c. References propdataReset(), SCIP_CALL, SCIP_OKAY, and SCIPallocMemory. Referenced by SCIPincludePropRootredcost(). counts the number of variables with non-zero root reduced cost
Definition at line 141 of file prop_rootredcost.c. References NULL, SCIP_Real, SCIPisFeasZero(), and SCIPvarGetBestRootRedcost(). Referenced by propdataInit().
free propagator data
Definition at line 169 of file prop_rootredcost.c. References propdataReset(), SCIP_CALL, SCIP_OKAY, SCIPfreeMemoryArrayNull, and SCIPreleaseVar(). Referenced by SCIP_DECL_PROPEXITSOL().
initializate the propagator
Definition at line 192 of file prop_rootredcost.c. References countNonZeroRootRedcostVars(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocMemoryArray, SCIPcaptureVar(), SCIPdebugMessage, SCIPgetNBinVars(), SCIPgetNVars(), SCIPgetProbName(), SCIPgetVars(), SCIPinfinity(), SCIPisFeasZero(), SCIPsortDownPtr(), SCIPvarGetBestRootRedcost(), SCIPvarIsBinary(), and TRUE. Referenced by SCIP_DECL_PROPEXEC().
propagates the root reduced cost against the cutoff bound for the given variable
Definition at line 292 of file prop_rootredcost.c. References FALSE, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPisFeasGE(), SCIPisFeasLE(), SCIPisFeasNegative(), SCIPisFeasPositive(), SCIPisFeasZero(), SCIPtightenVarLbGlobal(), SCIPtightenVarUbGlobal(), SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), SCIPvarGetBestRootSol(), SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal(). Referenced by propagateBinaryBestRootRedcost(), and SCIP_DECL_PROPEXEC().
propagate binary variables with non-zero root reduced cost
Definition at line 336 of file prop_rootredcost.c. References NULL, propagateRootRedcostVar(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), SCIPvarGetBestRootSol(), SCIPvarGetLbGlobal(), SCIPvarGetName(), and SCIPvarGetUbGlobal(). Referenced by SCIP_DECL_PROPEXEC().
copy method for propagator plugins (called when SCIP copies plugins) Definition at line 483 of file prop_rootredcost.c. References NULL, PROP_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludePropRootredcost(), and SCIPpropGetName().
destructor of propagator to free user data (called when SCIP is exiting) Definition at line 497 of file prop_rootredcost.c. References NULL, SCIP_OKAY, SCIPfreeMemory, SCIPpropGetData(), and SCIPpropSetData().
solving process deinitialization method of propagator (called before branch and bound process data is freed) Definition at line 514 of file prop_rootredcost.c. References NULL, propdataExit(), SCIP_CALL, SCIP_OKAY, and SCIPpropGetData().
execution method of propagator Definition at line 529 of file prop_rootredcost.c. References FALSE, NULL, propagateBinaryBestRootRedcost(), propagateRootRedcostVar(), propdataInit(), SCIP_Bool, SCIP_CALL, SCIP_CUTOFF, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIP_REDUCEDDOM, SCIP_STAGE_SOLVING, SCIPcutoffNode(), SCIPdebugMessage, SCIPgetCutoffbound(), SCIPgetDepth(), SCIPgetLPRootObjval(), SCIPgetNObjVars(), SCIPgetRootNode(), SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), and SCIPpropGetData().
creates the root node reduced cost strengthening propagator and includes it in SCIP
Definition at line 646 of file prop_rootredcost.c. References NULL, PROP_DELAY, PROP_DESC, PROP_FREQ, PROP_NAME, PROP_PRIORITY, PROP_TIMING, propdataCreate(), SCIP_CALL, SCIP_OKAY, SCIPincludePropBasic(), SCIPsetPropCopy(), SCIPsetPropExitsol(), and SCIPsetPropFree(). Referenced by SCIP_DECL_PROPCOPY(), and SCIPincludeDefaultPlugins(). |