scip_iisfinder.c
Go to the documentation of this file.
32/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
44 * @note this method has all IIS finder callbacks as arguments and is thus changed every time a new
45 * callback is added in future releases; consider using SCIPincludeIISfinderBasic() and setter functions
53 SCIP_DECL_IISFINDERCOPY ((*iisfindercopy)), /**< copy method of IIS finder or NULL if you don't want to copy your plugin into sub-SCIPs */
61 SCIP_CALL( SCIPcheckStage(scip, "SCIPincludeIISfinder", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE) );
70 SCIP_CALL( SCIPiisfinderCreate(&iisfinder, scip->set, scip->messagehdlr, scip->mem->setmem, name, desc, priority,
79 * All non-fundamental (or optional) callbacks as, e.g., copy and free callbacks, will be set to NULL. Optional
80 * callbacks can be set via specific setter functions, see SCIPsetIISfinderCopy(), and SCIPsetIISfinderFree()
82 * @note if you want to set all callbacks with a single method call, consider using SCIPincludeIISfinder() instead
96 SCIP_CALL( SCIPcheckStage(scip, "SCIPincludeIISfinderBasic", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE) );
105 SCIP_CALL( SCIPiisfinderCreate(&iisfinderptr, scip->set, scip->messagehdlr, scip->mem->setmem, name, desc, priority,
119 SCIP_DECL_IISFINDERCOPY ((*iisfindercopy)) /**< copy method of IIS finder or NULL if you don't want to copy your plugin into sub-SCIPs */
122 SCIP_CALL( SCIPcheckStage(scip, "SCIPsetIISfinderCopy", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE) );
138 SCIP_CALL( SCIPcheckStage(scip, "SCIPsetIISfinderFree", TRUE, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE) );
236 SCIP_CALL_ABORT( SCIPcheckStage(scip, "SCIPgetIIS", TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, FALSE) );
methods for debugging
#define SCIPcheckStage(scip, method, init, problem, transforming, transformed, initpresolve, presolving, exitpresolve, presolved, initsolve, solving, solved, exitsolve, freetrans, freescip)
Definition: debug.h:364
SCIP_IISFINDER * SCIPfindIISfinder(SCIP *scip, const char *name)
Definition: scip_iisfinder.c:159
SCIP_RETCODE SCIPsetIISfinderCopy(SCIP *scip, SCIP_IISFINDER *iisfinder, SCIP_DECL_IISFINDERCOPY((*iisfindercopy)))
Definition: scip_iisfinder.c:116
SCIP_RETCODE SCIPsetIISfinderPriority(SCIP *scip, SCIP_IISFINDER *iisfinder, int priority)
Definition: scip_iisfinder.c:196
SCIP_RETCODE SCIPincludeIISfinderBasic(SCIP *scip, SCIP_IISFINDER **iisfinder, const char *name, const char *desc, int priority, SCIP_DECL_IISFINDEREXEC((*iisfinderexec)), SCIP_IISFINDERDATA *iisfinderdata)
Definition: scip_iisfinder.c:84
SCIP_RETCODE SCIPsetIISfinderFree(SCIP *scip, SCIP_IISFINDER *iisfinder, SCIP_DECL_IISFINDERFREE((*iisfinderfree)))
Definition: scip_iisfinder.c:132
SCIP_RETCODE SCIPincludeIISfinder(SCIP *scip, const char *name, const char *desc, int priority, SCIP_DECL_IISFINDERCOPY((*iisfindercopy)), SCIP_DECL_IISFINDERFREE((*iisfinderfree)), SCIP_DECL_IISFINDEREXEC((*iisfinderexec)), SCIP_IISFINDERDATA *iisfinderdata)
Definition: scip_iisfinder.c:48
SCIP_RETCODE SCIPiisfinderCreate(SCIP_IISFINDER **iisfinder, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int priority, SCIP_DECL_IISFINDERCOPY((*iisfindercopy)), SCIP_DECL_IISFINDERFREE((*iisfinderfree)), SCIP_DECL_IISFINDEREXEC((*iisfinderexec)), SCIP_IISFINDERDATA *iisfinderdata)
Definition: iisfinder.c:285
void SCIPiisfinderSetPriority(SCIP_IISFINDER *iisfinder, SCIP_SET *set, int priority)
Definition: iisfinder.c:689
void SCIPiisfinderSetFree(SCIP_IISFINDER *iisfinder, SCIP_DECL_IISFINDERFREE((*iisfinderfree)))
Definition: iisfinder.c:678
void SCIPiisfinderSetCopy(SCIP_IISFINDER *iisfinder, SCIP_DECL_IISFINDERCOPY((*iisfindercopy)))
Definition: iisfinder.c:667
internal methods for IIS finder
Definition: multiprecision.hpp:66
public methods for message output
public methods for IIS finder plugins
SCIP_IISFINDER * SCIPsetFindIISfinder(SCIP_SET *set, const char *name)
Definition: set.c:5217
SCIP_RETCODE SCIPsetIncludeIISfinder(SCIP_SET *set, SCIP_IISFINDER *iisfinder)
Definition: set.c:5194
internal methods for global SCIP settings
Definition: struct_iisfinder.h:59
Definition: struct_iisfinder.h:46
Definition: struct_scip.h:72
datastructures for block memory pools and memory buffers
SCIP main data structure.