78 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPincludeCompr",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
116 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPincludeComprBasic",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
147 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprCopy",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
163 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprFree",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
179 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprInit",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
195 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprExit",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
211 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprInitsol",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
227 SCIP_CALL(
SCIPcheckStage(
scip,
"SCIPsetComprExitsol",
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE) );
259 return scip->set->comprs;
270 return scip->set->ncomprs;
void SCIPcomprSetExitsol(SCIP_COMPR *compr,)
void SCIPcomprSetInit(SCIP_COMPR *compr,)
void SCIPcomprSetExit(SCIP_COMPR *compr,)
void SCIPcomprSetPriority(SCIP_COMPR *compr, SCIP_SET *set, int priority)
SCIP_RETCODE SCIPcomprCreate(SCIP_COMPR **compr, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int priority, int minnnodes, SCIP_DECL_COMPRCOPY((*comprcopy)), SCIP_DECL_COMPRFREE((*comprfree)), SCIP_DECL_COMPRINIT((*comprinit)), SCIP_DECL_COMPREXIT((*comprexit)), SCIP_DECL_COMPRINITSOL((*comprinitsol)), SCIP_DECL_COMPREXITSOL((*comprexitsol)), SCIP_DECL_COMPREXEC((*comprexec)), SCIP_COMPRDATA *comprdata)
void SCIPcomprSetCopy(SCIP_COMPR *compr,)
void SCIPcomprSetFree(SCIP_COMPR *compr,)
void SCIPcomprSetInitsol(SCIP_COMPR *compr,)
internal methods for tree compressions
SCIP_RETCODE SCIPcheckStage(SCIP *scip, const char *method, SCIP_Bool init, SCIP_Bool problem, SCIP_Bool transforming, SCIP_Bool transformed, SCIP_Bool initpresolve, SCIP_Bool presolving, SCIP_Bool exitpresolve, SCIP_Bool presolved, SCIP_Bool initsolve, SCIP_Bool solving, SCIP_Bool solved, SCIP_Bool exitsolve, SCIP_Bool freetrans, SCIP_Bool freescip)
SCIP_RETCODE SCIPsetComprPriority(SCIP *scip, SCIP_COMPR *compr, int priority)
SCIP_RETCODE SCIPsetComprInit(SCIP *scip, SCIP_COMPR *compr,)
SCIP_RETCODE SCIPincludeCompr(SCIP *scip, const char *name, const char *desc, int priority, int minnnodes, SCIP_DECL_COMPRCOPY((*comprcopy)), SCIP_DECL_COMPRFREE((*comprfree)), SCIP_DECL_COMPRINIT((*comprinit)), SCIP_DECL_COMPREXIT((*comprexit)), SCIP_DECL_COMPRINITSOL((*comprinitsol)), SCIP_DECL_COMPREXITSOL((*comprexitsol)), SCIP_DECL_COMPREXEC((*comprexec)), SCIP_COMPRDATA *comprdata)
SCIP_RETCODE SCIPincludeComprBasic(SCIP *scip, SCIP_COMPR **compr, const char *name, const char *desc, int priority, int minnnodes, SCIP_DECL_COMPREXEC((*comprexec)), SCIP_COMPRDATA *comprdata)
SCIP_RETCODE SCIPsetComprCopy(SCIP *scip, SCIP_COMPR *compr,)
SCIP_RETCODE SCIPsetComprFree(SCIP *scip, SCIP_COMPR *compr,)
int SCIPgetNCompr(SCIP *scip)
SCIP_COMPR * SCIPfindCompr(SCIP *scip, const char *name)
SCIP_RETCODE SCIPsetComprExitsol(SCIP *scip, SCIP_COMPR *compr,)
SCIP_RETCODE SCIPsetComprInitsol(SCIP *scip, SCIP_COMPR *compr,)
SCIP_RETCODE SCIPsetComprExit(SCIP *scip, SCIP_COMPR *compr,)
SCIP_COMPR ** SCIPgetComprs(SCIP *scip)
assert(minobj< SCIPgetCutoffbound(scip))
public methods for message output
public methods for compression plugins
SCIP_COMPR * SCIPsetFindCompr(SCIP_SET *set, const char *name)
void SCIPsetSortComprs(SCIP_SET *set)
SCIP_RETCODE SCIPsetIncludeCompr(SCIP_SET *set, SCIP_COMPR *compr)
internal methods for global SCIP settings
datastructures for block memory pools and memory buffers
SCIP main data structure.
datastructures for global SCIP settings
#define SCIP_DECL_COMPREXITSOL(x)
struct SCIP_ComprData SCIP_COMPRDATA
#define SCIP_DECL_COMPRFREE(x)
#define SCIP_DECL_COMPREXEC(x)
#define SCIP_DECL_COMPREXIT(x)
#define SCIP_DECL_COMPRINIT(x)
#define SCIP_DECL_COMPRINITSOL(x)
#define SCIP_DECL_COMPRCOPY(x)
enum SCIP_Retcode SCIP_RETCODE