cons_setppc.h
Go to the documentation of this file.
27 * @brief Constraint handler for the set partitioning / packing / covering constraints \f$1^T x\ \{=, \le, \ge\}\ 1\f$.
33 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
51 /** creates the handler for set partitioning / packing / covering constraints and includes it in SCIP
70 * For a set of binary variables \f$x_i, i=1,\dots,n\f$, a set partitioning constraint has the form
87 SCIP_SETPPCTYPE_PARTITIONING = 0, /**< constraint is a set partitioning constraint: sum(x) == 1 */
95 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
124 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
130 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
135 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
148 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
177 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
183 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
188 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
201 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
230 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
236 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
241 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
281 /** gets the dual solution of the set partitioning / packing / covering constraint in the current LP */
288 /** gets the dual Farkas value of the set partitioning / packing / covering constraint in the current infeasible LP */
295 /** returns the linear relaxation of the given set partitioning / packing / covering constraint; may return NULL if no
int SCIPgetNFixedzerosSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9577
SCIP_RETCODE SCIPaddCoefSetppc(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var)
Definition: cons_setppc.c:9385
Definition: struct_scip.h:68
SCIP_RETCODE SCIPincludeConshdlrSetppc(SCIP *scip)
Definition: cons_setppc.c:9113
int SCIPgetNFixedonesSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9553
Definition: cons_setppc.h:89
SCIP_RETCODE SCIPcreateConsSetcover(SCIP *scip, SCIP_CONS **cons, const char *name, 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)
Definition: cons_setppc.c:9330
Definition: struct_var.h:207
Definition: cons_setppc.h:88
type definitions for return codes for SCIP methods
SCIP_Real SCIPgetDualfarkasSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9502
type definitions for LP management
Definition: struct_cons.h:46
SCIP_Real SCIPgetDualsolSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9476
type definitions for SCIP's main datastructure
SCIP_RETCODE SCIPcreateConsBasicSetpack(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9312
SCIP_RETCODE SCIPcreateConsSetpart(SCIP *scip, SCIP_CONS **cons, const char *name, 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)
Definition: cons_setppc.c:9214
Definition: cons_setppc.h:87
SCIP_RETCODE SCIPcreateConsBasicSetcover(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9370
type definitions for problem variables
SCIP_RETCODE SCIPcreateConsSetpack(SCIP *scip, SCIP_CONS **cons, const char *name, 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)
Definition: cons_setppc.c:9272
SCIP_SETPPCTYPE SCIPgetTypeSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9454
Definition: struct_lp.h:201
SCIP_ROW * SCIPgetRowSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9530
SCIP_VAR ** SCIPgetVarsSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9431
SCIP_RETCODE SCIPcleanupConssSetppc(SCIP *scip, SCIP_Bool onlychecked, SCIP_Bool *infeasible, int *naddconss, int *ndelconss, int *nchgcoefs, int *nfixedvars)
Definition: cons_setppc.c:9600
common defines and data types used in all packages of SCIP
SCIP_RETCODE SCIPcreateConsBasicSetpart(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9254
Definition: objbenders.h:43
type definitions for constraints and constraint handlers