cons_setppc.h
Go to the documentation of this file.
18 * @brief Constraint handler for the set partitioning / packing / covering constraints \f$1^T x\ \{=, \le, \ge\}\ 1\f$.
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
42 /** creates the handler for set partitioning / packing / covering constraints and includes it in SCIP
61 * For a set of binary variables \f$x_i, i=1,\dots,n\f$, a set partitioning constraint has the form
78 SCIP_SETPPCTYPE_PARTITIONING = 0, /**< constraint is a set partitioning constraint: sum(x) == 1 */
86 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
115 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
121 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
126 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
139 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
168 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
174 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
179 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
192 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
221 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
227 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
232 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
272 /** gets the dual solution of the set partitioning / packing / covering constraint in the current LP */
279 /** gets the dual Farkas value of the set partitioning / packing / covering constraint in the current infeasible LP */
286 /** 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:9405
SCIP_RETCODE SCIPaddCoefSetppc(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var)
Definition: cons_setppc.c:9227
Definition: struct_scip.h:58
SCIP_RETCODE SCIPincludeConshdlrSetppc(SCIP *scip)
Definition: cons_setppc.c:8956
int SCIPgetNFixedonesSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9383
Definition: cons_setppc.h:80
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:9172
Definition: struct_var.h:198
Definition: cons_setppc.h:79
type definitions for return codes for SCIP methods
SCIP_Real SCIPgetDualfarkasSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9336
type definitions for LP management
Definition: struct_cons.h:37
SCIP_Real SCIPgetDualsolSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9312
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:9154
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:9056
Definition: cons_setppc.h:78
SCIP_RETCODE SCIPcreateConsBasicSetcover(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9212
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:9114
SCIP_SETPPCTYPE SCIPgetTypeSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9292
Definition: struct_lp.h:192
SCIP_ROW * SCIPgetRowSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9362
SCIP_VAR ** SCIPgetVarsSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9271
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:9096
Definition: objbenders.h:33
type definitions for constraints and constraint handlers