Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Matrix Struct Reference

Detailed Description

constraint matrix data structure in column and row major format

Definition at line 37 of file struct_matrix.h.

#include <struct_matrix.h>

Data Fields

SCIP_Realcolmatval
 
int * colmatind
 
int * colmatbeg
 
int * colmatcnt
 
int ncols
 
SCIP_Reallb
 
SCIP_Realub
 
int * nuplocks
 
int * ndownlocks
 
SCIP_VAR ** vars
 
SCIP_Realrowmatval
 
int * rowmatind
 
int * rowmatbeg
 
int * rowmatcnt
 
int nrows
 
SCIP_Reallhs
 
SCIP_Realrhs
 
SCIP_CONS ** cons
 
SCIP_Boolisrhsinfinite
 
int nnonzs
 
SCIP_Realminactivity
 
SCIP_Realmaxactivity
 
int * minactivityneginf
 
int * minactivityposinf
 
int * maxactivityneginf
 
int * maxactivityposinf
 

Field Documentation

SCIP_Real* SCIP_Matrix::colmatval

coefficients in column major format

Definition at line 39 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColValPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int* SCIP_Matrix::colmatind

row indexes in column major format

Definition at line 40 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColIdxPtr(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int* SCIP_Matrix::colmatbeg
int* SCIP_Matrix::colmatcnt

number of row entries per column

Definition at line 42 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetColNNonzs(), SCIPmatrixGetParallelRows(), and setColumnMajorFormat().

int SCIP_Matrix::ncols
SCIP_Real* SCIP_Matrix::lb

lower bound per variable

Definition at line 44 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColLb().

SCIP_Real* SCIP_Matrix::ub

upper bound per variable

Definition at line 45 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetColUb().

int* SCIP_Matrix::nuplocks

number of up locks per variable

Definition at line 46 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetColNUplocks(), and SCIPmatrixUplockConflict().

int* SCIP_Matrix::ndownlocks

number of down locks per variable

Definition at line 47 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), and SCIPmatrixGetColNDownlocks().

SCIP_Real* SCIP_Matrix::rowmatval
int* SCIP_Matrix::rowmatind
int* SCIP_Matrix::rowmatcnt
int SCIP_Matrix::nrows
SCIP_Real* SCIP_Matrix::lhs

left hand side per row

Definition at line 57 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowLhs(), and SCIPmatrixPrintRow().

SCIP_Real* SCIP_Matrix::rhs

right hand side per row

Definition at line 58 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetRowRhs(), and SCIPmatrixPrintRow().

SCIP_CONS** SCIP_Matrix::cons

constraints pointer

Definition at line 60 of file struct_matrix.h.

Referenced by SCIPmatrixCreate(), SCIPmatrixGetCons(), SCIPmatrixGetRowName(), and SCIPmatrixPrintRow().

SCIP_Bool* SCIP_Matrix::isrhsinfinite

is right hand side infinity

Definition at line 62 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), SCIPmatrixGetParallelCols(), and SCIPmatrixIsRowRhsInfinity().

int SCIP_Matrix::nnonzs

sparsity counter

Definition at line 63 of file struct_matrix.h.

Referenced by addRow(), SCIPmatrixCreate(), and SCIPmatrixGetNNonzs().

SCIP_Real* SCIP_Matrix::minactivity

min activity per row

Definition at line 64 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMinActivity().

SCIP_Real* SCIP_Matrix::maxactivity

max activity per row

Definition at line 65 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowMaxActivity().

int* SCIP_Matrix::minactivityneginf

min activity negative infinity counter

Definition at line 66 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActNegInf().

int* SCIP_Matrix::minactivityposinf

min activity positive infinity counter

Definition at line 67 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMinActPosInf().

int* SCIP_Matrix::maxactivityneginf

max activity negative infinity counter

Definition at line 68 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActNegInf().

int* SCIP_Matrix::maxactivityposinf

max activity positive infinity counter

Definition at line 69 of file struct_matrix.h.

Referenced by calcActivityBounds(), SCIPmatrixCreate(), and SCIPmatrixGetRowNMaxActPosInf().