All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cons_and.h
Go to the documentation of this file.
18 * @brief Constraint handler for "and" constraints, \f$r = x_1 \wedge x_2 \wedge \dots \wedge x_n\f$
29 * where \f$x_i\f$ is a binary variable for all \f$i\f$. Hence, \f$r\f$ is also of binary type. The variable \f$r\f$ is
33 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
53 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
83 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
89 * in its most basic version, i. e., all constraint flags are set to their basic value as explained for the
94 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
141 /** when 'upgrading' the given and-constraint, should the check flag for the upgraded constraint be set to TRUE, even if
153 /** when 'upgrading' the given and-constraint, should the removable flag for the upgraded constraint be set to FALSE,
SCIP_RETCODE SCIPincludeConshdlrAnd(SCIP *scip) SCIP_RETCODE SCIPsortAndCons(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPchgAndConsCheckFlagWhenUpgr(SCIP *scip, SCIP_CONS *cons, SCIP_Bool flag) SCIP_VAR * SCIPgetResultantAnd(SCIP *scip, SCIP_CONS *cons) SCIP_VAR ** SCIPgetVarsAnd(SCIP *scip, SCIP_CONS *cons) SCIP_Bool SCIPisAndConsSorted(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPcreateConsAnd(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *resvar, int nvars, SCIP_VAR **vars, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode) SCIP_RETCODE SCIPchgAndConsRemovableFlagWhenUpgr(SCIP *scip, SCIP_CONS *cons, SCIP_Bool flag) int SCIPgetNVarsAnd(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPcreateConsBasicAnd(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *resvar, int nvars, SCIP_VAR **vars) SCIP callable library. |