Detailed Description
constraint matrix data structure in column and row major format
Definition at line 38 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 40 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ colmatind
int* SCIP_Matrix::colmatind |
row indexes in column major format
Definition at line 41 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ colmatbeg
int* SCIP_Matrix::colmatbeg |
column storage offset
Definition at line 42 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ colmatcnt
int* SCIP_Matrix::colmatcnt |
number of row entries per column
Definition at line 43 of file struct_matrix.h.
Referenced by SCIPmatrixCreate(), SCIPmatrixGetColNNonzs(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().
◆ ncols
int SCIP_Matrix::ncols |
complete number of columns
Definition at line 44 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 45 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColLb().
◆ ub
SCIP_Real* SCIP_Matrix::ub |
upper bound per variable
Definition at line 46 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColUb().
◆ nuplocks
int* SCIP_Matrix::nuplocks |
number of up locks per variable
Definition at line 47 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 48 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), and SCIPmatrixGetColNDownlocks().
◆ vars
SCIP_VAR** SCIP_Matrix::vars |
variables pointer
Definition at line 50 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 52 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 53 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 54 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 55 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 57 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 58 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 59 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowRhs(), and SCIPmatrixPrintRow().
◆ cons
SCIP_CONS** SCIP_Matrix::cons |
constraints pointer
Definition at line 61 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 63 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), and SCIPmatrixIsRowRhsInfinity().
◆ nnonzs
int SCIP_Matrix::nnonzs |
sparsity counter
Definition at line 64 of file struct_matrix.h.
Referenced by addRow(), SCIPmatrixCreate(), and SCIPmatrixGetNNonzs().
◆ minactivity
SCIP_Real* SCIP_Matrix::minactivity |
min activity per row
Definition at line 65 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMinActivity().
◆ maxactivity
SCIP_Real* SCIP_Matrix::maxactivity |
max activity per row
Definition at line 66 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMaxActivity().
◆ minactivityneginf
int* SCIP_Matrix::minactivityneginf |
min activity negative infinity counter
Definition at line 67 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActNegInf().
◆ minactivityposinf
int* SCIP_Matrix::minactivityposinf |
min activity positive infinity counter
Definition at line 68 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActPosInf().
◆ maxactivityneginf
int* SCIP_Matrix::maxactivityneginf |
max activity negative infinity counter
Definition at line 69 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActNegInf().
◆ maxactivityposinf
int* SCIP_Matrix::maxactivityposinf |
max activity positive infinity counter
Definition at line 70 of file struct_matrix.h.
Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActPosInf().