Detailed Description
constraint matrix data structure in column and row major format
Definition at line 47 of file struct_matrix.h.
#include <struct_matrix.h>
Data Fields | |
SCIP_Real * | colmatval |
int * | colmatind |
int * | colmatbeg |
int * | colmatcnt |
int | ncols |
SCIP_Real * | lb |
SCIP_Real * | ub |
int * | nuplocks |
int * | ndownlocks |
SCIP_VAR ** | vars |
SCIP_Real * | rowmatval |
int * | rowmatind |
int * | rowmatbeg |
int * | rowmatcnt |
int | nrows |
SCIP_Real * | lhs |
SCIP_Real * | rhs |
SCIP_CONS ** | cons |
SCIP_Bool * | isrhsinfinite |
int | nnonzs |
SCIP_Real * | minactivity |
SCIP_Real * | maxactivity |
int * | minactivityneginf |
int * | minactivityposinf |
int * | maxactivityneginf |
int * | maxactivityposinf |
Field Documentation
◆ colmatval
SCIP_Real* SCIP_Matrix::colmatval |
coefficients in column major format
Definition at line 49 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), SCIPmatrixRemoveColumnBounds(), and setColumnMajorFormat().
◆ colmatind
int* SCIP_Matrix::colmatind |
row indexes in column major format
Definition at line 50 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetParallelRows(), SCIPmatrixRemoveColumnBounds(), and setColumnMajorFormat().
◆ colmatbeg
int* SCIP_Matrix::colmatbeg |
column storage offset
Definition at line 51 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), SCIPmatrixRemoveColumnBounds(), and setColumnMajorFormat().
◆ colmatcnt
int* SCIP_Matrix::colmatcnt |
number of row entries per column
Definition at line 52 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColNNonzs(), SCIPmatrixGetParallelRows(), SCIPmatrixRemoveColumnBounds(), and setColumnMajorFormat().
◆ ncols
int SCIP_Matrix::ncols |
complete number of columns
Definition at line 53 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetNColumns(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ lb
SCIP_Real* SCIP_Matrix::lb |
lower bound per variable
Definition at line 54 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetColLb(), and SCIPmatrixRemoveColumnBounds().
◆ ub
SCIP_Real* SCIP_Matrix::ub |
upper bound per variable
Definition at line 55 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetColUb(), and SCIPmatrixRemoveColumnBounds().
◆ nuplocks
int* SCIP_Matrix::nuplocks |
number of up locks per variable
Definition at line 56 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetColNUplocks(), and SCIPmatrixUplockConflict().
◆ ndownlocks
int* SCIP_Matrix::ndownlocks |
number of down locks per variable
Definition at line 57 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), and SCIPmatrixGetColNDownlocks().
◆ vars
SCIP_VAR** SCIP_Matrix::vars |
variables pointer
Definition at line 59 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), SCIPmatrixGetColName(), SCIPmatrixGetVar(), SCIPmatrixPrintRow(), and SCIPmatrixUplockConflict().
◆ rowmatval
SCIP_Real* SCIP_Matrix::rowmatval |
coefficients in row major format
Definition at line 61 of file struct_matrix.h.
Referenced by addRow(), calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetRowValPtr(), SCIPmatrixPrintRow(), and setColumnMajorFormat().
◆ rowmatind
int* SCIP_Matrix::rowmatind |
column indexed in row major format
Definition at line 62 of file struct_matrix.h.
Referenced by addRow(), calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetRowIdxPtr(), SCIPmatrixPrintRow(), and setColumnMajorFormat().
◆ rowmatbeg
int* SCIP_Matrix::rowmatbeg |
row storage offset
Definition at line 63 of file struct_matrix.h.
Referenced by addRow(), calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetRowIdxPtr(), SCIPmatrixGetRowValPtr(), SCIPmatrixPrintRow(), and setColumnMajorFormat().
◆ rowmatcnt
int* SCIP_Matrix::rowmatcnt |
number of column entries per row
Definition at line 64 of file struct_matrix.h.
Referenced by addRow(), calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), SCIPmatrixGetRowNNonzs(), SCIPmatrixPrintRow(), and setColumnMajorFormat().
◆ nrows
int SCIP_Matrix::nrows |
complete number of rows
Definition at line 66 of file struct_matrix.h.
Referenced by addRow(), calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetNRows(), SCIPmatrixGetParallelCols(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ lhs
SCIP_Real* SCIP_Matrix::lhs |
left hand side per row
Definition at line 67 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowLhs(), and SCIPmatrixPrintRow().
◆ rhs
SCIP_Real* SCIP_Matrix::rhs |
right hand side per row
Definition at line 68 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowRhs(), and SCIPmatrixPrintRow().
◆ cons
SCIP_CONS** SCIP_Matrix::cons |
constraints pointer
Definition at line 70 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetCons(), SCIPmatrixGetRowName(), and SCIPmatrixPrintRow().
◆ isrhsinfinite
SCIP_Bool* SCIP_Matrix::isrhsinfinite |
is right hand side infinity
Definition at line 72 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), and SCIPmatrixIsRowRhsInfinity().
◆ nnonzs
int SCIP_Matrix::nnonzs |
sparsity counter
Definition at line 73 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), and SCIPmatrixGetNNonzs().
◆ minactivity
SCIP_Real* SCIP_Matrix::minactivity |
min activity per row
Definition at line 74 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowMinActivity(), and SCIPmatrixRemoveColumnBounds().
◆ maxactivity
SCIP_Real* SCIP_Matrix::maxactivity |
max activity per row
Definition at line 75 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowMaxActivity(), and SCIPmatrixRemoveColumnBounds().
◆ minactivityneginf
int* SCIP_Matrix::minactivityneginf |
min activity negative infinity counter
Definition at line 76 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowNMinActNegInf(), and SCIPmatrixRemoveColumnBounds().
◆ minactivityposinf
int* SCIP_Matrix::minactivityposinf |
min activity positive infinity counter
Definition at line 77 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowNMinActPosInf(), and SCIPmatrixRemoveColumnBounds().
◆ maxactivityneginf
int* SCIP_Matrix::maxactivityneginf |
max activity negative infinity counter
Definition at line 78 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowNMaxActNegInf(), and SCIPmatrixRemoveColumnBounds().
◆ maxactivityposinf
int* SCIP_Matrix::maxactivityposinf |
max activity positive infinity counter
Definition at line 79 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), SCIPmatrixGetRowNMaxActPosInf(), and SCIPmatrixRemoveColumnBounds().