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 * For a set of binary variables \f$x_i, i=1,\dots,n\f$, a set partitioning constraint has the form 38 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 53 SCIP_SETPPCTYPE_PARTITIONING = 0, /**< constraint is a set partitioning constraint: sum(x) == 1 */ 59 /** creates the handler for set partitioning / packing / covering constraints and includes it in SCIP */ 67 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 96 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even 102 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set 107 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 120 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 149 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even 155 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set 160 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 173 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 202 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even 208 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set 213 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons() 253 /** gets the dual solution of the set partitioning / packing / covering constraint in the current LP */ 260 /** gets the dual Farkas value of the set partitioning / packing / covering constraint in the current infeasible LP */ 267 /** returns the linear relaxation of the given set partitioning / packing / covering constraint; may return NULL if no Definition: cons_setppc.h:54 int SCIPgetNVarsSetppc(SCIP *scip, SCIP_CONS *cons) SCIP_ROW * SCIPgetRowSetppc(SCIP *scip, SCIP_CONS *cons) 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) 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) SCIP_Real SCIPgetDualsolSetppc(SCIP *scip, SCIP_CONS *cons) Definition: cons_setppc.h:55 SCIP_RETCODE SCIPaddCoefSetppc(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var) SCIP_RETCODE SCIPincludeConshdlrSetppc(SCIP *scip) SCIP_VAR ** SCIPgetVarsSetppc(SCIP *scip, SCIP_CONS *cons) int SCIPgetNFixedzerosSetppc(SCIP *scip, SCIP_CONS *cons) Definition: cons_setppc.h:53 int SCIPgetNFixedonesSetppc(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPcreateConsBasicSetpart(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars) SCIP_Real SCIPgetDualfarkasSetppc(SCIP *scip, SCIP_CONS *cons) 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) SCIP_RETCODE SCIPcreateConsBasicSetpack(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars) Definition: objbranchrule.h:33 SCIP_RETCODE SCIPcreateConsBasicSetcover(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars) SCIP_SETPPCTYPE SCIPgetTypeSetppc(SCIP *scip, SCIP_CONS *cons) SCIP callable library. |