pub_lp.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 55 /** sorts column entries such that LP rows precede non-LP rows and inside both parts lower row indices precede higher ones 104 /** gets the basis status of a column in the LP solution; only valid for LPs with status SCIP_LPSOLSTAT_OPTIMAL 105 * and with SCIPisLPSolBasic(scip) == TRUE; returns SCIP_BASESTAT_ZERO for columns not in the current SCIP_LP 124 /** returns whether the associated variable is of integral type (binary, integer, implicit integer) */ 160 /** get number of nonzero entries in column vector, that correspond to rows currently in the SCIP_LP; 162 * @warning This method is only applicable on columns, that are completely linked to their rows (e.g. a column 163 * that is in the current LP and the LP was solved, or a column that was in a solved LP and didn't change afterwards 182 /** gets node number of the last node in current branch and bound run, where strong branching was used on the 204 /* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and 247 /** locks an unmodifiable row, which forbids further changes; has no effect on modifiable rows */ 253 /** unlocks a lock of an unmodifiable row; a row with no sealed lock may be modified; has no effect on modifiable rows */ 266 /** returns the degree of parallelism between the hyperplanes defined by the two row vectors v, w: 277 /** returns the degree of orthogonality between the hyperplanes defined by the two row vectors v, w: 288 /** sorts row entries such that LP columns precede non-LP columns and inside both parts lower column indices precede 302 /** get number of nonzero entries in row vector, that correspond to columns currently in the SCIP_LP; 304 * @warning This method is only applicable on rows, that are completely linked to their columns (e.g. a row 305 * that is in the current LP and the LP was solved, or a row that was in a solved LP and didn't change afterwards 366 /** gets the basis status of a row in the LP solution; only valid for LPs with status SCIP_LPSOLSTAT_OPTIMAL 367 * and with SCIPisLPSolBasic(scip) == TRUE; returns SCIP_BASESTAT_BASIC for rows not in the current SCIP_LP 398 /** returns TRUE iff the activity of the row (without the row's constant) is always integral in a feasible solution */ 485 /* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and 510 #define SCIProwGetOriginCons(row) ((SCIP_CONSHDLR*) ((SCIP_ROWORIGINTYPE) row->origintype == SCIP_ROWORIGINTYPE_CONS ? (row)->origin : NULL)) 511 #define SCIProwGetOriginSepa(row) ((SCIP_SEPA*) ((SCIP_ROWORIGINTYPE) row->origintype == SCIP_ROWORIGINTYPE_SEPA ? (row)->origin : NULL))
SCIP_CONSHDLR * SCIProwGetOriginCons(SCIP_ROW *row) SCIP_Bool SCIProwIsInGlobalCutpool(SCIP_ROW *row) type definitions for miscellaneous datastructures SCIP_Longint SCIProwGetNLPsAfterCreation(SCIP_ROW *row) SCIP_Real SCIProwGetLhs(SCIP_ROW *row) SCIP_COL ** SCIProwGetCols(SCIP_ROW *row) SCIP_DECL_SORTPTRCOMP(SCIProwComp) SCIP_Bool SCIPcolIsInLP(SCIP_COL *col) SCIP_SEPA * SCIProwGetOriginSepa(SCIP_ROW *row) int SCIProwGetNLPNonz(SCIP_ROW *row) SCIP_Real SCIPcolGetObj(SCIP_COL *col) int SCIProwGetIndex(SCIP_ROW *row) SCIP_BASESTAT SCIProwGetBasisStatus(SCIP_ROW *row) void SCIPcolSort(SCIP_COL *col) type definitions for global SCIP settings int SCIProwGetLPDepth(SCIP_ROW *row) SCIP_Real SCIProwGetConstant(SCIP_ROW *row) type definitions for problem statistics SCIP_Real SCIProwGetScalarProduct(SCIP_ROW *row1, SCIP_ROW *row2) type definitions for LP management SCIP_Real SCIPcolGetMaxPrimsol(SCIP_COL *col) int SCIPcolGetLPPos(SCIP_COL *col) SCIP_BASESTAT SCIPcolGetBasisStatus(SCIP_COL *col) void SCIProwUnlock(SCIP_ROW *row) SCIP_ROW ** SCIPcolGetRows(SCIP_COL *col) SCIP_Bool SCIProwIsModifiable(SCIP_ROW *row) SCIP_Bool SCIPcolIsIntegral(SCIP_COL *col) SCIP_Real SCIProwGetRhs(SCIP_ROW *row) SCIP_Real SCIProwGetParallelism(SCIP_ROW *row1, SCIP_ROW *row2, char orthofunc) SCIP_Real SCIPcolGetPrimsol(SCIP_COL *col) int SCIProwGetAge(SCIP_ROW *row) int SCIProwGetRank(SCIP_ROW *row) int SCIPcolGetNStrongbranchs(SCIP_COL *col) SCIP_Bool SCIProwIsInLP(SCIP_ROW *row) SCIP_Bool SCIProwIsLocal(SCIP_ROW *row) type definitions for specific LP solvers interface int SCIPcolGetNLPNonz(SCIP_COL *col) type definitions for problem variables const char * SCIProwGetName(SCIP_ROW *row) void SCIProwLock(SCIP_ROW *row) SCIP_Bool SCIPcolIsRemovable(SCIP_COL *col) SCIP_Real SCIPcolGetMinPrimsol(SCIP_COL *col) SCIP_Real SCIPcolGetBestBound(SCIP_COL *col) void SCIProwChgRank(SCIP_ROW *row, int rank) SCIP_Real SCIProwGetNorm(SCIP_ROW *row) SCIP_BOUNDTYPE SCIPboundtypeOpposite(SCIP_BOUNDTYPE boundtype) SCIP_Real SCIPcolGetLb(SCIP_COL *col) type definitions for storing primal CIP solutions SCIP_Real SCIProwGetOrthogonality(SCIP_ROW *row1, SCIP_ROW *row2, char orthofunc) SCIP_Real SCIProwGetDualsol(SCIP_ROW *row) SCIP_Longint SCIProwGetActiveLPCount(SCIP_ROW *row) type definitions for separators SCIP_Real * SCIProwGetVals(SCIP_ROW *row) SCIP_Longint SCIPcolGetStrongbranchNode(SCIP_COL *col) SCIP_Bool SCIProwIsIntegral(SCIP_ROW *row) void SCIProwSort(SCIP_ROW *row) SCIP_ROWORIGINTYPE SCIProwGetOrigintype(SCIP_ROW *row) int SCIProwGetLPPos(SCIP_ROW *row) SCIP_Real SCIPcolGetUb(SCIP_COL *col) int SCIProwGetNNonz(SCIP_ROW *row) common defines and data types used in all packages of SCIP SCIP_Real SCIProwGetDualfarkas(SCIP_ROW *row) SCIP_VAR * SCIPcolGetVar(SCIP_COL *col) SCIP_Real SCIProwGetSumNorm(SCIP_ROW *row) SCIP_Bool SCIProwIsRemovable(SCIP_ROW *row) SCIP_Real * SCIPcolGetVals(SCIP_COL *col) int SCIPcolGetNNonz(SCIP_COL *col) int SCIPcolGetIndex(SCIP_COL *col) int SCIPcolGetLPDepth(SCIP_COL *col) |