pub_misc_linear.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
38 /** returns the right-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
40 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
49 /** returns the left-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
51 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
60 /** returns the value array of an arbitrary SCIP constraint that can be represented as a single linear constraint
62 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
65 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
76 /** returns the dual farkas solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
78 * @note The success pointer indicates if the individual contraint handler was able to return the dual farkas solution
85 SCIP_Bool* success /**< pointer to store whether the dual farkas solution is successfully returned */
88 /** returns the dual solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
90 * @note The success pointer indicates if the individual contraint handler was able to return the dual solution
100 /** returns the row of an arbitrary SCIP constraint that can be represented as a single linear constraint
110 * If the constraint is setppc or logicor the value is ignored. If the constraint is knapsack, then the value is
Definition: struct_scip.h:59
SCIP_Real SCIPconsGetRhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:39
Definition: struct_var.h:198
type definitions for return codes for SCIP methods
void SCIPconsGetDualsol(SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualsol, SCIP_Bool *success)
Definition: misc_linear.c:348
type definitions for LP management
SCIP_RETCODE SCIPconsAddCoef(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
Definition: misc_linear.c:447
Definition: struct_cons.h:37
type definitions for problem variables
void SCIPconsGetDualfarkas(SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualfarkas, SCIP_Bool *success)
Definition: misc_linear.c:292
SCIP_Real SCIPconsGetLhs(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:103
SCIP_RETCODE SCIPgetConsVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int varssize, SCIP_Bool *success)
Definition: misc_linear.c:170
Definition: struct_lp.h:192
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33
type definitions for constraints and constraint handlers