cons_superindicator.h
Go to the documentation of this file.
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
68 * where \f$ x_i \f$ is a binary variable and \f$ C(\dot) \f$ a constraint. The superindicator constraint is satisfied
74 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
100 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
106 * in its most basic version, i. e., all constraint flags are set to their basic value as explained for the
107 * method SCIPcreateConsSuperindicator(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
109 * @see SCIPcreateConsSuperindicator() for information about the basic constraint flag configuration
111 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
140 /** transforms the current problem into a MinUC problem (minimizing the number of unsatisfied constraints),
Definition: struct_scip.h:58
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrSuperindicator(SCIP *scip)
Definition: cons_superindicator.c:1888
Definition: struct_var.h:198
SCIP_EXPORT SCIP_VAR * SCIPgetBinaryVarSuperindicator(SCIP_CONS *cons)
Definition: cons_superindicator.c:2124
type definitions for return codes for SCIP methods
SCIP_EXPORT SCIP_CONS * SCIPgetSlackConsSuperindicator(SCIP_CONS *cons)
Definition: cons_superindicator.c:2136
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsBasicSuperindicator(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *binvar, SCIP_CONS *slackcons)
Definition: cons_superindicator.c:2102
Definition: struct_cons.h:37
type definitions for SCIP's main datastructure
type definitions for problem variables
SCIP_EXPORT SCIP_RETCODE SCIPtransformMinUC(SCIP *scip, SCIP_Bool *success)
Definition: cons_superindicator.c:2155
type definitions for user interface dialog
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsSuperindicator(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *binvar, SCIP_CONS *slackcons, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode)
Definition: cons_superindicator.c:1991
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33
SCIP_EXPORT SCIP_DECL_DIALOGEXEC(SCIPdialogExecChangeMinUC)
Definition: cons_superindicator.c:2291
type definitions for constraints and constraint handlers