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
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsBasicSetpart(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9096
Definition: struct_scip.h:59
SCIP_EXPORT SCIP_Real SCIPgetDualsolSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9318
SCIP_EXPORT SCIP_Real SCIPgetDualfarkasSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9344
SCIP_EXPORT int SCIPgetNFixedzerosSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9419
Definition: cons_setppc.h:80
SCIP_EXPORT SCIP_RETCODE SCIPaddCoefSetppc(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var)
Definition: cons_setppc.c:9227
Definition: struct_var.h:198
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsBasicSetpack(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9154
Definition: cons_setppc.h:79
SCIP_EXPORT SCIP_VAR ** SCIPgetVarsSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9273
type definitions for return codes for SCIP methods
SCIP_EXPORT SCIP_ROW * SCIPgetRowSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9372
type definitions for LP management
Definition: struct_cons.h:37
type definitions for SCIP's main datastructure
Definition: cons_setppc.h:78
type definitions for problem variables
SCIP_EXPORT 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
SCIP_EXPORT int SCIPgetNFixedonesSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9395
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrSetppc(SCIP *scip)
Definition: cons_setppc.c:8956
SCIP_EXPORT 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_lp.h:192
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsBasicSetcover(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars)
Definition: cons_setppc.c:9212
SCIP_EXPORT SCIP_RETCODE SCIPcleanupConssSetppc(SCIP *scip, SCIP_Bool onlychecked, SCIP_Bool *infeasible, int *naddconss, int *ndelconss, int *nchgcoefs, int *nfixedvars)
Definition: cons_setppc.c:9442
SCIP_EXPORT int SCIPgetNVarsSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9250
SCIP_EXPORT SCIP_SETPPCTYPE SCIPgetTypeSetppc(SCIP *scip, SCIP_CONS *cons)
Definition: cons_setppc.c:9296
SCIP_EXPORT 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
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33
type definitions for constraints and constraint handlers