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 exact the right-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
71 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
80/** returns the exact left-hand side of an arbitrary SCIP constraint that can be represented as a single linear constraint
82 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
91/** returns the value array of an arbitrary SCIP constraint that can be represented as a single linear constraint
93 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
96 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
103 int varssize, /**< available slots in vals array needed to check if the array is large enough */
107/** returns the exact value array of an arbitrary SCIP constraint that can be represented as a single linear constraint
109 * @return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref
112 * @note The success pointer indicates if the individual contraint handler was able to return the involved values
119 int varssize, /**< available slots in vals array needed to check if the array is large enough */
123/** returns the dual farkas solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
125 * @note The success pointer indicates if the individual contraint handler was able to return the dual farkas solution
132 SCIP_Bool* success /**< pointer to store whether the dual farkas solution is successfully returned */
135/** returns the dual solution of an arbitrary SCIP constraint that can be represented as a single linear constraint
137 * @note The success pointer indicates if the individual contraint handler was able to return the dual solution
147/** returns the row of an arbitrary SCIP constraint that can be represented as a single linear constraint
156/** creates and returns the row of an arbitrary SCIP constraint that can be represented as a single linear constraint */
165 * 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: multiprecision.hpp:66
SCIP_RATIONAL * SCIPconsGetRhsExact(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:176
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:438
SCIP_RETCODE SCIPgetConsValsExact(SCIP *scip, SCIP_CONS *cons, SCIP_RATIONAL **vals, int varssize, SCIP_Bool *success)
Definition: misc_linear.c:378
SCIP_RETCODE SCIPconsAddCoef(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
Definition: misc_linear.c:675
SCIP_RETCODE SCIPgetConsVals(SCIP *scip, SCIP_CONS *cons, SCIP_Real *vals, int varssize, SCIP_Bool *success)
Definition: misc_linear.c:253
SCIP_RATIONAL * SCIPconsGetLhsExact(SCIP *scip, SCIP_CONS *cons, SCIP_Bool *success)
Definition: misc_linear.c:213
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:494
SCIP_RETCODE SCIPconsCreateRow(SCIP *scip, SCIP_CONS *cons, SCIP_ROW **row)
Definition: misc_linear.c:599
Definition: struct_cons.h:47
Definition: struct_rational.h:47
Definition: struct_lp.h:205
Definition: struct_var.h:262
Definition: struct_scip.h:72
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