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 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().
should only binary variables be propagated? Definition at line 58 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost().
should the propagator be forced even if active pricer are present? Note that the reductions are always valid, but installing an upper bound on priced variables may lead to problems in pricing (existing variables at their upper bound may be priced again since they may have negative reduced costs) Definition at line 59 of file prop_rootredcost.c. Referenced by SCIPincludePropRootredcost(). Function Documentation
reset structure memember of propagator data structure
Definition at line 95 of file prop_rootredcost.c. References FALSE, NULL, SCIP_DECL_SORTPTRCOMP(), 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 113 of file prop_rootredcost.c. Referenced by propdataReset().
create propagator data structure
Definition at line 144 of file prop_rootredcost.c. References countNonZeroRootRedcostVars(), propdataReset(), SCIP_CALL, SCIP_OKAY, and SCIPallocMemory. Referenced by SCIPincludePropRootredcost(). counts the number of variables with non-zero root reduced cost
Definition at line 158 of file prop_rootredcost.c. References NULL, propdataExit(), SCIP_Real, SCIPisDualfeasZero(), and SCIPvarGetBestRootRedcost(). Referenced by propdataCreate(), and propdataInit().
free propagator data
Definition at line 186 of file prop_rootredcost.c. References propdataInit(), propdataReset(), SCIP_CALL, SCIP_OKAY, SCIPfreeMemoryArrayNull, and SCIPreleaseVar(). Referenced by countNonZeroRootRedcostVars().
initializate the propagator
Definition at line 209 of file prop_rootredcost.c. References countNonZeroRootRedcostVars(), NULL, propagateRootRedcostVar(), SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocMemoryArray, SCIPcaptureVar(), SCIPdebugMessage, SCIPgetNBinVars(), SCIPgetNVars(), SCIPgetProbName(), SCIPgetVars(), SCIPinfinity(), SCIPisDualfeasZero(), SCIPsortDownPtr(), SCIPvarGetBestRootRedcost(), SCIPvarIsBinary(), and TRUE. Referenced by propdataExit().
propagates the root reduced cost against the cutoff bound for the given variable
Definition at line 309 of file prop_rootredcost.c. References FALSE, propagateBinaryBestRootRedcost(), SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPisDualfeasNegative(), SCIPisDualfeasPositive(), SCIPisDualfeasZero(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPtightenVarLbGlobal(), SCIPtightenVarUbGlobal(), SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), SCIPvarGetBestRootSol(), SCIPvarGetLbGlobal(), and SCIPvarGetUbGlobal(). Referenced by propagateBinaryBestRootRedcost(), and propdataInit().
propagate binary variables with non-zero root reduced cost
Definition at line 353 of file prop_rootredcost.c. References NULL, propagateRootRedcostVar(), SCIP_Bool, SCIP_CALL, SCIP_DECL_PROPCOPY(), SCIP_OKAY, SCIPdebugMessage, SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), SCIPvarGetBestRootSol(), SCIPvarGetLbGlobal(), SCIPvarGetName(), and SCIPvarGetUbGlobal(). Referenced by propagateRootRedcostVar().
copy method for propagator plugins (called when SCIP copies plugins) Definition at line 500 of file prop_rootredcost.c. Referenced by propagateBinaryBestRootRedcost().
destructor of propagator to free user data (called when SCIP is exiting) Definition at line 514 of file prop_rootredcost.c.
solving process deinitialization method of propagator (called before branch and bound process data is freed) Definition at line 531 of file prop_rootredcost.c.
execution method of propagator Definition at line 546 of file prop_rootredcost.c.
creates the root node reduced cost strengthening propagator and includes it in SCIP
Definition at line 674 of file prop_rootredcost.c. References DEFAULT_FORCE, DEFAULT_ONLYBINARY, NULL, PROP_DELAY, PROP_DESC, PROP_FREQ, PROP_NAME, PROP_PRIORITY, PROP_TIMING, propdataCreate(), SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPincludePropBasic(), SCIPsetPropCopy(), SCIPsetPropExitsol(), SCIPsetPropFree(), and TRUE. Referenced by SCIPincludeDefaultPlugins(). |