|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionweakcompr tree compression Definition in file compr_weakcompr.c. #include <assert.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 31 of file compr_weakcompr.c. Referenced by constructCompression(), SCIP_DECL_COMPREXEC(), and SCIPincludeComprWeakcompr().
Definition at line 32 of file compr_weakcompr.c. Referenced by 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 36 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 61 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 88 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 113 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(), 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 360 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().
destructor of tree compression to free user data (called when SCIP is exiting) Definition at line 398 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 416 of file compr_weakcompr.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcomprGetData(), SCIPdeleteReoptnode(), and SCIPfreeMemoryArray.
execution method of tree compression Definition at line 451 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 493 of file compr_weakcompr.c. References COMPR_DESC, COMPR_MINNNODES, COMPR_NAME, COMPR_PRIORITY, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPincludeComprBasic(), SCIPsetComprExit(), and SCIPsetComprFree(). Referenced by SCIPincludeDefaultPlugins(). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||