pub_misc_linear.h
Go to the documentation of this file.
31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
47/** returns the right-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
49 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
58/** returns the left-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
60 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
69/** returns the value array of an arbitrary SCIP constraint that can be represented as a single linear constraint
71 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
74 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
85/** returns the dual farkas solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
87 * @note The success pointer indicates if the individual contraint handler was able to return the dual farkas solution
94 SCIP_Bool* success /**< pointer to store whether the dual farkas solution is successfully returned */
97/** returns the dual solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
99 * @note The success pointer indicates if the individual contraint handler was able to return the dual solution
109/** returns the row of an arbitrary SCIP constraint that can be represented as a single linear constraint
119 * If the constraint is setppc or logicor the value is ignored. If the constraint is knapsack, then the value is
common defines and data types used in all packages of SCIP
Definition: objbenders.h:44
SCIP_Real SCIPconsGetLhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:112
void SCIPconsGetDualfarkas(SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualfarkas, SCIP_Bool *success)
Definition: misc_linear.c:301
SCIP_RETCODE SCIPconsAddCoef(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
Definition: misc_linear.c:456
SCIP_RETCODE SCIPgetConsVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int varssize, SCIP_Bool *success)
Definition: misc_linear.c:179
SCIP_Real SCIPconsGetRhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:48
void SCIPconsGetDualsol(SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualsol, SCIP_Bool *success)
Definition: misc_linear.c:357
Definition: struct_cons.h:47
Definition: struct_lp.h:202
Definition: struct_var.h:208
Definition: struct_scip.h:70
type definitions for constraints and constraint handlers
type definitions for LP management
type definitions for return codes for SCIP methods
type definitions for problem variables