|
|
public methods for matrix
- Author
- Dieter Weninger
Definition in file pub_matrix.h.
Go to the source code of this file.
|
| SCIP_Real * | SCIPmatrixGetColValPtr (SCIP_MATRIX *matrix, int col) |
| |
| int * | SCIPmatrixGetColIdxPtr (SCIP_MATRIX *matrix, int col) |
| |
| int | SCIPmatrixGetColNNonzs (SCIP_MATRIX *matrix, int col) |
| |
| int | SCIPmatrixGetNColumns (SCIP_MATRIX *matrix) |
| |
| SCIP_Real | SCIPmatrixGetColUb (SCIP_MATRIX *matrix, int col) |
| |
| SCIP_Real | SCIPmatrixGetColLb (SCIP_MATRIX *matrix, int col) |
| |
| int | SCIPmatrixGetColNUplocks (SCIP_MATRIX *matrix, int col) |
| |
| int | SCIPmatrixGetColNDownlocks (SCIP_MATRIX *matrix, int col) |
| |
| SCIP_VAR * | SCIPmatrixGetVar (SCIP_MATRIX *matrix, int col) |
| |
| const char * | SCIPmatrixGetColName (SCIP_MATRIX *matrix, int col) |
| |
| SCIP_Real * | SCIPmatrixGetRowValPtr (SCIP_MATRIX *matrix, int row) |
| |
| int * | SCIPmatrixGetRowIdxPtr (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetRowNNonzs (SCIP_MATRIX *matrix, int row) |
| |
| const char * | SCIPmatrixGetRowName (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetNRows (SCIP_MATRIX *matrix) |
| |
| SCIP_Real | SCIPmatrixGetRowLhs (SCIP_MATRIX *matrix, int row) |
| |
| SCIP_Real | SCIPmatrixGetRowRhs (SCIP_MATRIX *matrix, int row) |
| |
| SCIP_Bool | SCIPmatrixIsRowRhsInfinity (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetNNonzs (SCIP_MATRIX *matrix) |
| |
| SCIP_Real | SCIPmatrixGetRowMinActivity (SCIP_MATRIX *matrix, int row) |
| |
| SCIP_Real | SCIPmatrixGetRowMaxActivity (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetRowNMinActNegInf (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetRowNMinActPosInf (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetRowNMaxActNegInf (SCIP_MATRIX *matrix, int row) |
| |
| int | SCIPmatrixGetRowNMaxActPosInf (SCIP_MATRIX *matrix, int row) |
| |
| SCIP_CONS * | SCIPmatrixGetCons (SCIP_MATRIX *matrix, int row) |
| |
| SCIP_Bool | SCIPmatrixUplockConflict (SCIP_MATRIX *matrix, int col) |
| |
| SCIP_Bool | SCIPmatrixDownlockConflict (SCIP_MATRIX *matrix, int col) |
| |
| SCIP_RETCODE | SCIPmatrixCreate (SCIP *scip, SCIP_MATRIX **matrixptr, SCIP_Bool *initialized, SCIP_Bool *complete) |
| |
| void | SCIPmatrixFree (SCIP *scip, SCIP_MATRIX **matrix) |
| |
| void | SCIPmatrixPrintRow (SCIP *scip, SCIP_MATRIX *matrix, int row) |
| |
| SCIP_RETCODE | SCIPmatrixGetParallelRows (SCIP *scip, SCIP_MATRIX *matrix, SCIP_Real *scale, int *pclass) |
| |
| SCIP_RETCODE | SCIPmatrixGetParallelCols (SCIP *scip, SCIP_MATRIX *matrix, SCIP_Real *scale, int *pclass, SCIP_Bool *varineq) |
| |
get column based start pointer of values
- Parameters
-
| matrix | matrix instance |
| col | column index |
| int* SCIPmatrixGetColIdxPtr |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
col |
|
) |
| |
get column based start pointer of row indices
- Parameters
-
| matrix | matrix instance |
| col | column index |
| int SCIPmatrixGetColNNonzs |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
col |
|
) |
| |
get the number of non-zero entries of this column
- Parameters
-
| matrix | matrix instance |
| col | column index |
get number of columns of the matrix
- Parameters
-
get upper bound of column
- Parameters
-
| matrix | matrix instance |
| col | column index |
get lower bound of column
- Parameters
-
| matrix | matrix instance |
| col | column index |
| int SCIPmatrixGetColNUplocks |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
col |
|
) |
| |
get number of uplocks of column
- Parameters
-
| matrix | matrix instance |
| col | column index |
| int SCIPmatrixGetColNDownlocks |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
col |
|
) |
| |
get number of downlocks of column
- Parameters
-
| matrix | matrix instance |
| col | column index |
get variable pointer of column
- Parameters
-
| matrix | matrix instance |
| col | column index |
| const char* SCIPmatrixGetColName |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
col |
|
) |
| |
get name of column/variable
- Parameters
-
| matrix | matrix instance |
| col | column index |
get row based start pointer of values
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int* SCIPmatrixGetRowIdxPtr |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get row based start pointer of column indices
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int SCIPmatrixGetRowNNonzs |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get number of non-zeros of this row
- Parameters
-
| matrix | matrix instance |
| row | row index |
| const char* SCIPmatrixGetRowName |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get name of row
- Parameters
-
| matrix | matrix instance |
| row | row index |
get number of rows of the matrix
- Parameters
-
get left-hand-side of row
- Parameters
-
| matrix | matrix instace |
| row | row index |
get right-hand-side of row
- Parameters
-
| matrix | matrix instance |
| row | row index |
flag indicating if right-hand-side of row is infinity
- Parameters
-
| matrix | matrix instance |
| row | row index |
get number of non-zeros of matrix
- Parameters
-
get minimal activity of row
- Parameters
-
| matrix | matrix instance |
| row | row index |
get maximal activity of row
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int SCIPmatrixGetRowNMinActNegInf |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get number of negative infinities present within minimal activity
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int SCIPmatrixGetRowNMinActPosInf |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get number of positive infinities present within minimal activity
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int SCIPmatrixGetRowNMaxActNegInf |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get number of negative infinities present within maximal activity
- Parameters
-
| matrix | matrix instance |
| row | row index |
| int SCIPmatrixGetRowNMaxActPosInf |
( |
SCIP_MATRIX * |
matrix, |
|
|
int |
row |
|
) |
| |
get number of positive infinities present within maximal activity
- Parameters
-
| matrix | matrix instance |
| row | row index |
get constraint pointer for constraint representing row
- Parameters
-
| matrix | matrix instance |
| row | row index |
get if conflicting uplocks of variable present
- Parameters
-
| matrix | matrix instance |
| col | column index |
get if conflicting downlocks of variable present
- Parameters
-
| matrix | matrix instance |
| col | column index |
initialize matrix
- Parameters
-
| scip | current scip instance |
| matrixptr | pointer to constraint matrix object to be initialized |
| initialized | was the initialization successful? |
| complete | are all constraint represented within the matrix? |
frees the constraint matrix
- Parameters
-
| scip | current SCIP instance |
| matrix | constraint matrix object |
print one row of the MIP matrix
- Parameters
-
| scip | current SCIP instance |
| matrix | constraint matrix object |
| row | row index |
detect parallel rows, rhs/lhs are ignored
- Parameters
-
| scip | current SCIP instance |
| matrix | matrix containing the constraints |
| scale | scale factors of rows |
| pclass | parallel row classes |
detect parallel rows, obj ignored
- Parameters
-
| scip | current SCIP instance |
| matrix | matrix containing the constraints |
| scale | scale factors of cols |
| pclass | parallel column classes |
| varineq | indicating if variable is within an equation |
|