cons_varbound.h
Go to the documentation of this file.
27 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
61 * This constraint handler handles a special type of linear constraints, namely variable bound constraints.
66 * with coefficient \f$c \in Q\f$, \f$lhs\in Q \cup \{-\infty\}\f$, \f$rhs\in Q \cup \{\infty\}\f$,
72 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
104 SCIP_Bool stickingatnode /**< should the constraint always be kept at the node where it was added, even
110 * in its most basic version, i. e., all constraint flags are set to their basic value as explained for the
111 * method SCIPcreateConsVarbound(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
115 * @note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()
178 /** returns the linear relaxation of the given variable bound constraint; may return NULL if no LP row was yet created;
Definition: struct_scip.h:58
SCIP_EXPORT SCIP_Real SCIPgetDualfarkasVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5226
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsBasicVarbound(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *var, SCIP_VAR *vbdvar, SCIP_Real vbdcoef, SCIP_Real lhs, SCIP_Real rhs)
Definition: cons_varbound.c:5079
Definition: struct_var.h:198
SCIP_EXPORT SCIP_RETCODE SCIPcreateConsVarbound(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_VAR *var, SCIP_VAR *vbdvar, SCIP_Real vbdcoef, SCIP_Real lhs, SCIP_Real rhs, 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_varbound.c:5009
type definitions for return codes for SCIP methods
SCIP_EXPORT SCIP_VAR * SCIPgetVbdvarVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5160
type definitions for LP management
SCIP_EXPORT SCIP_ROW * SCIPgetRowVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5252
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrVarbound(SCIP *scip)
Definition: cons_varbound.c:4942
SCIP_EXPORT SCIP_Real SCIPgetLhsVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5097
Definition: struct_cons.h:37
type definitions for SCIP's main datastructure
SCIP_EXPORT SCIP_Real SCIPgetRhsVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5118
type definitions for problem variables
Definition: struct_lp.h:192
SCIP_EXPORT SCIP_Real SCIPgetVbdcoefVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5181
SCIP_EXPORT SCIP_VAR * SCIPgetVarVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5139
common defines and data types used in all packages of SCIP
SCIP_EXPORT SCIP_Real SCIPgetDualsolVarbound(SCIP *scip, SCIP_CONS *cons)
Definition: cons_varbound.c:5202
Definition: objbenders.h:33
type definitions for constraints and constraint handlers