Detailed Descriptionweakcompr tree compression Definition in file compr_weakcompr.c. #include <assert.h> #include <string.h> #include "scip/mem.h" #include "scip/misc.h" #include "scip/compr_weakcompr.h" #include "scip/compr.h" #include "scip/pub_reopt.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file compr_weakcompr.c. Referenced by constructCompression(), SCIP_DECL_COMPRCOPY(), SCIP_DECL_COMPREXEC(), and SCIPincludeComprWeakcompr().
Definition at line 33 of file compr_weakcompr.c. Referenced by SCIPincludeComprWeakcompr().
Definition at line 34 of file compr_weakcompr.c. Referenced by SCIPincludeComprWeakcompr().
Definition at line 35 of file compr_weakcompr.c. Referenced by SCIPincludeComprWeakcompr().
Definition at line 37 of file compr_weakcompr.c. Referenced by SCIP_DECL_COMPREXEC(). Function Documentation
sort the ids of child nodes by their dual bound of the last iteration
Definition at line 62 of file compr_weakcompr.c. References SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPfreeBufferArray, SCIPgetReoptnode(), SCIPreoptnodeGetLowerbound(), and SCIPsortDownRealInt(). Referenced by constructCompression().
check of enough memory is allocated and reallocate of necessary.
Definition at line 89 of file compr_weakcompr.c. References NULL, SCIP_CALL, SCIP_OKAY, and SCIPreallocBlockMemoryArray. Referenced by constructCompression().
try to find a good representation
Definition at line 114 of file compr_weakcompr.c. References checkMemSize(), COMPR_NAME, NULL, REOPT_CONSTYPE_STRBRANCHED, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVED, SCIP_SUCCESS, SCIPaddReoptnodeBndchg(), SCIPaddReoptnodeCons(), SCIPallocBlockMemoryArray, SCIPallocBufferArray, SCIPcomprGetMinNodes(), SCIPdebug, SCIPdebugMessage, SCIPfreeBlockMemoryArray, SCIPfreeBufferArray, SCIPgetCurrentNode(), SCIPgetNBinVars(), SCIPgetNReoptLeaves(), SCIPgetReoptLeaveIDs(), SCIPgetReoptnode(), SCIPgetReoptnodePath(), SCIPgetStage(), SCIPinitRepresentation(), SCIPisFeasEQ(), SCIPnodeGetDepth(), SCIPnodeGetNumber(), SCIPreallocBufferArray, SCIPreoptnodeGetConss(), SCIPreoptnodeGetLowerbound(), SCIPreoptnodeGetNConss(), SCIPreoptnodeGetNVars(), and sortIDs(). Referenced by SCIP_DECL_COMPREXEC().
apply the stored representation to the reopttree
Definition at line 362 of file compr_weakcompr.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_SUCCESS, SCIPreoptnodeSetParentID(), and SCIPsetReoptCompression(). Referenced by SCIP_DECL_COMPREXEC().
copy method for tree compression plugins (called when SCIP copies plugins) Definition at line 400 of file compr_weakcompr.c. References COMPR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcomprGetName(), and SCIPincludeComprWeakcompr().
destructor of tree compression to free user data (called when SCIP is exiting) Definition at line 414 of file compr_weakcompr.c. References NULL, SCIP_OKAY, SCIPcomprGetData(), SCIPcomprSetData(), and SCIPfreeMemory.
deinitialization method of tree compression (called before transformed problem is freed) Definition at line 432 of file compr_weakcompr.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcomprGetData(), SCIPdeleteReoptnode(), and SCIPfreeMemoryArray.
execution method of tree compression Definition at line 467 of file compr_weakcompr.c. References applyCompression(), COMPR_NAME, constructCompression(), DEFAULT_MEM_REPR, NULL, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_SUCCESS, SCIPallocClearMemoryArray, SCIPcomprGetData(), SCIPcomprIsInitialized(), SCIPdebugMessage, and TRUE.
creates the weakcompr tree compression and includes it in SCIP
Definition at line 509 of file compr_weakcompr.c. References COMPR_DESC, COMPR_MINNNODES, COMPR_NAME, COMPR_PRIORITY, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPincludeComprBasic(), SCIPsetComprCopy(), SCIPsetComprExit(), and SCIPsetComprFree(). Referenced by SCIP_DECL_COMPRCOPY(), and SCIPincludeDefaultPlugins(). |