All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cons_sos1.h
Go to the documentation of this file.
22 * variable is nonzero. The special case of two variables arises, for instance, from equilibrium or
27 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
51 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
60 SCIP_Real* weights, /**< weights determining the variable order, or NULL if natural order should be used */
78 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
84 * in its most basic variant, i. e., with all constraint flags set to their default values, which can be set
92 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
101 SCIP_Real* weights /**< weights determining the variable order, or NULL if natural order should be used */
SCIP_Real * SCIPgetWeightsSOS1(SCIP *scip, SCIP_CONS *cons) int SCIPgetNVarsSOS1(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPappendVarSOS1(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var) SCIP_VAR ** SCIPgetVarsSOS1(SCIP *scip, SCIP_CONS *cons) SCIP_RETCODE SCIPcreateConsBasicSOS1(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars, SCIP_Real *weights) SCIP_RETCODE SCIPincludeConshdlrSOS1(SCIP *scip) SCIP_RETCODE SCIPcreateConsSOS1(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars, SCIP_Real *weights, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode) SCIP_RETCODE SCIPaddVarSOS1(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real weight) SCIP callable library. |